OS Manuals

/usr/bin/gvgen

Graph Visualization Tools

From graphviz 16.1.1-r0 (os), captured 2026-11-09 by running gvgen --help (exit 1). permalink

Unrecognized flag "--" - ignored
ill-formed integer "elp" in flag -h
Usage: /usr/bin/gvgen [-dv?] [options]
 -c<n>         : cycle
 -C<x,y>       : cylinder
 -g[f]<h,w>    : grid (folded if f is used)
 -G[f]<h,w>    : partial grid (folded if f is used)
 -h<x>         : hypercube
 -k<x>         : complete
 -b<x,y>       : complete bipartite
 -B<x,y>       : ball
 -i<n>         : generate <n> random
 -m<x>         : triangular mesh
 -M<x,y>       : x by y Moebius strip
 -n<prefix>    : use <prefix> in node names ("")
 -N<name>      : use <name> for the graph ("")
 -o<outfile>   : put output in <outfile> (stdout)
 -p<x>         : path
 -r<x>,<n>     : random graph
 -R<n>         : random rooted tree on <n> vertices
 -s<x>         : star
 -S<x>         : 2D sierpinski
 -S<x>,<d>     : <d>D sierpinski (<d> = 2,3)
 -t<x>         : binary tree
 -t<x>,<n>     : n-ary tree
 -T<x,y>       : torus
 -T<x,y,t1,t2> : twisted torus
 -u<seed>      : state for random number generation
 -w<x>         : wheel
 -d            : directed graph
 -v            : verbose mode
 -?            : print usage
Options (26)
OptionDescriptionSource
-c nGenerate a cycle with n vertices and edges.help + man
-C xGenerate an x by y cylinder.help + man
-g f]<h: grid (folded if f is used)help
-G f]<h: partial grid (folded if f is used)help
-h xGenerate a hypercube of degree n.help + man
-k xGenerate a complete graph on n vertices with n(n-1)/2 edges.help + man
-b xGenerate a complete x by y bipartite graph.help + man
-B xGenerate an x by y ball, i.e., an x by y cylinder with two "cap" nodes closing the ends.help + man
-i nGenerate n graphs of the requested type.help + man
-m xGenerate a triangular mesh with n vertices on a side.help + man
-M xGenerate an x by y Moebius strip.help + man
-n prefixNormally, integers are used as node names.help + man
-N nameUse name as the name of the graph.help + man
-o outfileIf specified, the generated graph is written into the file outfile.help + man
-p xGenerate a path on n vertices.help + man
-r xGenerate a random graph.help + man
-R nGenerate a random rooted tree on x vertices.help + man
-s xGenerate a star on n vertices.help + man
-S xGenerate a Sierpinski graph of order n.help + man
-t xGenerate a binary tree of height n.help + man
-T x: torushelp + man
-u seedSpecify the initial state for the random number generator.help + man
-w xGenerate a path on n vertices.help + man
-dMake the generated graph directed.help + man
-vVerbose output.help + man
-?Print usage information.help + man
Exit status (2) from the manual page
0successful completion
1given an ill-formed or incorrect flag

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.