Warning

This documents an unmaintained version of NetworkX. Please upgrade to a maintained version and see the current NetworkX documentation.

draw_graphviz

draw_graphviz(G, prog='neato', **kwargs)[source]

Draw networkx graph with graphviz layout.

Parameters:

G : graph

A networkx graph

prog : string, optional

Name of Graphviz layout program

**kwargs : optional keywords

See networkx.draw_networkx() for a description of optional keywords.