Zannick/logic-graph

Add an SVG parser for the regions

开放

#150 创建于 2024年3月9日

 (0 条评论) (0 个反应) (0 位负责人)Rust (0 个派生)auto 404
good first issuehelp wanted

仓库指标

星标
 (4 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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.

贡献者指南