graph_tool.collection.diamond_graph#

graph_tool.collection.diamond_graph()[source]#

Returns the Diamond graph

Returns:
gGraph

Diamond Graph with 4 nodes and 5 edges

Notes

The Diamond Graph is planar undirected graph with 4 nodes and 5 edges. It is also sometimes known as the double triangle graph or kite graph [diamond].

References