Skip to content

Latest commit

 

History

History
56 lines (40 loc) · 1.85 KB

viewer.md

File metadata and controls

56 lines (40 loc) · 1.85 KB

Viewer

Three exclusive views share one chrome (wordmark, search, controls).

View Role
Galaxy (default) Ambient edges + hover / multi-highlight; kind colors & weight; frustum pins; optional drag
Local 1–2 hop constellation around focus
Audit Health + severity facets + virtualized findings + Export

Galaxy

Local

Audit

Galaxy interaction

  • Hover temporary neighborhood; click toggles highlight; Shift+click add; empty canvas clears highlight
  • Double-click / Enter opens the node panel (sets focus)
  • Ambient edges on by default (Controls or H); kind palette + thickness from weight; arrows when directed
  • Legend edge rows toggle Explicit / Weak / Structural (synced with Controls)
  • X or panel Hide node parks focus∪highlight for the session; restore via legend Hidden chips / Show all
  • Offscreen neighbors of the highlight set → frustum-edge arrow pins + badge
  • Reset positions restores crawl layout; drag persists in localStorage when enabled

Keyboard

Key Action
1 / 2 / 3 Galaxy / Local / Audit
/ Search
? Help
C Clear highlight
X Hide focus∪highlight
H Toggle ambient edges
F Fly to focus
L Jump to Local
e Export (Audit)
Esc Ladder: help → search → controls → panel → highlight → focus (does not clear hidden)

Deep links

Query params on the viewer URL:

  • ?view=audit&severity=high
  • ?focus=path/to.md
  • ?highlight=id1,id2

Preview

GET /file?path= serves up to 64 KiB of a doc under crawl roots (path jail). Used by the node panel.

Export

Audit Export downloads findings (filter-aware) as md / json / csv — same fields as cpmp report.