Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How can I add arbitrary text to a Graph object

I have created a Graph image such as shown below

image description

using the commands:

D = Graph(E)
D.show(pos=posd,**GPopt)

I would like to add text or a legend (explaining the colors) to the graph, but I have not found a way to add additional text to the Graph object. Suggestions welcome.