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
networkx-trac commentedon Jul 20, 2012
Attachment in Trac by @drewconway, 2008-03-26: linegraph.py
networkx-trac commentedon Jul 20, 2012
Comment in Trac by @hagberg, 2008-12-06
networkx-trac commentedon Jul 20, 2012
Comment in Trac by @hagberg, 2008-12-06
(In [1075]) Add line graph code for Graph and DiGraph. Fixes #152