pysaucy2.examples

Module contents

Some example graphs or graph generators.

pysaucy2.examples.butterfly()

The butterfly graph which consists of 5 nodes and 6 edges: Two complete graphs with 3 nodes are merged by sharing one of the nodes each.

Returns:Butterfly graph
pysaucy2.examples.complete(n)

Create an undirected complete graph of n nodes.

Parameters:n – Number of nodes
Returns:A complete graph
pysaucy2.examples.karate()

The Zachary karate network (n=34, m=78) with \(\left|Aut(G)\right| = 480\)

Returns:Karate graph