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

GVCOLOR(1)						      General Commands Manual							GVCOLOR(1)

NAME
gvcolor - flow colors through a ranked digraph ( previously known as colorize ) SYNOPSIS
gvcolor [ files ] USAGE
dot file.dot | gvcolor | dot -T<format> DESCRIPTION
gvcolor is a filter that sets node colors from initial seed values. Colors flow along edges from tail to head, and are averaged (as HSB vectors) at nodes. The graph must already have been processed by dot. Appropriate choice of initial colors yields drawings in which node colors help to emphasize logical relationships between nodes, even when they are spread far apart in the layout. Initial colors must be set externally, using the color attribute of a node. It is often effective to assign colors to a few key source or sink nodes, manually setting their colors by editing the graph file. Color names are as in dot(1): symbolic names or RGB triples. It is best to choose some easily-distinguished but related colors; not necessarily spaced evenly around the color wheel. For example, blue_green, green, and light_yellow looks better than red, green, blue. Certain graph attributes control the gvcolor algorithm. flow=back reverses the flow of colors from heads to tails. saturation=.1,.9 (or any two numbers between 0 and 1) adjusts the color saturation linearly from least to greatest rank. If Defcolor is set, this color value is applied to any node not otherwise colored. EXIT STATUS
The following exit values are returned: 0 Successful completion. 1 If nodes of the graph do not possess a ``pos'' attribute. BUGS
It would be nice to make the program work without relying on an initial pass through dot. AUTHORS
Stephen C. North <north@research.att.com> Emden R. Gansner <erg@research.att.com> SEE ALSO
gc(1), dot(1), gvpr(1), ccomps(1), sccmap(1), tred(1), libgraph(3) 21 March 2001 GVCOLOR(1)
Man Page