gvgen
generates various types of graphs in DOT format
TLDR
Generate star graph
$ gvgen -S [5] > star.gv
Generate grid graph$ gvgen -g [3] [4] > grid.gv
Generate complete graph$ gvgen -K [6] > complete.gv
Generate tree$ gvgen -t [3] [4] > tree.gv
Generate random graph$ gvgen -R [10] [20] > random.gv
SYNOPSIS
gvgen [options]
DESCRIPTION
gvgen generates various types of graphs in DOT format. It creates standard graph structures useful for testing, visualization, and algorithms.
The tool supports stars, grids, trees, complete graphs, cycles, and random graphs. Output is in Graphviz format for visualization.
PARAMETERS
-S N
Star graph with N points.-g M N
M x N grid graph.-K N
Complete graph on N nodes.-t D B
Tree with depth D, branching B.-R N E
Random graph with N nodes, E edges.-c N
Cycle graph.-p N
Path graph.-o FILE
Output file.--help
Display help information.
CAVEATS
Part of Graphviz package. Random graphs vary each run. Large graphs may be slow to render.
HISTORY
gvgen was developed as part of the Graphviz project to provide sample graph generation for testing and demonstration.
