python-igraph API reference

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

class documentation

class DrawerDirectory:

View In Hierarchy

Static class that finds the object/backend drawer

This directory is used by the __plot__ functions.

Class Method resolve Given a shape name, returns the corresponding shape drawer class
Class Variable known_drawers Undocumented
Class Variable valid_backends Undocumented
Class Variable valid_objects Undocumented
@classmethod
def resolve(cls, obj, backend):

Given a shape name, returns the corresponding shape drawer class

Parameters
clsthe class to resolve
objan instance of the object to plot
backendthe name of the backend
Returns
the corresponding shape drawer class
Raises
ValueErrorif no drawer is available for this backend/object
known_drawers =

Undocumented

valid_backends: tuple[str, ...] =

Undocumented

valid_objects: tuple[str, ...] =

Undocumented