Graphviz will draw a graph composed of nodes and arrows from a declarative text description.
digraph { 1 -> 2 -> 3 -> 4; 1 -> 3; 2 -> 4; }
Try making a cycle by adding an edge bottom to top.
4 -> 1;
A node can be a number or a name or an arbitrary string inside of quotes.
An edge between nodes is shown with -> which can be daisy-chained in some cases.
Use digraph to surround a directed graph.
Use graph to surround an undirected graph.
Use strict to collapse duplicate edges. This can be handy when generating dot files with a program.
strict graph { 1 -- 2 -- 3; 2 -- 3; 1 -- 2; }
When you sketch a diagram on paper, write the dot filename on the sketch were you will keep the dot version.
When you are considering changing flows in a system, first draw and print the existing flows then sketch changes on the paper. Repeat as needed.
An atom is any non-negative integer of any size. The atom is the most basic data type in Nock and Hoon. A Hoon atom type consists of a Nock atom with two additional pieces of metadata: an aura, which is a soft type that declares if an atom is a date, a ship name, a number, etc, and an optional constant. A Hoon atom type is warm or cold based on whether or not the constant exists: A Hoon atom type is warm if the constant is ~ (null), any atom is in the type. A Hoon atom type is cold if the constant is [~ atom], its only legal value is the exact value of the atom.