topology#

Functions

bridges(k)

Return the set of bridges in the planar diagram.

edges(k, **endpoint_attributes)

Return a list of ordered edges/strands of a knotted graph or a knot, or link.

is_bridge(k, arc_or_endpoint)

Determine whether the given arc or endpoint is a bridge in the planar diagram.

is_empty_diagram(k)

is_kink(k, endpoint)

Determines whether an endpoint forms a kink in the planar diagram.

is_knot(k)

Determines whether the given planar diagram represents a knot.

is_knotoid(k)

Is the diagram a (multi) knotoid?

is_leaf(k, node)

Is the node a leaf?

is_linkoid(k)

Is the diagram a multi-linkoid?

is_loop(k, arc_or_endpoint)

Determine whether the given arc or endpoint forms a loop in the planar diagram.

is_planar_graph(k)

Determines whether the given planar diagram represents a planar graph.

is_unknot(k)

kink_region_iterator(k[, of_node])

An iterator (generator) over regions of kinks/loops.

kinks(k[, crossing])

Returns the set of kinks in the planar diagram.

leafs(k)

Returns the leafs of a planar diagram.

loops(k)

Returns a set of arcs that form loops in the planar diagram.