Graph: place capability labels beside the target node (ENB-22)
CI / integration (push) Successful in 14s
CI / check (push) Successful in 18s

Edge labels sat at each curve's midpoint, where edges leaving one policy bunch
up and overlap. Policy->path edges now use a custom edge that puts a clickable
label just before the target, stacked apart when several edges share a target,
and the path column is moved right to leave room for longer labels.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
mattandClaude Sonnet 5.5 committed 2026-10-20 12:59:59 +01:00
1 parent b55259c492
commit 0882d35123
4 files changed
+82 -14

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
import type { AccessGraph, GraphNode } from './graph'
export const COLUMN_X = { identity: 0, policy: 380, path: 780 } as const
export const COLUMN_X = { identity: 0, policy: 380, path: 860 } as const
export const ROW_HEIGHT = 72
export interface Position {