![]() |
![]()
| ![]() |
![]()
NAMEgvpack - merge and pack disjoint graphs SYNOPSISgvpack [ -nguv? ] [ -mmargin ] [ -arrayopts ] [ -ooutfile ] [ -sgraph_name ] [ -Gname=value ] [ files ] DESCRIPTIONgvpack 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. OPTIONSThe following options are supported:
OPERANDSThe following operand is supported:
RETURN CODESgvpack returns 0 if there were no problems, and non‐zero otherwise. EXAMPLESccomps -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. BUGSAll 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. AUTHORSEmden R. Gansner <erg@research.att.com> SEE ALSOgvpr(1), dot(1), neato(1), twopi(1), ccomps(1), libpack(3)
|