Framework database

This is a module for providing common types of frameworks.

pyrigi.frameworkDB.Complete(n, d=2)[source]

Return d-dimensional framework of the complete graph on n vertices.

Todo

Describe the generated realization.

Parameters:
Return type:

Framework

pyrigi.frameworkDB.CompleteBipartite(m, n, realization=None)[source]

Return a complete bipartite framework on m+n vertices in the plane.

Parameters:
  • realization (str | None) – If "dixonI", a realization with one part on the x-axis and the other on the y-axis is returned. Otherwise (default), a “general” realization is returned.

  • m (int)

  • n (int)

Return type:

Framework

Todo

Implement realization in higher dimensions.

pyrigi.frameworkDB.Cycle(n, d=2)[source]

Return d-dimensional framework of the n-cycle.

Parameters:
Return type:

Framework

pyrigi.frameworkDB.Diamond()[source]

Framework of the diamond with square realization in the plane

Return type:

Framework

pyrigi.frameworkDB.K33plusEdge()[source]

Return a framework of the complete bipartite graph on 3+3 vertices plus an edge.

Return type:

Framework

pyrigi.frameworkDB.Path(n, d=2)[source]

Return d-dimensional framework of the path graph on n vertices.

Parameters:
Return type:

Framework

pyrigi.frameworkDB.Square()[source]

Framework of the 4-cycle with square realization in the plane

Return type:

Framework

pyrigi.frameworkDB.ThreePrism(realization=None)[source]

Return 3-prism framework.

Parameters:

realization (str | None) – If "parallel", a realization with the three edges that are not in any 3-cycle being parallel is returned. If "flexible", a continuously flexible realization is returned. Otherwise (default), a general realization is returned.

Return type:

Framework

pyrigi.frameworkDB.ThreePrismPlusEdge()[source]

Return a framework of the 3-prism graph with one extra edge.

Return type:

Framework