Graph: place capability labels beside the target node (ENB-22)
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:
1 parent
b55259c492
commit
0882d35123
4 files changed
+82
-14
No files matched your search
+1
-1
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user