PyGraphviz: Difference between revisions
(Created page with "http://networkx.lanl.gov/pygraphviz/ <source lang="python"> import pygraphviz as pgv g = pgv.AGraph() g.add_node(nn, label=label.encode("utf-8"), shape="box", URL=rdfnode(row['...") |
No edit summary |
||
Line 10: | Line 10: | ||
</source> | </source> | ||
[[Category: | See [[Graphviz]] | ||
[[Category: Cookbook]] [[Category: Python]] |
Revision as of 11:03, 31 October 2011
http://networkx.lanl.gov/pygraphviz/
import pygraphviz as pgv
g = pgv.AGraph()
g.add_node(nn, label=label.encode("utf-8"), shape="box", URL=rdfnode(row['doc']))
g.add_edge(nn, onn)
g.draw(path="output.svg", format="svg", prog="fdp")
See Graphviz