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

Add relationship-aware graph flow

This commit is contained in:
Andraxion 2026-07-24 23:40:47 -04:00
parent 9bd41c5982
commit 440ca7510f
11 changed files with 567 additions and 80 deletions

View file

@ -1,5 +1,40 @@
# Completed slices
## DFG-17 relationship-aware graph and upstream flow
### Changed
- Released DocForge 0.10.0 with the fixed `graph-browser@8` template.
- Assigned generic semantic families, distinct colors, line patterns, and directional endpoint
symbols to common structure, execution, data, dependency, evidence, and context relations.
- Added a static visible-relationship key shared by Nodes and Flow, including deterministic
fallback styling for project-defined relations.
- Renamed topology-derived navigation from ambiguous Children and Edge language to Focus node,
Outgoing paths, and Incoming & lateral.
- Implemented bounded upstream Flow layers. Calls, dispatches, launches, activations, and writes
keep declared direction; reads, imports, and dependencies reverse for lineage presentation;
structure, evidence, context, and unknown relations remain excluded.
- Separated relationship-line and context-node CSS classes to prevent style inheritance and DOM
selector collisions.
### Verification
- A deterministic JavaScript harness covers relation classification, fallback styling, semantic
direction, evidence exclusion, upstream membership, dependency reversal, and layered placement.
- Browser interaction QA verifies distinct line colors, dash patterns, endpoint markers, exact
relationship keys, Nodes-to-Flow switching, evidence exclusion, and the destination-on-right
layout without console or page errors.
- HTML, CSS, and JavaScript validation, strict Pyright, Ruff, formatting, compilation, dependency
locks, npm audit, the complete warning-strict suite, and diff checks pass.
### Limits
- Flow operates on the already bounded neighborhood returned for the current focus and depth.
- Unknown project-defined relations receive deterministic Nodes styling but do not enter Flow until
their semantic direction is declared in the fixed relation map.
- Cycles are bounded by visited-node traversal. A later gate may add explicit cycle-group rendering
if real project graphs demonstrate that need.
## DFG-16 browser asset quality gate
### Changed