python-igraph API reference

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

module documentation

Utility classes for drawing routines.
Class ​Bounding​Box Class representing a bounding box (a rectangular area) that encloses some objects.
Class ​Fake​Module Fake module that raises an exception for everything
Class ​Point Class representing a point on the 2D plane.
Class ​Rectangle Class representing a rectangle.
Function evaluate​_cubic​_bezier​_curve Evaluates the Bezier curve from point (x0,y0) to (x3,y3) via control points (x1,y1) and (x2,y2) with parameter t.
Function find​_cairo Tries to import the cairo Python module if it is installed, also trying cairocffi (a drop-in replacement of cairo). Returns a fake module if everything fails.
Function find​_matplotlib Tries to import the matplotlib Python module if it is installed. Returns a fake module if everything fails.
Function get​_bezier​_control​_points​_for​_curved​_edge Helper function that calculates the Bezier control points for a curved edge that goes from (x1, y1) to (x2, y2).
def evaluate_cubic_bezier_curve(x0, y0, x1, y1, x2, y2, x3, y3, t):
Evaluates the Bezier curve from point (x0,y0) to (x3,y3) via control points (x1,y1) and (x2,y2) with parameter t.
def find_cairo():
Tries to import the cairo Python module if it is installed, also trying cairocffi (a drop-in replacement of cairo). Returns a fake module if everything fails.
def find_matplotlib():
Tries to import the matplotlib Python module if it is installed. Returns a fake module if everything fails.
def get_bezier_control_points_for_curved_edge(x1, y1, x2, y2, curvature):
Helper function that calculates the Bezier control points for a curved edge that goes from (x1, y1) to (x2, y2).