Add graph friction and document sidebar #11

Merged
lost-rob0t merged 2 commits from feature/graph-sidebar-friction into main 2026-07-19 20:26:53 +00:00
lost-rob0t commented 2026-07-19 20:21:26 +00:00 (Migrated from github.com)

Graph physics

  • increase friction by lowering velocity retention from 0.82 to 0.68
  • lower maximum node speed from 7 to 4.5
  • reduce reheating after drag and selection
  • retain bounded springs, deterministic anchors, collision handling, and resize-safe coordinates

Document sidebar

Selecting a node now opens a neon single-color sidebar containing:

  • document title, kind, modified date, tags, and description
  • an explicit Open document action
  • direct outgoing and incoming graph relationships
  • a filterable list of every other document
  • related documents sorted ahead of unrelated documents
  • close button, Escape-key closing, and blank-canvas closing

Double-click navigation remains available. On narrow screens the sidebar becomes a right-side overlay instead of shrinking the canvas.

Scope

Only the graph browser assets change:

  • pages/static/site.js
  • pages/static/graph.css

The Org source, exporter, graph JSON schema, website content, and EPUB work remain unchanged.

## Graph physics - increase friction by lowering velocity retention from `0.82` to `0.68` - lower maximum node speed from `7` to `4.5` - reduce reheating after drag and selection - retain bounded springs, deterministic anchors, collision handling, and resize-safe coordinates ## Document sidebar Selecting a node now opens a neon single-color sidebar containing: - document title, kind, modified date, tags, and description - an explicit `Open document` action - direct outgoing and incoming graph relationships - a filterable list of every other document - related documents sorted ahead of unrelated documents - close button, Escape-key closing, and blank-canvas closing Double-click navigation remains available. On narrow screens the sidebar becomes a right-side overlay instead of shrinking the canvas. ## Scope Only the graph browser assets change: - `pages/static/site.js` - `pages/static/graph.css` The Org source, exporter, graph JSON schema, website content, and EPUB work remain unchanged.
Sign in to join this conversation.
No description provided.