botch-graph-descendants(1) find all descendants of a vertex in a graph in GraphML or dot format


botch-graph-descendants [options] [ingraph] [outgraph] --source SOURCE [SOURCE ...]


Extract the subgraph of all descendants of a specific node in the input graph.

The --source option is mandatory. Since it can take more than one argument, it has to come after the positional arguments.

If either (or both) of the positional arguments is/are omitted, then read GraphML or dot from standard input and/or write GraphML or dot to standard output, respectively. Passing a '-' as either argument, explicitly specifies to read the input from standard input and write the output to standard output, respectively.

The input graph type will be determined automatically. If the output graph is given as a filename, then the output type will be GraphML if the filename ends with .xml and dot if the filename ends with .dot. If the output is done on standard output then it will happen in the same format as the input graph.


-h, --help
Display help.
--source=SOURCE [SOURCE ...]
key:value pairs to match the source vertex

The special key "__ID__" allows one to select the unique vertex identifier.

-v, --verbose
Be verbose.


Extract the subgraph of all descendants of a binary packages vertex with name ``build-essential'' and version ``11.7''.

  botch-graph-descendants --source name:build-essential version:11.7 type:bin < in.xml > out.xml

or giving input and output as positional arguments:

  botch-graph-descendants in.xml out.xml --source name:build-essential version:11.7 type:bin


This man page was written by Johannes Schauer. Botch is written by Johannes Schauer and Pietro Abate.


Copyright 2012-2014 Johannes Schauer, Pietro Abate

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. A special linking exception to the GNU Lesser General Public License applies to this library, see the COPYING file for more information.