structure#

Functions

articulation_nodes(k)

Return a list of articulation nodes or cut vertices.

bridges(k)

Return a set of bridges of k.

cut_edges(k)

cut_vertices(k)

edges(k, **endpoint_attributes)

Return a list of (ordered) edges/strands of the diagram.

kink_region_iterator(k[, of_node])

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

kinks(k)

Return a set of loops of k.

loops(k)

Return a set of loops of k.

number_of_edges(k)

Return the number of strands of the diagram.

parallel_arcs(k)

Return a set of tuples, each tuple consists of arcs that are parallel.

path_from_endpoint(k, endpoint)

Return the path (edge/strand or part of an edge/strand) starting from the endpoint.