python-igraph API reference

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

class documentation

class PlotlyVerticesDrawer(AbstractVertexDrawer):

View In Hierarchy

Plotly backend-specific vertex drawer.

Method __init__ Constructs the vertex drawer and associates it to the given palette.
Instance Variable fig Undocumented
Instance Variable VisualVertexBuilder Undocumented
Method draw Draws the given vertex.
Method draw_label Undocumented
Method _construct_visual_vertex_builder Undocumented

Inherited from AbstractVertexDrawer:

Instance Variable layout Undocumented
Instance Variable palette Undocumented
def __init__(self, fig, palette, layout):

Constructs the vertex drawer and associates it to the given palette.

ParametersfigUndocumented
palettethe palette that can be used to map integer color indices to colors when drawing vertices
layoutthe layout of the vertices in the graph being drawn
fig =

Undocumented

VisualVertexBuilder =

Undocumented

def _construct_visual_vertex_builder(self):

Undocumented

def draw(self, visual_vertex, vertex, point):

Draws the given vertex.

Parametersvisual_vertexobject specifying the visual properties of the vertex. Its structure is defined by the VisualVertexBuilder of the CairoGraphDrawer; see its source code.
vertexthe raw igraph vertex being drawn
pointUndocumented
coordsthe X and Y coordinates of the vertex as specified by the layout algorithm, scaled into the bounding box.
def draw_label(self, visual_vertex, point, **kwds):

Undocumented

API Documentation for python-igraph, generated by pydoctor 21.2.2 at 2021-10-18 16:23:19.