Extract Connected Subgraph
Returns a new pipeline containing the named node, all of its ancestors, and all of its descendants — the full connected component reachable from the node in either direction.
p (Pipeline): The
pipeline.
name (String): The name of the
target node.
A new pipeline with the full connected component.
p |> subgraph("model_r")