class documentation
class PlotlyVerticesDrawer(AbstractVertexDrawer):
Plotly backend-specific vertex drawer.
Method | __init__ |
Constructs the vertex drawer and associates it to the given palette. |
Method | draw |
Draws the given vertex. |
Method | draw |
Undocumented |
Instance Variable | fig |
Undocumented |
Instance Variable |
|
Undocumented |
Method | _construct |
Undocumented |
Inherited from AbstractVertexDrawer
:
Instance Variable | layout |
Undocumented |
Instance Variable | palette |
Undocumented |
Constructs the vertex drawer and associates it to the given palette.
Parameters | |
fig | Undocumented |
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 |
Draws the given vertex.
Parameters | |
visual | object specifying the visual properties of the vertex. Its structure is defined by the VisualVertexBuilder of the CairoGraphDrawer ; see its source code. |
vertex | the raw igraph vertex being drawn |
point | Undocumented |
coords | the X and Y coordinates of the vertex as specified by the layout algorithm, scaled into the bounding box. |