This documentation is for version 1.4.dev_20110115230102, which is not released yet.
Return a pygraphviz graph from a NetworkX graph N.
| Parameters : | N : NetworkX graph
|
|---|
Notes
If N has an dict N.graph_attr an attempt will be made first to copy properties attached to the graph (see from_agraph) and then updated with the calling arguments if any.
Examples
>>> K5=nx.complete_graph(5)
>>> A=nx.to_agraph(K5)