more map data

This commit is contained in:
2025-11-05 00:27:33 -07:00
parent f879f9afa8
commit c130185a20
3 changed files with 54 additions and 18 deletions

View File

@@ -7,7 +7,8 @@ Data must be in a map.json file. `nodes` is an object with named arrays of info.
Each node is an `x`, `y`, and `z` position. The optional 4th item is `true` to
display the node's name, a string to display *that* as the node name, or `false`
to completely hide a node. `edges` is an array of arrays of two names of nodes.
An optional 3rd item can be set to `false` to hide an edge.
An optional 3rd item can be set to `false` to hide an edge, or a string for a
custom label.
- TODO: Make drag and drop loading of a JSON file possible. :D
- TODO: Make it not error with no map file.