@@ -71,7 +71,7 @@ class _DrawNetworkxKwds(TypedDict, Generic[_Node], total=False):
71
71
edgecolors : Literal ["face" , "none" ] | ColorType | Collection [ColorType ] | Collection [float ] | None
72
72
margins : float | tuple [float , float ] | None
73
73
# draw edges keywords; keep in sync with draw_networkx_edges
74
- edgelist : Incomplete
74
+ edgelist : Collection [ _Node | Hashable ] | None # (u, v, k) for multigraphs and (u, v) for simple graphs
75
75
width : float | Collection [float ]
76
76
edge_color : ColorType | Collection [ColorType ]
77
77
style : str | Collection [str ]
@@ -153,7 +153,7 @@ def draw_networkx(
153
153
ax : Axes | None = None ,
154
154
** kwds : Unpack [_DrawNetworkxKwds [_Node ]],
155
155
) -> None : ...
156
- def draw_networkx_nodes (
156
+ def draw_networkx_nodes ( # keep in sync with _DrawNetworkxKwds above
157
157
G : Graph [_Node ],
158
158
pos : Mapping [_Node , Collection [float ]],
159
159
nodelist : Collection [_Node ] | None = None ,
@@ -172,7 +172,7 @@ def draw_networkx_nodes(
172
172
hide_ticks : bool = True ,
173
173
) -> PathCollection : ...
174
174
@overload # arrows=None -> LineCollection if G is undirected, list[FancyArrowPatch] if G is directed
175
- def draw_networkx_edges (
175
+ def draw_networkx_edges ( # keep in sync with _DrawNetworkxKwds above
176
176
G : Graph [_Node ],
177
177
pos : Mapping [_Node , Collection [float ]],
178
178
edgelist : Collection [_Node | Hashable ] | None = None , # (u, v, k) for multigraphs and (u, v) for simple graphs
@@ -268,7 +268,7 @@ def draw_networkx_edges(
268
268
node_shape : str = "o" ,
269
269
hide_ticks : bool = True ,
270
270
) -> LineCollection : ...
271
- def draw_networkx_labels (
271
+ def draw_networkx_labels ( # keep in sync with _DrawNetworkxKwds above
272
272
G : Graph [_Node ],
273
273
pos : Mapping [_Node , Collection [float ]],
274
274
labels : Mapping [_Node , object ] | None = None , # labels are explicitly converted to str
0 commit comments