subgraph

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.

Parameters

Returns

A new pipeline with the full connected component.

Examples

p |> subgraph("model_r")

See Also

downstream_of, upstream_of