Skip to content

Line graphs (migrated from Trac #152) #154

Closed

Description

@networkx-trac

Original ticket https://networkx.lanl.gov/trac/ticket/152
Reported 2008-03-26 by @drewconway, assigned to @hagberg.

I found it necessary to create line graph L(G) transformations (http://en.wikipedia.org/wiki/Line_graph) of graphs in NetworkX, so I wrote a short method for doing so. The method creates nodes in L based on the node labeling in G.

I am uploading it as a ticket for anyone who wishes to use it--enjoy

Activity

  1. networkx-trac commented on Jul 20, 2012

    @networkx-trac
    Author

    Attachment in Trac by @drewconway, 2008-03-26: linegraph.py

  2. networkx-trac commented on Jul 20, 2012

    @networkx-trac
    Author

    Comment in Trac by @hagberg, 2008-12-06

  3. networkx-trac commented on Jul 20, 2012

    @networkx-trac
    Author

    Comment in Trac by @hagberg, 2008-12-06

    (In [1075]) Add line graph code for Graph and DiGraph. Fixes #152

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions