brew install uvbrew install graphvizbrew install gnuplot- Clone the repo
cdinto the top-level repo directorymake- Check out the Graphviz plots and Gnuplot histograms in the
gallerysubdirectory as well as the CSV files in thetestssubdirectory
ggenis part of a larger suite of programs for finding induced subgraphs with a prescribed edge count.- Among other things, ggen can generate three kinds of random graphs: "exponential" (Erdős–Rényi), "power" (scale-free) and "geometric" (in the plane, with no wrap-around).
- It is intended to be used in conjunction with
sub_searchand is a bit awkward to call directly. - Moreover, the native graph representation format used by
ggenandsub_search— effectively the adjacency lists corresponding to the upper-triangular portion of the adjacency matrix — is non-standard and does not lend itself to visualization or manipulation. - This standalone repo contains a copy of
ggen.cas well asggen.sh, a friendlier wrapper for a subset ofggen's functionality. Be sure tomake ggenbefore runningggen.sh. ggen.shoutputs graphs in the standard DOT format as well as optionally generating Graphviz plots and Gnuplot histograms.make create_gallerywill create a bunch of these.- There are also some additional scripts for producing CSV files suitable for validation, visualization and further processing.
make testto see them in action.
