But then there is the problem of needing distinct names for the
vertices of the line graph. Thus, line_graph doesn't handle multiple
edges correctly either.
Dave
--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to
sage-devel+u
Solution?:
The beginning of the code for line_graph:
if self._directed:
G=DiGraph()
G.add_vertices(self.edges(labels=labels))
for v in self:
# Connect appropriate incident edges of the vertex v
G.add_edges([(e,f) for e in