Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

smyrna(1) [debian man page]

GC(1)							      General Commands Manual							     GC(1)

NAME
smyrna - interactive graph viewer SYNOPSIS
smyrna [ -v? ] [ file ] DESCRIPTION
smyrna is a viewer for graphs in the DOT format. It is especially designed to handle large graphs, and allows flat and topological fisheye views. It is assumed the input graph has position information associated with all nodes. Using the Graphviz convention, a node's position is given by its pos attribute consisting of 2 or 3 floating point numbers separated by commas. Nodes are drawn as points and edges as line segments. If smyrna detects that the file contains xdot attributes, it will use this information when drawing nodes and edges. smyrna supports panning and zooming; node and edge selection; setting and retrieving node and edge attributes, especially colors; and node movement. The Smyrna Settings dialogue box available under the Edit pull-down menu gives the user many choices for tailoring the graph view. These include whether or not nodes/edges are drawn; what labels are associated with nodes/edges; node size; transparency settings for nodes/edges; parameters associated with the topological fisheye view. For the purposes of exploratory data analysis, smyrna provides access to the gvpr library. This allows the user to arbitrarily query, fil- ter or manipulate a graph. When filtering or manipulating a graph, the user has the option of performing the changes directly on the input graph, or to create a new version with the changes. OPTIONS
The following options are supported: -v Verbose mode. -? Print usage information. By default, gc returns the number of nodes and edges. OPERANDS
The following operand is supported: file Name of file containing a graph in DOT format. If no file operand is specified, the user can employ the File pull-down menu to select a file to be opened. EXIT STATUS
The following exit values are returned: 0 Successful completion. 1 If no No appropriate OpenGL-capable visual found, or if the default attributes template graph file or the default attributes widget graph file could not be read. FILES
smyrna relies on numerous support files. These are usually installed in the "share/graphviz/smyrna" directory below the installation root. The principal files are: template.dot A file in DOT format specifying the default smyrna settings. In particular, these are used to initialize the settings of the Smyrna Settings dialogue box. mouse_actions.txt A text file specifying the mapping of concrete mouse and keyboard events with smyrna actions such as panning and selecting. attr_widgets.dot A file in DOT format specifying the bindings between GUI widgets and smyrna parameters. ENVIRONMENT VARIABLES
SMYRNA_PATH allows a user to override the built-in path to the directory containing all of smyrna's files described above. AUTHOR
Arif Bilgin <arif@research.att.com> Emden R. Gansner <erg@research.att.com> SEE ALSO
gvpr(1), dotty(1), libcgraph(3) "Smyrna Tutorial and Reference Manual" 9 December 2009 GC(1)

Check Out this Related Man Page

GVPACK(1)						      General Commands Manual							 GVPACK(1)

NAME
gvpack - merge and pack disjoint graphs SYNOPSIS
gvpack [ -nguv? ] [ -mmargin ] [ -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. -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.dot | dot | gvpack | neato -s -n2 -Tps This pipeline decomposes the graph in abc.dot 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 <erg@research.att.com> SEE ALSO
gvpr(1), dot(1), neato(1), twopi(1), ccomps(1), libpack(3) 8 April 2003 GVPACK(1)
Man Page