in_components#

in_components(graph)#

In components – Finding the “in-component” of a node in a directed graph involves identifying all nodes that can be reached following only incoming edges.

Parameters:

graph (GraphView) – Raphtory graph

Returns:

Mapping of nodes to the nodes in their ‘in-component’

Return type:

NodeStateNodes