- It can store a tech
treegraph. - The graph is validated for syntax.
- The graph is validated for references.
- The graph can be printed in DOT format.
- The graph visibly contains the citation URLs.
- A decent view can be generated without external tooling. I think an octilinear routing layout and an isometric view would look nice.
bin/check-and-generate.sh
will validate and generate the current version of docs/map.png
.
To validate the entire map:
go run .
To display a .dot
format output:
go run . -graph
To render the graph (assumes MacOS and graphviz
installed):
go run . -graph | dot -Tpng -Gdpi=200 -odocs/map.png && open docs/map.png
All commands with exit non-zero status if the map is invalid, but only go run .
will tell why.