diff --git a/stubs/networkx/networkx/classes/graph.pyi b/stubs/networkx/networkx/classes/graph.pyi index c0743d193..ea92cb7e3 100644 --- a/stubs/networkx/networkx/classes/graph.pyi +++ b/stubs/networkx/networkx/classes/graph.pyi @@ -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: ...