This is the command botch-graph-neighborhood that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator
botch-graph-neighborhood - extract the neighborhood around a vertex
botch-graph-neighborhood [options] [ingraph] [outgraph] --center CENTER [CENTER ...]
Extract the neighborhood around a center vertex of a graph in GraphML or dot format.
The --center 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.
range of neighborhood to extract (Default: 1)
--center=CENTER [CENTER ...]
key:value pairs to match the center vertex
The special key "__ID__" allows one to select the unique vertex identifier.
Use botch-graph-neighborhood online using onworks.net services