Closed zdk123 closed 6 years ago
@zdk123 will be fixed in the next release in a couple of days, thanks for the report
Poked around a bit more and of course the error is actually related to not having any node attributes.
The following construction seems to work:
G = pgv.AGraph({'a':'', 'b':'c', 'c':''}, directed=True)
for n in ['a','b','c']:
G.get_node(n).attr['shape']='record'
@zdk123 please try the 0.0.3 release and let me know how that looks. The next release will address the odd edge shape.
Fixes complete in 0.0.4
Thanks for this tool... and very timely for me.
Your SmileyFace example is working fine, but simple graphs seem to fail. For example, the PyGraphics quick example:
gives:
thanks!