feat: per-link path style toggle (bezier / smooth step)

This commit is contained in:
Pouzor
2026-03-07 14:46:55 +01:00
parent 8437f5ef49
commit 07d8c4e58b
8 changed files with 39 additions and 2 deletions
+3
View File
@@ -44,12 +44,15 @@ export interface NodeData extends Record<string, unknown> {
custom_colors?: { border?: string; background?: string; icon?: string }
}
export type EdgePathStyle = 'bezier' | 'smooth'
export interface EdgeData extends Record<string, unknown> {
type: EdgeType
label?: string
vlan_id?: number
speed?: string
custom_color?: string
path_style?: EdgePathStyle
}
export const NODE_TYPE_LABELS: Record<NodeType, string> = {