python-igraph API reference

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

class documentation

class CircleDrawer(ShapeDrawer):

View In Hierarchy

Static class which draws circular vertices

Static Method draw_path Draws a circular path on the Cairo context without stroking or filling it.
Static Method intersection_point Determines where the circle centered at (center_x, center_y) intersects with a line drawn from (source_x, source_y) to (center_x, center_y).
Class Variable names Undocumented
@staticmethod
def draw_path(ctx, center_x, center_y, width, height=None):

Draws a circular path on the Cairo context without stroking or filling it.

Height is ignored, it is the width that determines the diameter of the circle.

See Also
ShapeDrawer.draw_path
@staticmethod
def intersection_point(center_x, center_y, source_x, source_y, width, height=None):

Determines where the circle centered at (center_x, center_y) intersects with a line drawn from (source_x, source_y) to (center_x, center_y).

See Also
ShapeDrawer.intersection_point
names: str =

Undocumented