Is there a simple way to define a method that adds labels to the vertices of a graph or digraph? I would like to have something like
G.show(labels = ['a', 'b', 'c']) when G is a graph with vertices [0,1,2]. Apparently, this is possible for graphs defined as dictionaries, but not for graphs defined from adjacency matrices. Thank you! Giovanni --~--~---------~--~----~------------~-------~--~----~ 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-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---
