AWK script to construct the free product of graphs
AWK script to construct the free product of graphs
To run, send an integer to the script:
echo 5 | awk -f freeprod.awk
Copy and paste the output into http://viz-js.com/ (setting the Engine to fdp or neato makes nice graphs).