It might be helpful to know where in GraphPlot the layout engine is chosen, and which one corresponds to which picture. I think I understand that it depends on GraphPlot._arcs and GraphPlot._arcdigraph. However, I cannot find out why the first graph D gets pinkish vertices, and the second graph is all black, for example.
Martin Am Montag, 26. Juni 2017 08:47:24 UTC+2 schrieb Martin R: > > I am not sure whether this is a bug, in any case I'd need a workaround. > Consider (with dot2tex installed) > > D = DiGraph([(0, 1, 0), (1, 2, 0), (2, 3, 0), (2, 4, 0)], > multiedges=True); D.plot(layout="acyclic") > E = DiGraph([(0, 1, 0), (1, 2, 0), (2, 3, 0), (2, 4, 0), (2, 4, 1)], > multiedges=True); E.plot(layout="acyclic") > > In the first case, I get a reasonably nice looking, graded graph, whereas > in the second case, the picture looks very different, and most importantly, > the multiedges are not visible. > > Note that D in fact does not have multiple edges. > I gather that because of this, GraphPlot decides to handle plotting > differently, but the result is not really good. > > Thanks for any help! > > Martin > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.