macOS / binaries /

prune

/usr/local/bin/prune
Prune directed graphs

prune reads directed graphs in the same format used by dot and removes subgraphs rooted at nodes specified on the command line via options.