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.