Copy Ward's Dynamic Diagram

Eric Dobbs, figuring out some of Ward's magic: - FIND a pagefold 'new', then - graph links from any links that appear below the fold. From 'eric.dojo.fed.wiki' --- The program allowed Ward to curate a small collection of links and let the program draw a graph from those links. That became a tool for Ward to asynchronously point Thompson to his newest contributions to their weekly conversation

DOT strict digraph rankdir=LR node [shape=box style=filled] HERE WHERE FOLD new LINKS node [fillcolor=bisque] HERE NODE LINKS node [fillcolor=white] HERE LINKS HERE -> NODE HERE LINKS HERE -> NODE

The first HERE starts the program looking at this page.

WHERE FOLD tells the program to find a pagefold named "new". In my own experiment on this page, I have created a pagefold by that name below.

There are two blocks about LINKS.

The first LINKS block draws a node for each of the links below the pagefold. The lowercase "node" declarations are combined by graphviz to draw the nodes as boxes which are filled with the color bisque.

The second LINKS block does many things. First, it draws an arrow and a white box for each page. Second, it visits each white page and extends the drawing with information from that page. It finds all the links on the white page, and draws an arrow and another white box for each of those links.

new

DOT strict digraph rankdir=LR node [shape=box style=filled] HERE WHERE FOLD new LINKS node [fillcolor=bisque] HERE NODE LINKS node [fillcolor=white] HERE LINKS HERE -> NODE HERE LINKS HERE -> NODE