Finding Connected Subgraphs

I've created some directed graphs and I want to pull out sections that are connected.

In particular I would like to tug on the rightmost node and have everything that points into it come with it, and everything that points into those all the way down.

I would like to leave behind all the nodes that do not point towards this one.

Does anyone know of a simple way to do this?

Cheers.

Duplicate

Duplicate of http://www.graphviz.org/content/selecting-connected-sections-graphs

Recent comments