nocad.annotation.component_levels# nocad.annotation.component_levels(adj)[source]# Longest-path levels of the strongly connected components. Returns: control_level, observation_levelndarray of int, one value per nodeNumber of components on the longest chain from a source component to the node’s component, and from it to a sink component (0 on sources and sinks). Examples >>> component_levels([[0, 1, 0], [0, 0, 1], [0, 0, 0]]) (array([0, 1, 2]), array([2, 1, 0]))