>
> > EXAMPLE:
> > sage: G =DiGraph({1:{2: 1}, 2:{1:1}})
> > sage: G.show()
> > sage:DiGraph(G.laplacian_matrix()).show()
>
> > 1. The first call to show draws the graph with an edge missing.
>
> This seems like a bug.
>It is a bug, basically caused by the fact that a digraph can have two separate paths between a pair of vertices without being a multiple edged graph. So I've been working on 2 possible fixes and am about to post the alternative (second) fix to http://trac.sagemath.org/sage_trac/ticket/5620 I'll put pictures up as well. Feel free to weigh in on the review process if you have a preference. Note: I think the first solution looks a little more intuitive but the way I did it might be computationally expensive for large directed graphs, because it uses the to_undirected as a preliminary test. -e --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---
