house_x_graph#
- house_x_graph(create_using=None)[source]#
Returns the House graph with a cross inside the house square.
The House X-graph is the House graph plus the two edges connecting diagonally opposite vertices of the square base. It is also one of the two graphs obtained by removing two edges from the pentatope graph [1].
- Parameters:
- create_usingNetworkX graph constructor, optional (default=nx.Graph)
Graph type to create. If graph instance, then cleared before populated.
- Returns:
- Gnetworkx Graph
House graph with diagonal vertices connected
References