Provided by: graphviz_2.26.3-10ubuntu1_amd64

**NAME**

gvpack - merge and pack disjoint graphs

**SYNOPSIS**

gvpack[-nguv?] [-mmargin] [-ooutfile] [-Gname=value] [files]

**DESCRIPTION**

gvpackreads 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 asdotorneato, with no-Tflag. 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 ofgvpackcan be used to produce concrete output by applyingneato-s-n2with the desired-Tflag.

**OPTIONS**

The following options are supported:-gCombines the graphs at the graph level. This uses more space, but prevents parts of one graph from occurring between parts of another.-Gname=valueSpecifies attributes to be added to the resulting union graph. For example, this can be used to specify a graph label.-mmarginPacks the graphs allowing a margin ofoutputpoints around the parts.-nCombines the graphs at the node level. Clusters are ignored in the packing.-ooutputPrints output to the fileoutput. If not given,gvpackuses stdout.-uDon't pack the graphs. Just combine them into a single graph.-vVerbose mode.-?Prints usage information and exit.

**OPERANDS**

The following operand is supported:filesNames of files containing 1 or more graphs in dot format. If nofilesoperand is specified, the standard input will be used.

**RETURN** **CODES**

gvpackreturns0if there were no problems, and non‐zero otherwise.

**EXAMPLES**

ccomps -x abc.dot | dot | gvpack | neato -s -n2 -Tps This pipeline decomposes the graph inabc.dotinto its connected components, lays out each usingdot, 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 each component.

**BUGS**

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. Sincegvpackignores root graph labels, resulting layout may contain some extra space.gvpackunsets the bounding box attribute of all non‐cluster subgraphs.

**AUTHORS**

Emden R. Gansner <erg@research.att.com>

**SEE** **ALSO**

gvpr(1), dot(1), neato(1), twopi(1), ccomps(1), libpack(3) 8 April 2003 GVPACK(1)