feat(FN-4549): complete Step 9 — document measured vertical graph layout
Fusion-Task-Id: FN-4549 Fusion-Task-Lineage: 7c6b974d-cad9-418c-bf02-9d8490725c6e
This commit is contained in:
@@ -17,8 +17,8 @@ The dependency graph view is registered as a **bundled plugin view** in the dash
|
||||
- **Filtering**: includes `triage`, `todo`, `in-progress`, `in-review`; excludes `done`, `archived`
|
||||
- **Graph build**: edges are resolved only from `task.dependencies` as `source=dependent`, `target=dependency`
|
||||
- **Orphan dependency handling**: if a visible task depends on an excluded/missing dependency (for example `done`/`archived` after filtering), the missing edge is silently dropped and graph rendering continues without broken connectors
|
||||
- **Auto-layout**: Sugiyama-style layered layout (`computeAutoLayout`) groups nodes by dependency depth and spaces layers consistently, and flips orientation responsively (`height > width` or `width < 768`) so depth flows left-to-right on tall/narrow viewports
|
||||
- **Edge drawing**: SVG bezier curves from source bottom-center to target top-center, with arrowheads showing dependent → dependency direction
|
||||
- **Auto-layout**: Sugiyama-style layered layout (`computeAutoLayout`) groups nodes by dependency depth; vertical orientation uses measured per-node card heights to compute cumulative row offsets (preventing card overlap), while horizontal orientation keeps fixed-size spacing, and orientation still flips responsively (`height > width` or `width < 768`) so depth flows left-to-right on tall/narrow viewports
|
||||
- **Edge drawing**: SVG bezier curves from source bottom-center to target top-center, with vertical mode anchoring source tails to each node's measured rendered height and arrowheads showing dependent → dependency direction
|
||||
- **Interaction**: drag-to-pan canvas background, scroll/two-finger pan, Ctrl/Cmd-wheel zoom, pinch-to-zoom with stationary midpoint, drag-to-reposition nodes, keyboard shortcuts, zoom toolbar, reset, and fit-to-graph
|
||||
- **Zoomed navigation reachability**: pan clamping now scales with the full rendered graph bounds (min/max node extents) at the active zoom level, so zooming in no longer traps off-screen content behind fixed viewport-only limits
|
||||
- **Fit-to-graph**: computes node bounding box from both minimum and maximum node coordinates (including negative auto-layout origins) with layout node dimensions and applies zoom/pan so the graph fits in viewport with padding
|
||||
|
||||
Reference in New Issue
Block a user