GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — design(id-apps): D5 — link display system: interactive graph view (web/WASM, Kitty terminal, fallback) · Issue #13888 · developing-today/code

design(id-apps): D5 — link display system: interactive graph view (web/WASM, Kitty terminal, fallback) #13888

New issue
Copy link
New issue
Copy link
Done
#14821
Done
design(id-apps): D5 — link display system: interactive graph view (web/WASM, Kitty terminal, fallback)#13888
#14821
Copy link
Labels
app/idPackage/app: id (pkgs/ or apps/ in this repo)status:done

Description

@dezren39
dezren39
opened on Nov 24, 2026
Issue body actions

design(id-apps): D5 — link display system: interactive graph view

Programme order: 5. Parent epic: #13880 — ID apps on one graph.
Depends on: D3 (nodes and verb edges are D3 objects), D1 (display
forms of URIs). Related: #9126 (graph query language + visualization
research — an input, not this design), #10235 (bounded graph viewer
over query pages — a neighbouring, server-paged viewer; this design is
the interactive display system), #5678 (knowledge layer — the notes
surface of the first use case), #13623 (presenter kitty graphics
stills — prior art for the terminal renderer).

Problem + evidence

Drew (2026-11-23): "I want to be able to view all the connections
between notes in a fancy graph view, similar to how Obsidian notes
look… especially when we have a full Zettelkasten system set up, so
that we can make replies and things like that." A graph data model
(D3) without a graph view hides its main advantage: the connections
are the content. Three surfaces need the same view — the web, WASM on
the web, and terminals (especially Kitty-protocol terminals, with
mouse hover and click) — and three independently invented views would
diverge in layout, filtering, and interaction within a month.

Design thesis

One shared view model, three renderers. The view model defines:
nodes = ID objects, edges = typed verbs (D3); layout inputs and
determinism expectations; filtering by verb, by subgraph (D1
collection URIs as the filter language), and by author/time;
focus+context behaviour (select a node, its neighbourhood expands,
the rest dims); and the interaction contract — hover = identify +
preview, click = navigate to the object, click-edge = inspect the
link object itself (it is an object; it has a page). Each renderer
implements the same contract against the same view model.

Renderers

  1. Web / WASM: canvas-based interactive graph in the Obsidian
    style — pan, zoom, hover highlight, click-through. WASM so the
    same view-model code ships in the browser and can be reused by
    desktop hosts.
  2. Terminal (Kitty): Kitty graphics protocol rendering of the
    same layout, with mouse hover and click (terminal mouse reporting
    mapped to the same hover/click contract). Graceful degradation:
    terminals without graphics or mouse fall back to renderer 3
    automatically, never to a broken screen.
  3. List/tree fallback: a plain structured list/tree of the same
    neighbourhood — accessible, scriptable, and the conformance floor
    every view must be able to produce.

