| 1 |
.de TQ |
| 2 |
. br |
| 3 |
. ns |
| 4 |
. TP \\$1 |
| 5 |
.. |
| 6 |
.TH GVMAP.SH 1 "31 March 2011" |
| 7 |
.SH NAME |
| 8 |
gvmap.sh \- pipeline for running gvmap |
| 9 |
.SH SYNOPSIS |
| 10 |
.B gvmap.sh |
| 11 |
[\fB\-vV?\fP] |
| 12 |
[ |
| 13 |
.I options |
| 14 |
] |
| 15 |
[ |
| 16 |
.BI \-o |
| 17 |
.I outfile |
| 18 |
] |
| 19 |
[ |
| 20 |
.I files |
| 21 |
] |
| 22 |
.SH DESCRIPTION |
| 23 |
.B gvmap.sh |
| 24 |
takes as input a graph in DOT format, performs a layout, runs the output through |
| 25 |
gvmap and renders the output. At some point, it is hoped to integrate all of these |
| 26 |
tasks into gvmap. |
| 27 |
.SH OPTIONS |
| 28 |
The following options are supported: |
| 29 |
.TP |
| 30 |
.BI \-a " k" |
| 31 |
The integer k specifies the average number of artificial points added along |
| 32 |
the bounding box of the labels. Such artificial points are added to avoid |
| 33 |
a country boundary cutting through the boundary box of the labels. Computing |
| 34 |
time is proportional to k; hence, for large graphs, a small value of k is |
| 35 |
suggested. If k = -1, a suitable value of k is automatically selected based on |
| 36 |
the graph size. By default k = -1. |
| 37 |
.TP |
| 38 |
.BI \-K " layout" |
| 39 |
specifies which program should be use for the initial layout. By default, |
| 40 |
sfdp is run. Also by default, the layout is passed the flag \-Goverlap=prism. This can be |
| 41 |
overridden using a \-g flag. |
| 42 |
.TP |
| 43 |
.BI \-T " format" |
| 44 |
specifies the final output format. This works the same way as the \-T flag for any |
| 45 |
Graphviz layout program. |
| 46 |
.TP |
| 47 |
.BI \-N " attr=val" |
| 48 |
specifies the setting of a default node attribute during the rendering phase. This works the same way as |
| 49 |
the \-N flag for any Graphviz layout program. |
| 50 |
.TP |
| 51 |
.BI \-G " attr=val" |
| 52 |
specifies the setting of a graph attribute during the rendering phase. This works the same way as |
| 53 |
the \-G flag for any Graphviz layout program. |
| 54 |
.TP |
| 55 |
.BI \-E " attr=val" |
| 56 |
specifies the setting of a default edge attribute during the rendering phase. This works the same way as |
| 57 |
the \-E flag for any Graphviz layout program. |
| 58 |
.TP |
| 59 |
.BI \-n " attr=val" |
| 60 |
specifies the setting of a default node attribute during the layout phase. This works the same way as |
| 61 |
the \-N flag for any Graphviz layout program. |
| 62 |
.TP |
| 63 |
.BI \-g " attr=val" |
| 64 |
specifies the setting of a graph attribute during the layout phase. This works the same way as |
| 65 |
the \-G flag for any Graphviz layout program. |
| 66 |
.TP |
| 67 |
.BI \-e " attr=val" |
| 68 |
specifies the setting of a default edge attribute during the layout phase. This works the same way as |
| 69 |
the \-E flag for any Graphviz layout program. |
| 70 |
.TP |
| 71 |
.BI \-A " flag" |
| 72 |
specifies a flag to be passed to gvmap. For example, gvmap.sh \-Ae \-As3 causes gvmap \-e \-s3 to be run. |
| 73 |
.TP |
| 74 |
.BI \-v |
| 75 |
Set verbose mode. |
| 76 |
.TP |
| 77 |
.BI \-V |
| 78 |
Print version information and exit. |
| 79 |
.TP |
| 80 |
.BI \-? |
| 81 |
Print usage information and exit. |
| 82 |
|
| 83 |
.SH EXAMPLES |
| 84 |
.PP |
| 85 |
The following invocation |
| 86 |
creates a map with edges in semi-transparent light gray and nodes laid |
| 87 |
out using sfdp: |
| 88 |
.PP |
| 89 |
gvmap.sh \-Ae \-Ecolor=#55555522 \-Tpng foo.gv > foo.png |
| 90 |
.PP |
| 91 |
It is equivalent to running the pipeline |
| 92 |
.PP |
| 93 |
sfdp \-Goverlap=prism foo.gv | gvmap \-e | neato \-n2 \-Ecolor=#55555522 \-Tpng > foo.png |
| 94 |
|
| 95 |
.SH AUTHOR |
| 96 |
Emden R. Gansner <[email protected]> |
| 97 |
.SH "SEE ALSO" |
| 98 |
.PP |
| 99 |
gvmap(1), sfdp(1), neato(1), gvpr(1) |
| 100 |
.PP |
| 101 |
E. R. Gansner, Y. Hu, S. G. Kobourov, "GMap: Visualizing graphs and clusters as maps," Proc. Pacific Vis. 2010, pp. 201\(hy208. |