1
0
Fork 0
polaris-task-force/src
Z8MB1E 392717bedc feat(intelligence): add a radial graph view to the faction relations page
The matrix answers "what is this faction's score", not "who is tied to whom".
Add a graph view behind a Matrix/Graph switch on the same page.

The player faction sits at the center and every other faction is placed on a
ring by classification (majors innermost, then minors, corporations, specials),
so its relations read as spokes and the rest as chords. Positions are
deterministic: rings ordered by type, members by name, starting at twelve
o'clock, with faint guide rings so the structure is legible without hovering.

Relations are straight lines. A relationship runs both ways, so where both
sides have an opinion the two directions are drawn side by side on either side
of the axis, each spanning the full distance between the factions, colored and
weighted by its own score, with an arrowhead at the faction being regarded. The
two directions differ independently: a faction can be resented by one that it
regards neutrally. A pair with only one opinion keeps a single centered line.

A line that would cut through an unrelated faction steps aside just far enough
to clear it, and only for factions actually alongside the line rather than
beyond either end. Straight stays straight.

Hovering a faction isolates its web and opens a panel listing what it regards
and who regards it; clicking opens the dossier. Pan, wheel zoom and reset are
local, and the whole view is hand-drawn SVG, so no graph library was added.

The layout is pure and unit-tested: input order cannot move a node, the two
directions of a pair run parallel rather than overlapping, single-direction
pairs span the whole pair, and a blocked line dodges instead of crossing a node.
2026-11-18 16:34:50 -05:00
..
app feat(intelligence): add a radial graph view to the faction relations page 2026-11-18 16:34:50 -05:00
arena feat(minigames): superuser developer console dock across all ten games 2026-10-20 12:48:27 -04:00
assets/images feat: application staging deployment (ensure better commits after this) 2025-12-15 01:14:30 -05:00
bot docs(bot): record the interaction ack and error-path rules 2026-11-03 12:50:29 -05:00
collections refactor(intelligence): drop the factions.relationships array in favour of the ledger 2026-11-18 14:13:29 -05:00
components feat(intelligence): add a radial graph view to the faction relations page 2026-11-18 16:34:50 -05:00
hooks feat(minigames): add Ordnance Disposal (bomperator) multiplayer drill 2026-10-16 00:32:52 -04:00
lib feat(intelligence): add a radial graph view to the faction relations page 2026-11-18 16:34:50 -05:00
migrations refactor(intelligence): drop the factions.relationships array in favour of the ledger 2026-11-18 14:13:29 -05:00
permissions feat(intelligence): add the faction relation ledger collection and score math 2026-11-18 14:13:20 -05:00
scripts feat(dev): add seed-attendance bin for random mission attendance 2026-11-02 10:01:32 -05:00
tools feat(intelligence): add undiscovered faction state with read masking 2026-11-18 09:19:57 -05:00
utils feat(map-objectives): superuser-authored strategic objectives on mission maps 2026-10-27 02:12:31 -04:00
payload-generated-schema.ts feat(intelligence): add the faction relation ledger collection and score math 2026-11-18 14:13:20 -05:00
payload-types.ts feat(intelligence): add the faction relation ledger collection and score math 2026-11-18 14:13:20 -05:00
payload.config.ts feat(intelligence): add the faction relation ledger collection and score math 2026-11-18 14:13:20 -05:00