Zigzag engine: cubical/string-diagram constructions in Rust. Reference for topolei.
Find a file
Maximus Gorog 2f33791809 Fix render_braiding.rs: transitive for wire endpoints, direct for surface boundaries
Wire endpoints and surface boundaries require different computation methods:

- Wire endpoints: TRANSITIVE reachability to vertices
  A strand spans between vertices even if poset path has intermediate points.
  Most wires connect both v₀ and v₁; only wire 14 is a self-loop.

- Surface boundary_wires: DIRECT covering relations only
  The immediate boundary of a surface is its direct predecessor/successor wires.
  Surfaces have 1-3 boundary wires (was 1-7 with transitive).

Updated:
- examples/render_braiding.rs: restored reachable_from for wire endpoints
- fixtures/half_braid_geometry.json: correct wire endpoints + direct surface boundaries
- web/zigzag-renderer.jsx: updated embedded geometry data

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-04-08 01:25:50 -06:00
examples Fix render_braiding.rs: transitive for wire endpoints, direct for surface boundaries 2026-04-08 01:25:50 -06:00
fixtures Fix render_braiding.rs: transitive for wire endpoints, direct for surface boundaries 2026-04-08 01:25:50 -06:00
src Fix explosion.rs over-approximation: use cospan rewrite data for correct covering relations 2026-04-08 00:54:18 -06:00
tests Fix explosion.rs over-approximation: use cospan rewrite data for correct covering relations 2026-04-08 00:54:18 -06:00
web Fix render_braiding.rs: transitive for wire endpoints, direct for surface boundaries 2026-04-08 01:25:50 -06:00
.gitignore Fix explosion.rs over-approximation: use cospan rewrite data for correct covering relations 2026-04-08 00:54:18 -06:00
Cargo.lock Fix explosion.rs over-approximation: use cospan rewrite data for correct covering relations 2026-04-08 00:54:18 -06:00
Cargo.toml Fix explosion.rs over-approximation: use cospan rewrite data for correct covering relations 2026-04-08 00:54:18 -06:00