def draw_dag(cls, path, data_keys):
# pylint: disable=protected-access
dag = cls._dag.draw(path, data_keys, root_node_key='generate',
reverse=True)
if not nx.is_directed_acyclic_graph(dag):
print("Warning! The graph is not acyclic!")
评论列表
文章目录