draw_matplotlib#

Draw a planar graph from a PlanarGraph object.

Functions

average_color(color1, color2)

draw(k[, draw_circles, with_labels, with_title])

Draw the planar diagram k using Matplotlib.

draw_from_layout(k, layout[, draw_circles, ...])

param k:

export_pdf(k, filename[, draw_circles, ...])

Draw the planar diagram(s) k using Matplotlib and save to pdf.

to_color(item)

Classes

Arrow(pointy_end, direction)

Class representing a graphical arrow