File: dot.rst

package info (click to toggle)
networkx 3.4.2-4
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 11,700 kB
  • sloc: python: 105,310; xml: 544; makefile: 131; javascript: 120; sh: 34
file content (18 lines) | stat: -rw-r--r-- 573 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
DOT 
===

The `DOT graph description language <https://graphviz.org/doc/info/lang.html>`__
defines a file format that is most often used in the context of graph
visualization with `Graphviz <https://graphviz.org>`__.
NetworkX provides an interface to Graphviz via :doc:`pygraphviz <pygraphviz:index>`,
implemented in `~networkx.drawing.nx_agraph`.
If ``pygraphviz`` is installed, `~networkx.drawing.nx_agraph` can be used to
read and write files in DOT format.

pygraphviz
----------
.. currentmodule:: networkx.drawing.nx_agraph
.. autosummary::

   read_dot
   write_dot