mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 12:44:28 +08:00
add networkx.topological_generations (#11927)
This commit is contained in:
@@ -11,6 +11,8 @@ def ancestors(G: Graph[_Node], source: _Node) -> set[_Node]: ...
|
||||
@_dispatch
|
||||
def is_directed_acyclic_graph(G: Graph[_Node]) -> bool: ...
|
||||
@_dispatch
|
||||
def topological_generations(G: Graph[_Node]) -> Generator[list[_Node], None, None]: ...
|
||||
@_dispatch
|
||||
def topological_sort(G: Graph[_Node]) -> Generator[_Node, None, None]: ...
|
||||
@_dispatch
|
||||
def lexicographical_topological_sort(
|
||||
|
||||
Reference in New Issue
Block a user