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