Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

springgraph(1) [debian man page]

SPRINGGRAPH(1)						      General Commands Manual						    SPRINGGRAPH(1)

NAME
springgraph - renders a graph from a .dot file SYNOPSIS
springgraph [OPTIONS] < input-file.dot > output-file.png DESCRIPTION
Springgraph will read in a .dot file description of a graph, which, for each node, specifies its name and which other nodes it is connected to, and then renders a graph. The output is a PNG file. Each node is drawn as an ellipse, and each connection is drawn as an arrow. The node placement is a result of all of the nodes moving away from each other, while all nodes which are connected move toward each other. This movement is repeated until it stabilizes. Springgraph was written as an alternative to neato, which is part of graphviz. It attempts to read the same .dot files used by graphviz, but currently only supports a limited number of node attributes (label and fillcolor) and can only handle two nodes per edge definition ("node1 -> node2", not "node1 -> node2 -> node3"). OPTIONS
springgraph accepts the following options: -p Create a file that can be rendered with POV-Ray -v create a VRML file -s this option specifies the scale. All of the node locations are multiplied by this. Increase the scale to eliminate node overlaps. Decrease the scale to make the graph smaller. -t make the background of the resulting image transparent. -b set background color of image, specify it in the form RRGGBB, in hex digits, e.g. FFFFFF is white, 000000 is black, FF0000 is red, ... -l set the line color, same format as the background color -h display usage synopsis EXAMPLE
digraph { "rene" -> "myon"; "mvo" -> "rene"; } SEE ALSO
neato(1) sig2dot(1) http://www.graphviz.org/Documentation.php http://www.graphviz.org/cvs/doc/info/lang.html AUTHOR
This manual page was written by Kevin M. Rosenberg <kmr@debian.org>, for the Debian GNU/Linux system (but may be used by others). September 5, 2005 SPRINGGRAPH(1)

Check Out this Related 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)
Man Page