mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-31 08:52:05 +08:00
Add graph attribute to networkx.Graph (#12505)
This commit is contained in:
1 parent
a919d8dfe3
commit
0b6f15c2ff
1 file changed
+2
@@ -34,6 +34,8 @@ class Graph(Collection[_Node]):
|
||||
edge_attr_dict_factory: ClassVar[_MapFactory] = ...
|
||||
graph_attr_dict_factory: ClassVar[_MapFactory] = ...
|
||||
|
||||
graph: dict[str, Any]
|
||||
|
||||
def to_directed_class(self) -> type[DiGraph[_Node]]: ...
|
||||
def to_undirected_class(self) -> type[Graph[_Node]]: ...
|
||||
def __init__(self, incoming_graph_data: _Data[_Node] | None = None, **attr) -> None: ...
|
||||
|
||||
Reference in new issue
Block a user