python-igraph API reference

List of all classes, functions and methods in python-igraph

module documentation

Shape drawing classes for igraph

Vertex shapes in igraph are usually referred to by short names like "rect" or "circle". This module contains the classes that implement the actual drawing routines for these shapes, and a resolver class that determines the appropriate shape drawer class given the short name.

Classes that are derived from ShapeDrawer in this module are automatically registered by ShapeDrawerDirectory. If you implement a custom shape drawer, you must register it in ShapeDrawerDirectory manually if you wish to refer to it by a name in the shape attribute of vertices.

Class ​Circle​Drawer Static class which draws circular vertices
Class ​Diamond​Drawer Static class which draws diamonds (i.e. rhombuses)
Class ​Down​Triangle​Drawer Static class which draws triangles pointing down
Class ​Null​Drawer Static drawer class which draws nothing.
Class ​Polygon​Drawer Class that is used to draw polygons.
Class ​Rectangle​Drawer Static class which draws rectangular vertices
Class ​Shape​Drawer Static class, the ancestor of all vertex shape drawer classes.
Class ​Shape​Drawer​Directory Static class that resolves shape names to their corresponding shape drawer classes.
Class ​Up​Triangle​Drawer Static class which draws upright triangles