diff --git a/stubs/networkx/networkx/readwrite/json_graph/node_link.pyi b/stubs/networkx/networkx/readwrite/json_graph/node_link.pyi index 19cd0e1ca5dc..f9c37db281b3 100644 --- a/stubs/networkx/networkx/readwrite/json_graph/node_link.pyi +++ b/stubs/networkx/networkx/readwrite/json_graph/node_link.pyi @@ -15,13 +15,13 @@ Use the `edges` keyword instead.""" def node_link_data( G: Graph[_Node], *, + link: str | None, source: str = "source", target: str = "target", name: str = "id", key: str = "key", edges: str | None = None, nodes: str = "nodes", - link: str | None = None, ): ... @overload def node_link_data(