1
0
Fork 0
Code Issues Pull requests Projects Releases 2 Packages Wiki Activity Actions Pages

Fix graph node activation

This commit is contained in:
Andraxion 2026-07-24 21:14:30 -04:00
parent 4c82e1643d
commit 8ac4fe2a67
13 changed files with 65 additions and 21 deletions

View file

@ -23,7 +23,7 @@ approved contract and measured cross-project evidence; it is not an unimplemente
- Result envelope: `schemas/result.schema.json`, version 1.
- Changeset schema: `schemas/changeset.schema.json`, version 1.
- Index schema: version 1, disposable and reproducible.
- Core, CLI, and MCP server: version 0.7.2.
- Core, CLI, and MCP server: version 0.7.3.
Schema files describe the generic interchange contract. Runtime validation remains responsible for
path confinement, source hashing, relationship resolution, dependency cycles, project limits, stale
@ -105,10 +105,11 @@ overview, bounded search, exact node content, and bounded incoming-and-outgoing
There is no write endpoint, arbitrary query endpoint, static filesystem handler, external asset,
or project-selection control.
The `graph-browser@3` template provides mouse-wheel zoom centered on the pointer, left-button drag
The `graph-browser@4` template provides mouse-wheel zoom centered on the pointer, left-button drag
pan, explicit zoom-in and zoom-out buttons, a reset-view button, and a live zoom percentage. A
four-pixel drag threshold preserves node activation for ordinary clicks. Loading another root node
resets the viewport so the new neighborhood begins centered and fully framed.
four-pixel drag threshold defers pointer capture and preserves node activation for ordinary clicks.
Loading another root node resets the viewport so the new neighborhood begins centered and fully
framed. Empty-canvas guidance is hidden whenever a neighborhood is rendered.
Activating a graph node opens a modal inspector containing that node's complete validated metadata
and content. Inspection does not replace the current neighborhood or reset the viewport. The modal

View file

@ -61,7 +61,7 @@ only through the explicit local CLI integration command.
## Visualization boundary
`docforge_visualize` starts the fixed built-in `graph-browser@3` template against the currently
`docforge_visualize` starts the fixed built-in `graph-browser@4` template against the currently
validated derived index. It may focus one stable node, run one bounded lexical query, or open the
project overview. The tool returns a loopback URL and exact snapshot identity.

View file

@ -16,7 +16,7 @@ The DocForge repository contains the complete generic CLI and stdio MCP server.
- Project identity, validation, exact-node retrieval, lexical search, and filtering.
- Backlinks, dependency traversal, impact traversal, and bounded context profiles.
- `docforge_visualize`, which starts the token-protected, loopback-only `graph-browser@3` viewer.
- `docforge_visualize`, which starts the token-protected, loopback-only `graph-browser@4` viewer.
The viewer supports search, family filtering, exact-node inspection, bounded neighborhoods,
modal inspection without losing the current neighborhood, explicit neighborhood exploration,
mouse-wheel zoom, left-button drag panning, zoom controls, and viewport reset.