Skip to content

make-the-journey-io/map

Repository files navigation

make-the-journey-map

⚠️ This project is currently a prototype. It will be rewritten with decent standards once these are proven:

  • It can store a tech tree graph.
  • 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.

Current view

View

Running

Short version

bin/check-and-generate.sh

will validate and generate the current version of docs/map.png.

Detailed version

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.

Releases

No releases published

Packages

No packages published