Zannick/logic-graph

Add an SVG parser for the regions

Offen

#150 geöffnet am 09.03.2024

 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Rust (0 Forks)auto 404
good first issuehelp wanted

Repository-Metriken

Stars
 (4 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

The idea would be to use something like drawio as a graphical interface instead of YAML. Everything in all the region files would have to be represented there somehow, e.g.

  • Each region is a box, each area in a box in that box, each point must be in an area's box and that's the main way we determine what spots are in what areas/regions.
  • There has to be some field for properties or freeform text. Every shape has to be named.
  • Spots are dots. Locations are different dots? Or canon locations are one dot, and all Locations are arrows pointing to the canon dot.
  • Checks are all arrows
  • Local movements are certain kinds of arrows.

If we can turn this data into the form used by the yaml, then it's a simple drop-in. But it may be better to integrate more cleanly with Compiler.py which transforms the yaml data further, and instead perform the appropriate transforms on the svg data.

Contributor Guide