networkx.generators.small.house_graph

house_graph(create_using=None)[source]

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