List of all classes, functions and methods in python-igraph
class AbstractVertexDrawer(AbstractDrawer):
Known subclasses: igraph.drawing.vertex.AbstractCairoVertexDrawer
Abstract vertex drawer object from which all concrete vertex drawer implementations are derived.
Method | __init__ |
Constructs the vertex drawer and associates it to the given palette. |
Instance Variable | layout |
Undocumented |
Instance Variable | palette |
Undocumented |
Method | draw |
Draws the given vertex. |
igraph.drawing.vertex.AbstractCairoVertexDrawer
Constructs the vertex drawer and associates it to the given palette.
Parameters | palette | the palette that can be used to map integer color indices to colors when drawing vertices |
layout | the layout of the vertices in the graph being drawn |
igraph.drawing.vertex.DefaultVertexDrawer
Draws the given vertex.
Parameters | visual_vertex | object specifying the visual properties of the vertex. Its structure is defined by the VisualVertexBuilder of the DefaultGraphDrawer ; see its source code. |
vertex | the raw igraph vertex being drawn | |
coords | the X and Y coordinates of the vertex as specified by the layout algorithm, scaled into the bounding box. |