Skip to content

Commit 2ae0cd0

Browse files
Add missing parameter to snap_aggregation docstring (networkx#6978)
* Update summarization.py * Minor fixup. --------- Co-authored-by: Ross Barnowski <[email protected]>
1 parent 16d91e8 commit 2ae0cd0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

networkx/algorithms/summarization.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -449,6 +449,9 @@ def snap_aggregation(
449449
----------
450450
G: graph
451451
Networkx Graph to be summarized
452+
node_attributes: iterable, required
453+
An iterable of the node attributes used to group nodes in the summarization process. Nodes
454+
with the same values for these attributes will be grouped together in the summary graph.
452455
edge_attributes: iterable, optional
453456
An iterable of the edge attributes considered in the summarization process. If provided, unique
454457
combinations of the attribute values found in the graph are used to

0 commit comments

Comments
 (0)