Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

gvpack(1) [centos man page]

GVPACK(1)						      General Commands Manual							 GVPACK(1)

gvpack - merge and pack disjoint graphs SYNOPSIS
gvpack [ -nguv? ] [ -mmargin ] [ -array[_flags][n] ] [ -ooutfile ] [ -Gname=value ] [ files ] DESCRIPTION
gvpack 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 or neato, with no -T flag. 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 flag. OPTIONS
The following options are supported: -g Combines the graphs at the graph level. This uses more space, but prevents parts of one graph from occurring between parts of another. -array[_flags][n] Combines the graphs at the graph level, placing them in an array. By default, the layout is done in row-major order. The number of columns used is roughly the square root of the number of graphs. If the optional integer n is supplied, this indicates the number of columns to use. If optional flags are supplied, these consist of an underscore followed by any of the letters "c", "t", "b", "l", "r" or "u". If "c" is supplied, the graphs are packed in column-major order, in which case a final integer specifies the number of rows. The flags "t", "b", "l", "r" indicate that components are aligned along the top, bottom, left or right, respectively. The "u" flag indicates that the insertion order is based on the sortv attribute attached to each graph. -Gname=value Specifies attributes to be added to the resulting union graph. For example, this can be used to specify a graph label. -mmargin Packs the graphs allowing a margin of output points around the parts. -n Combines the graphs at the node level. Clusters are ignored in the packing. -ooutput Prints output to the file output. If not given, gvpack uses stdout. -u Don't pack the graphs. Just combine them into a single graph. -v Verbose mode. -? Prints usage information and exit. OPERANDS
The following operand is supported: files Names of files containing 1 or more graphs in dot format. If no files operand is specified, the standard input will be used. RETURN CODES
gvpack returns 0 if there were no problems, and non-zero otherwise. EXAMPLES
ccomps -x abc.gv | dot | gvpack | neato -s -n2 -Tps This pipeline decomposes the graph in abc.gv into its 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 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. Since gvpack ignores root graph labels, resulting layout may contain some extra space. gvpack unsets the bounding box attribute of all non-cluster subgraphs. AUTHORS
Emden R. Gansner <> SEE ALSO
gvpr(1), dot(1), neato(1), twopi(1), ccomps(1), libpack(3) 27 May 2010 GVPACK(1)

Check Out this Related Man Page

GRAPHVIZ(7)						 Miscellaneous Information Manual					       GRAPHVIZ(7)

graphviz - rich set of graph drawing tools SYNOPSIS
This manpage has been written to fulfil the need of a centralized documentation presenting all available tools in the graphviz package. AVAILABLE TOOLS
Graph layout programs dot filter for hierarchical layouts of graphs neato filter for symmetric layouts of graphs twopi filter for radial layouts of graphs circo filter for circular layout of graphs fdp filter for symmetric layouts of graphs All of the filters work with either directed or undirected graphs, though dot is typically used for directed graphs and neato for undi- rected graphs. Note also that neato -n[2] can be used to render layouts produced by the other filters. Graph drawing programs lefty A Programmable Graphics Editor lneato lefty + neato dotty lefty + dot Graph layout enhancement gvcolor flow colors through a ranked digraph unflatten adjust directed graphs to improve layout aspect ratio gvpack merge and pack disjoint graphs Graph information and transformation gc count graph components acyclic make directed graph acyclic nop pretty-print graph file ccomps connected components filter for graphs sccmap extract strongly connected components of directed graphs tred transitive reduction filter for directed graphs dijkstra single-source distance filter bcomps biconnected components filter for graphs gvpr graph pattern scanning and processing language prune prune directed graphs Other gxl2dot, dot2gxl GXL-DOT converters AUTHOR
This manual page was written by Cyril Brulebois <> in november 2006, based on an initial documentation effort by Joachim Berdal Haga <>. It can be distributed under the same terms as the graphviz package. November 19, 2006 GRAPHVIZ(7)
Man Page