python-igraph API 参考

python-igraph 中所有类、函数和方法的列表

类文档

绘制圆形顶点的静态类

静态方法 draw_path 在 Cairo 上下文中绘制圆形路径,不进行描边或填充。
静态方法 intersection_point 确定以 (center_x, center_y) 为中心的圆与从 (source_x, source_y) 到 (center_x, center_y) 绘制的线的交点。
类变量 names 未归档
@staticmethod
def draw_path(ctx, center_x, center_y, width, height=None):

在 Cairo 上下文中绘制圆形路径,不进行描边或填充。

忽略高度,宽度决定了圆的直径。

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

确定以 (center_x, center_y) 为中心的圆与从 (source_x, source_y) 到 (center_x, center_y) 绘制的线的交点。

参见
ShapeDrawer.intersection_point
names: str =

未归档