graphscope.nx.generators.small.house_x_graph

graphscope.nx.generators.small.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_using (NetworkX graph constructor, optional (default=nx.Graph)) – Graph type to create. If graph instance, then cleared before populated.

Returns:

G – House graph with diagonal vertices connected

Return type:

networkx Graph

References