How can I control the edge width and arrowsize in a DiGraph?
I find the edges and arrowsize to be thicker than I want for inter-
node edges and too thin and missing the arrowhead for loops on one
node.
E.g.,
import random
c = []
for row in range(0,3):
c.append([])
for column in range(0,3):
c[row].append(random.random())
print c
print Matrix(c)
DiGraph(matrix(c),weighted=True).plot(arrowsize=.2,width=.
5,edge_labels=True).show(figsize=[5,5])
Any ideas?
Thanks
Andrew
--
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
URL: http://www.sagemath.org