In this assignment, you will learn and practice Unicon's 2D graphics facilities. Write a Unicon program that reads in your output JSON file from HW#1, and renders it graphically in 2D in a Unicon window. Graph layout is a whole mini-industry for which many Ph.D. dissertations have been written. For this assignment we will use dot (see graphviz.org and this manual) to do the graph layout for you.
digraph mygraph { a -> b -> c; b -> d; }
digraph graphname { graph [bb="0,0,126,180"]; // bounding box (points) node [label="\N"]; // each node's name is its label a [height=0.5, // (inches) pos="63,162", // center (points) width=0.75]; // (inches) b [height=0.5, pos="63,90", width=0.75]; // below: "spline control points" (points) a -> b [pos="e,63,108.41 63,143.83 63,136.13 63,126.97 63,118.42"]; c [height=0.5, pos="27,18", width=0.75]; b -> c [pos="e,35.634,35.269 54.285,72.571 50.04,64.081 44.846,53.693 40.134,44.267"]; d [height=0.5, pos="99,18", width=0.75]; b -> d [pos="e,90.366,35.269 71.715,72.571 75.96,64.081 81.154,53.693 85.866,44.267"]; }