pub fn snap_aggregation(graph: &Graph, node_attributes: &[String]) -> GraphExpand 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.