Note

This documents the development version of NetworkX. Documentation for the current release can be found here.

networkx.drawing.nx_pylab.draw_planar

draw_planar(G, **kwargs)[source]

Draw a planar networkx graph with planar layout.

Parameters
Ggraph

A planar networkx graph

kwargsoptional keywords

See networkx.draw_networkx() for a description of optional keywords, with the exception of the pos parameter which is not used by this function.