Note

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

networkx.generators.small.house_graph

house_graph(create_using=None)[source]

Returns the House graph (square with triangle on top).