The graph to search in.
The node to find the component for.
Optional parameters for customizing the search behavior.
Optional
neighborThe strategy to use when traversing neighboring nodes.
Returns nodes that are in the same subgraph component as the given node.
Generated using TypeDoc
Retrieves the component of a given node in a graph using breadth-first search. Returns nodes that are in the same subgraph component as the given node.