Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

gvmap.sh(1) [centos man page]

GVMAP.SH(1)						      General Commands Manual						       GVMAP.SH(1)

NAME
gvmap.sh - pipeline for running gvmap SYNOPSIS
gvmap.sh [-vV?] [ options ] [ -o outfile ] [ files ] DESCRIPTION
gvmap.sh takes as input a graph in DOT format, performs a layout, runs the output through gvmap and renders the output. At some point, it is hoped to integrate all of these tasks into gvmap. OPTIONS
The following options are supported: -a k The integer k specifies the average number of artificial points added along the bounding box of the labels. Such artificial points are added to avoid a country boundary cutting through the boundary box of the labels. Computing time is proportional to k; hence, for large graphs, a small value of k is suggested. If k = -1, a suitable value of k is automatically selected based on the graph size. By default k = -1. -K layout specifies which program should be use for the initial layout. By default, sfdp is run. Also by default, the layout is passed the flag -Goverlap=prism. This can be overridden using a -g flag. -T format specifies the final output format. This works the same way as the -T flag for any Graphviz layout program. -N attr=val specifies the setting of a default node attribute during the rendering phase. This works the same way as the -N flag for any Graphviz layout program. -G attr=val specifies the setting of a graph attribute during the rendering phase. This works the same way as the -G flag for any Graphviz lay- out program. -E attr=val specifies the setting of a default edge attribute during the rendering phase. This works the same way as the -E flag for any Graphviz layout program. -n attr=val specifies the setting of a default node attribute during the layout phase. This works the same way as the -N flag for any Graphviz layout program. -g attr=val specifies the setting of a graph attribute during the layout phase. This works the same way as the -G flag for any Graphviz layout program. -e attr=val specifies the setting of a default edge attribute during the layout phase. This works the same way as the -E flag for any Graphviz layout program. -A flag specifies a flag to be passed to gvmap. For example, gvmap.sh -Ae -As3 causes gvmap -e -s3 to be run. -v Set verbose mode. -V Print version information and exit. -? Print usage information and exit. EXAMPLES
The following invocation creates a map with edges in semi-transparent light gray and nodes laid out using sfdp: gvmap.sh -Ae -Ecolor=#55555522 -Tpng foo.gv > foo.png It is equivalent to running the pipeline sfdp -Goverlap=prism foo.gv | gvmap -e | neato -n2 -Ecolor=#55555522 -Tpng > foo.png AUTHOR
Emden R. Gansner <erg@research.att.com> SEE ALSO
gvmap(1), sfdp(1), neato(1), gvpr(1) E. R. Gansner, Y. Hu, S. G. Kobourov, "GMap: Visualizing graphs and clusters as maps," Proc. Pacific Vis. 2010, pp. 201-208. 31 March 2011 GVMAP.SH(1)

Check Out this Related Man Page

LIBGVC(3)						     Library Functions Manual							 LIBGVC(3)

NAME
libgvc - Graphviz context library SYNOPSIS
#include <graphviz/gvc.h> /* set up a graphviz context */ extern GVC_t *gvNEWcontext(char **info, char *user); extern char *gvUsername(void); /* set up a graphviz context - alternative */ /* (wraps the above two functions using info built into libgvc) */ extern GVC_t *gvContext(void); /* parse command line args - minimally argv[0] sets layout engine */ extern int gvParseArgs(GVC_t *gvc, int argc, char **argv); extern graph_t *gvNextInputGraph(GVC_t *gvc); /* Compute a layout using a specified engine */ extern int gvLayout(GVC_t *gvc, graph_t *g, char *engine); /* Compute a layout using layout engine from command line args */ extern int gvLayoutJobs(GVC_t *gvc, graph_t *g); /* Render layout into string attributes of the graph */ extern void attach_attrs(graph_t *g); /* Parse an html string */ extern char *agstrdup_html(char *s); extern int aghtmlstr(char *s); /* Render layout in a specified format to an open FILE */ extern int gvRender(GVC_t *gvc, graph_t *g, char *format, FILE *out); /* Render layout in a specified format to an open FILE */ extern int gvRenderFilename(GVC_t *gvc, graph_t *g, char *format, char *filename); /* Render layout according to -T and -o options found by gvParseArgs */ extern int gvRenderJobs(GVC_t *gvc, graph_t *g); /* Clean up layout data structures - layouts are not nestable (yet) */ extern int gvFreeLayout(GVC_t *gvc, graph_t *g); /* Clean up graphviz context */ extern int gvFreeContext(GVC_t *gvc); DESCRIPTION
libgvc provides a context for applications wishing to manipulate and render graphs. It provides a command line parsing, common rendering code, and a plugin mechanism for renderers. SEE ALSO
dot(1), neato(1), libcdt(3) libgraph(3) AUTHOR
John Ellson (ellson@research.att.com), AT&T LIBGVC(3)
Man Page