K-Neighborhood Filter module

Description

A filter used to extract the k-neighborhood around one root node(s). The k-neighborhood is defined as the subgraph induced by the set of vertices that are k or fewer hops (unweighted shortest-path distance) away from the root node.

Method parameters

root Node
Node used as a root for extracting the k-neighborhood.
Radius
The neighborhood radius around the root set.