Skip to main content

snap_aggregation

Function snap_aggregation 

Source
pub fn snap_aggregation(graph: &Graph, node_attributes: &[String]) -> Graph
Expand description

SNAP (Summarization by grouping Nodes on Attributes and Pairs) aggregation.

Groups nodes by attribute values and neighbor-group signatures, iteratively refining until stable. Returns a summary graph where each node represents a group of original nodes.