crossing_join#

crossing_join(a, b, arcs)#

Join two diagrams by a cut crossing (twisted connected sum).

Parameters:
Returns:

A new diagram with a new crossing that joins the two inputs along the chosen arcs.

Raises:

TypeError – If a and b are not of the same diagram type.

Return type:

PlanarDiagram | OrientedPlanarDiagram