On Wed, Nov 24, 2010 at 2:20 PM, Minh Nguyen <nguyenmi...@gmail.com> wrote:
> But I can't figure out how to get G.show() to display the edge weights. > You can just call G.show(edge_labels=True), which displays the vertex names (by default) and the edge labels. Of course, the layout is whatever the spring embedder gives you (which doesn't take into account sizes of labels) so things might be hard to read. As a just-figuring-out-what's-going-on tool, it's great, but for inclusion in a paper, you probably want to manually set the vertex positions, or directly create the graph drawing with matplotlib/graphviz/etc. Best wishes, Stephen -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org