This documents an unmaintained version of NetworkX. Please upgrade to a maintained version and see the current NetworkX documentation.
Return the Margulis-Gabber-Galil undirected MultiGraph on nodes.
The undirected MultiGraph is regular with degree . Nodes are integer pairs. The second-largest eigenvalue of the adjacency matrix of the graph is at most , regardless of .
G – The constructed undirected multigraph.
NetworkXError– If the graph is directed or not a multigraph.