1SPRINGGRAPH(1) General Commands Manual SPRINGGRAPH(1)
2
3
4
6 springgraph - renders a graph from a .dot file
7
9 springgraph [OPTIONS] < input-file.dot > output-file.png
10
12 Springgraph will read in a .dot file description of a graph, which, for
13 each node, specifies its name and which other nodes it is connected to,
14 and then renders a graph. The output is a PNG file. Each node is drawn
15 as an ellipse, and each connection is drawn as an arrow. The node
16 placement is a result of all of the nodes moving away from each other,
17 while all nodes which are connected move toward each other. This move‐
18 ment is repeated until it stabilizes.
19
20 Springgraph was written as an alternative to neato, which is part of
21 graphviz. It attempts to read the same .dot files used by graphviz, but
22 currently only supports a limited number of node attributes (label and
23 fillcolor) and can only handle two nodes per edge definition ("node1 ->
24 node2", not "node1 -> node2 -> node3").
25
27 springgraph accepts the following options:
28
29 -p Create a file that can be rendered with POV-Ray
30
31 -v create a VRML file
32
33 -s this option specifies the scale. All of the node loca‐
34 tions are multiplied by this. Increase the scale to
35 eliminate node overlaps. Decrease the scale to make the
36 graph smaller.
37
38 -t make the background of the resulting image transparent.
39
40 -b set background color of image, specify it in the form
41 RRGGBB, in hex digits, e.g. FFFFFF is white, 000000 is
42 black, FF0000 is red, ...
43
44 -l set the line color, same format as the background color
45
46 -h display usage synopsis
47
49 digraph {
50 "rene" -> "myon";
51 "mvo" -> "rene";
52 }
53
55 neato(1) sig2dot(1) http://www.graphviz.org/Documentation.php
56 http://www.graphviz.org/cvs/doc/info/lang.html
57
59 This manual page was written by Kevin M. Rosenberg <kmr@debian.org>,
60 for the Debian GNU/Linux system (but may be used by others).
61
62
63
64 September 5, 2005 SPRINGGRAPH(1)