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

module documentation

Utility classes for drawing routines.

Class | `BoundingBox` |
Class representing a bounding box (a rectangular area) that encloses some objects. |

Class | `FakeModule` |
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.