python-igraph API 参考

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

类文档

控制台 shell 的 Mixin 类,支持进度条。

方法 __init__ 未归档
类方法 _progress_handler 进度条处理程序,当igraph报告操作进度时调用
类方法 _status_handler 状态消息处理程序,当igraph发送要显示的状态消息时调用。
方法 _disable_handlers 如果终端能力不足,则禁用状态和进度处理程序。
@classmethod
def _progress_handler(cls, message, percentage):

进度条处理程序,当igraph报告操作进度时调用

参数
message由 提供消息igraph
percentage由 提供百分比igraph
@classmethod
def _status_handler(cls, message):

状态消息处理程序,当igraph发送要显示的状态消息时调用。

参数
message由 提供消息igraph
def _disable_handlers(self):

如果终端能力不足,则禁用状态和进度处理程序。