Интерактивная система просмотра системных руководств (man-ов)
>> gvpack (1) ( Linux man: Команды и прикладные программы пользовательского уровня )
gvpack - merge and pack disjoint graphs
reads in a stream of graphs, combines the graphs into a single
layout, and produces a single graph serving as the union of the
input graphs. The input graphs must be in dot format, and must have
all necessary layout information. Acceptable input is produced
by applying a Graphviz layout program, such as dot
with no -T
By default, the packing is done at the cluster level. Thus, parts of
one graph will not intrude into any top-level clusters or overlap
any nodes or edges of another.
The output of gvpack
can be used to produce concrete output
by applying neato -s -n2
with the desired -T
The following options are supported:
Combines the graphs at the graph level. This uses more space, but prevents
parts of one graph from occurring between parts of another.
Specifies attributes to be added to the resulting union graph. For
example, this can be used to specify a graph label.
Packs the graphs allowing a margin of output points around
Combines the graphs at the node level. Clusters are ignored in the packing.
Prints output to the file output. If not given, gvpack
Don't pack the graphs. Just combine them into a single graph.
Prints usage information and exit.
The following operand is supported:
Names of files containing 1 or more graphs in dot format.
operand is specified,
the standard input will be used.
if there were no problems, and non-zero otherwise.
ccomps -x abc.dot | dot | gvpack | neato -s -n2 -Tps
This pipeline decomposes the graph in abc.dot
connected components, lays out each using dot
, packs them all together
again, and produces the final drawing in PostScript. Of course,
there is nothing to prevent one from using different layouts for
All the input graphs must be directed or undirected.
An input graph should not have a label, since this will be used in its
layout. Since gvpack
ignores root graph labels, resulting layout
may contain some extra space.
unsets the bounding box attribute of all non-cluster
Emden R. Gansner <email@example.com
- RETURN CODES
- SEE ALSO