class documentation
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. |
Method | draw |
Draws the given vertex. |
Instance Variable | layout |
Undocumented |
Instance Variable | palette |
Undocumented |
overridden in
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 |
overridden in
igraph.drawing.vertex.DefaultVertexDrawer
Draws the given vertex.
Parameters | |
visual | 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. |