rustworkx.PyDiGraph.nodes#

PyDiGraph.nodes()#

返回所有节点数据的列表。

Returns:

图中所有节点数据对象的列表

Return type:

列表[S]