Initial version.  Top-down graph-builder.

Also begin bottom-up version with subgraphs.