First use cases (the design is validated against these)

  • The Zettelkasten notes graph: notes as nodes; reply, reference,
    and supersede verbs as edges; "show me everything connected to this
    note, replies first" as the canonical query. (Consumes id: design: Knowledge layer feature program — competitor feature matrix, import/export, read-authority #5678's
    knowledge layer and id: note reference edges in the native graph + backlink query (#7587) #13233's note edges.)
  • ID programme visualisation: issues/designs/objects of the ID
    programme itself as a graph — the dogfood view.

Alternatives to weigh

  • Per-surface native views (web JS, terminal TUI written twice):
    better platform feel each; guarantees divergence of the contract.
  • Server-rendered images for terminal (the Bounded graph viewer over query pages #10235 shape):
    simpler terminal story; no real hover/click interactivity, and
    stale the moment the graph moves.
  • Adopt an existing web graph library and port its model: faster
    web start; its data model (untyped edges, no link objects) fights
    D3's — the view model must be ours even if rendering code is
    borrowed.

Slices (dependency-ordered)

  1. View model + interaction contract: node/edge/filter/focus
    semantics, stated once. Acceptance: both use-case graphs expressed
    in the model; the contract is renderer-agnostic (no pixel or
    escape-sequence language).
  2. Web/WASM renderer design: layout engine choice, scale bounds
    (what happens at 10k nodes), click-through via D1 display forms.
    Acceptance: interaction contract mapped feature-by-feature.
  3. Kitty renderer design: graphics placement, mouse mapping,
    redraw discipline, degradation detection. Acceptance: the contract
    mapped onto Kitty capabilities with the fallback triggers named;
    id: build: presenter-side kitty graphics stills pipeline (from #5971 research) #13623's stills work cited as prior art.
  4. Fallback + conformance: the list/tree floor and a conformance
    checklist all renderers must pass. Acceptance: checklist written
    so an implementer can test against it.

Open questions (deciders named)

  • Layout ownership (does the view model compute layout, or only the
    web renderer?): designer decides, recorded here — it decides
    whether terminal and web can ever show the same picture.
  • Scale target for v1 (neighbourhood-only vs whole-graph): designer
    proposes from the use cases; Drew decides if whole-graph is
    demanded, since it changes the sync story underneath (D3/D4).
{
  "direct_parent": null,
  "links": [],
  "lineage": {
    "design": null,
    "roadmap_item": null,
    "priority": null
  },
  "pm_meta": 1,
  "provenance": {
    "queue_id": null,
    "scheduled_start": null,
    "picked_up_at": null,
    "work_started_at": null,
    "created_at": "2026-11-24T00:12:18Z",
    "session_id": null,
    "lane": null,
    "host": "htch-runtime",
    "worktree": null,
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": null,
    "auth_subject": "archer",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

Activity

  1. dezren39
    added
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    on Nov 24, 2026
  2. developing-today commented on Nov 24, 2026

    @developing-today
    developing-todayBot
    on Nov 24, 2026 – with developing.today
    Contributor
    More actions

    CODE-5104

  3. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    Expansion (per Drew's direction, 2026-11-23 — recorded on the epic, #13880)

    Priority standing restated: programme order 5; Drew confirms all six programme items as prioritized, important work — investigate soon, implement when we have the capability.

    Next steps beyond the current slices:

    1. A third validation surface is now named: alongside the two use cases in the body (the Zettelkasten notes graph; the ID programme visualisation), the core graph app (app(id-apps): the core graph app — Rummager-style organising + Cobweb-style live transclusion over the ID graph #14037) renders through this view model — its organising/discovery views are graph views, and its composed pages are where D2 embeds meet this display contract. The interaction contract should be checked against the core app's PoC needs when they are scoped.
    2. The dogfood case extends naturally: once the core app exists, the programme-visualisation case becomes a living view — this programme's own issues, designs, and objects (epic(id-apps): ID apps on one graph — URIs, transclusion, typed links, sneakernet bundles, graph display #13880 and its children) as a rendered, navigable graph — rather than a static demo dataset. Named here as the follow-on step after the core app's first working version; it is also a candidate app recorded on the epic.

    Related apps: the core graph app (#14037); the notes/Zettelkasten surface (#5678, already the first use case); the chat and boards lines under #2056, whose threads are neighbourhoods in this view model whenever an app wants a graph view of a conversation.

  4. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    Triage verdict (oc-code-03, 2026-11-24): open; not started on main. No design PR or document for the D5 link-display system found (searched PRs and doc//planning/). It is a design issue in programme order 5 under #13880, depending on D3 and D1. Sized as a design-stage item (not implementation): route it to the design-stage workflow (issue-handoff / design-orchestrate) once D3 is settled. No separate follow-on packet routed now, because D3 is a prerequisite. Tracking: #14158.

  5. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    Triage verdict (lane oc-code-02, queue task 22724, 2026-11-24): still open and correctly a design item, not implementable yet. It depends on D1 (#13886, OPEN) and D3 (nodes and verb edges, under epic #13880, OPEN). No code packet is routed now; the design stays open until its dependencies land and it is ready for a design pass. Tracking: #14158.

  6. dezren39 commented on Nov 25, 2026

    @dezren39
    dezren39
    on Nov 25, 2026 – with Claude
    MemberAuthor
    More actions

    Claimed by lane 4, 2026-11-25T02:30Z. Both inputs are in: D3 landed (#13885, PR #13997) and D1 slice 1 landed (PR #14725). Starting slice 1: the view model and interaction contract.


    Generated by Claude Code

  7. dezren39
    added a commit that references this issue on Nov 25, 2026

    docs(id-apps): D5 slice 1, graph view model and interaction contract (#…

    b6082f6
  8. dezren39 commented on Nov 25, 2026

    @dezren39
    dezren39
    on Nov 25, 2026 – with Claude
    MemberAuthor
    More actions

    Lane 4: slice 1 (view model and interaction contract) landed in PR #14812 as doc/2026-11-25T02-40-00Z_design_id-apps_d5_link-display/.

    What it settles:

    • A focus query (radius, node budget, verb, author, claimed-time and within filters) is answered by a bounded frame of nodes and edges. Unreadable objects are absent and never counted.
    • Layout ownership (designer's question): the view model owns it. It uses a deterministic radial layout (ring = hops, integer angle), so web and terminal show the same picture.
    • Scale target (designer's proposal): v1 is neighbourhood-only, at most 2000 nodes. Whole-graph display stays open for Drew, because it changes what D3 and D4 have to sync.
    • An edit chain shows as one node displaying its head. A link that is itself linked to shows as a link node.
    • There are five intents: identify, identify-link, open, inspect-link and focus. Plain click is open.
    • The list/tree floor has an exact line format.
    • fixtures/view_reference.py check covers eight cases over a notes graph and the programme graph.

    Slices 2 (web/WASM), 3 (Kitty) and 4 (fallback and conformance) remain; I'll take slice 2 next unless another lane has it.


    Generated by Claude Code

  9. dezren39
    added a commit that references this issue on Nov 25, 2026

    docs(id-apps): D5 slice 2, web and WASM renderer design (#14816)

    5208460
  10. dezren39 commented on Nov 25, 2026

    @dezren39
    dezren39
    on Nov 25, 2026 – with Claude
    MemberAuthor
    More actions

    Slice 2 of 4 merged in #14816: doc/2026-11-25T02-40-00Z_design_id-apps_d5_link-display/slice-2-web.md, the web and WASM renderer design, with fixtures/web_reference.py checking projection, hit-testing, keyboard order against the tree floor, and refocus identities.

    It answers slice 1's open questions 2 and 3. focus is a double click on a pointer, a long press on touch, and f on the keyboard; plain click stays open. A link node is labelled by its verb and its two ends, falling back to "verb link" when space is short.

    Next: slice 3, the Kitty terminal renderer.


    Generated by Claude Code

  11. dezren39
    added a commit that references this issue on Nov 25, 2026

    docs(id-apps): D5 slice 3, Kitty terminal renderer design (#14817)

    0b577d0
  12. developing-today
    added
    status:in-review
    on Nov 25, 2026
  13. dezren39
    closed this as completedin #14821on Nov 25, 2026
  14. dezren39 commented on Nov 25, 2026

    @dezren39
    dezren39
    on Nov 25, 2026 – with Claude
    MemberAuthor
    More actions

    All four slices are merged:

    • Slice 1, the view model and contract: docs(id-apps): D5 slice 1, graph view model and interaction contract #14812.
    • Slice 2, web and WASM: docs(id-apps): D5 slice 2, web and WASM renderer design #14816.
    • Slice 3, Kitty terminal: docs(id-apps): D5 slice 3, Kitty terminal renderer design #14817. It names the fallback triggers and cites id: build: presenter-side kitty graphics stills pipeline (from #5971 research) #13623.
    • Slice 4, fallback and conformance: docs(id-apps): D5 slice 4, fallback and conformance checklist #14821. It holds 26 checklist items in fixtures/conformance.json; 22 are executable and 4 are manual.

    Every slice has a stdlib reference in doc/2026-11-25T02-40-00Z_design_id-apps_d5_link-display/fixtures/, and all four pass.

    One question stays open for Drew: whole-graph display. v1 is neighbourhood-only, with a 2000-node cap.


    Generated by Claude Code

  15. developing-today
    added
    status:done
    and removed
    status:in-review
    on Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    app/idPackage/app: id (pkgs/ or apps/ in this repo)status:done

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.