简单路径#

all_simple_paths(G, source, target[, cutoff])

生成图G中从源到目标的所有简单路径。

all_simple_edge_paths(G, source, target[, ...])

为从源到目标的所有简单路径生成边列表。

is_simple_path(G, nodes)

如果且仅当 nodesG .

shortest_simple_paths(G, source, target[, ...])

生成图G中从源到目标的所有简单路径,