- class discopy.drawing.legacy.Backend(linewidth=1)#
Abstract drawing backend.
- draw_text(text, i, j, **params)#
Draws a piece of text at a given position.
- draw_node(i, j, **params)#
Draws a node for a given position, color and shape.
- draw_polygon(*points, color='white')#
Draws a polygon given a list of points.
- draw_wire(source, target, bend_out=False, bend_in=False, style=None)#
Draws a wire from source to target, possibly with a Bezier.
- draw_spiders(graph, positions, draw_box_labels=True, **params)#
Draws a list of boxes depicted as spiders.
- abstract output(path=None, show=True, **params)#
Output the drawing.