Skip to content

Commit

Permalink
Add graph attribute to networkx.Graph
Browse files Browse the repository at this point in the history
  • Loading branch information
gmacon committed Aug 9, 2024
1 parent e9b3b03 commit 82b2666
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions stubs/networkx/networkx/classes/graph.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ class Graph(Collection[_Node]):

adj: AdjacencyView[_Node, _Node, dict[str, Incomplete]]
name: str
graph: dict[str, Any]

def __getitem__(self, n: _Node) -> AtlasView[_Node, _Node, dict[str, Incomplete]]: ...
def __iter__(self) -> Iterator[_Node]: ...
Expand Down

0 comments on commit 82b2666

Please sign in to comment.