Separated tracks draw relationship arcs, within each track and between them (#415)
- github
- github/openchronology/timeline-app
- commit
- main
- github/athanclark
A timeline separated by tags or by relationships now keeps its arcs. A link between two events on one track arcs above that track's axis as before; a link between the tracks crosses the gap as an S curve from one event's marker to the other's, vertical at both ends. Arrowheads, hover text, the 256-arc limit and the grouping threshold work as on the whole timeline. - Arcs are the whole timeline's: the upper track's overview answers carry every arc touching the window, each end marked with whether it is on that track (aIn, bIn); the lower track asks for none (arcs: false). - Server: the arcs walk the timeline's own edge tree (forks read through); ends are looked up by primary key in the upper view's oc_view_moments and by ID in its oc_view_duration_nodes (new index on band->>'id'). - Desktop: the file's own edge_window, ends marked with one query of primary-key lookups in the view's derived copy. - In memory: separationArcs builds one arc tree of the whole document and marks ends with the separation's membership test. - Geometry: crossArcPath and crossArrowheadPath draw only the part in view, like arcPath, so far-off ends never put coordinates millions of pixels away. - Docs (relationships, tags, guide, plugins), OpenAPI (arcs, aIn, bIn), unit, Rust, PostgreSQL, fork read-through and browser tests, and a live browser test in CI (separated-arcs-live-postgres.mjs). Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_011fFY8eruEi1xAkkMBni13B https://github.com/openchronology/timeline-app/commit/f9491b47da0dbe78014c9c0aa37e0f88ffe2966a