NetworkX
latest
Overview
Download
Installing
Tutorial
Reference
Introduction
Graph types
Algorithms
Functions
Graph generators
Linear algebra
Converting to and from other data formats
Relabeling nodes
Reading and writing graphs
Drawing
Matplotlib
Graphviz AGraph (dot)
Graphviz AGraph
from_agraph
to_agraph
write_dot
read_dot
graphviz_layout
pygraphviz_layout
Graphviz with pydot
Graph Layout
Exceptions
Utilities
License
Citing
Credits
Glossary
Reference
Overview
Introduction
Graph types
Algorithms
Functions
Graph generators
Linear algebra
Converting to and from other data formats
Reading and writing graphs
Drawing
Matplotlib
Graphviz AGraph (dot)
Graphviz with pydot
Graph Layout
Exceptions
Utilities
License
Citing
Credits
Glossary
Testing
Developer Guide
History
Bibliography
NetworkX Examples
NetworkX
Docs
»
Reference
»
Drawing
»
write_dot
Edit on GitHub
write_dot
¶
write_dot
(
G
,
path
)
[source]
¶
Write NetworkX graph G to Graphviz dot format on path.
Parameters:
G
(
graph
) – A networkx graph
path
(
filename
) – Filename or file handle to write
Read the Docs
v: latest
Versions
latest
stable
Downloads
pdf
htmlzip
epub
On Read the Docs
Project Home
Builds
Free document hosting provided by
Read the Docs
.