Zannick/logic-graph

Add an SVG parser for the regions

オープン

#150 opened on 2024/03/09

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)Rust (0 件のフォーク)auto 404
good first issuehelp wanted

Repository metrics

Stars
 (4 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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.

コントリビューターガイド