diff --git a/packages/core/src/types/edges.ts b/packages/core/src/types/edges.ts index 143c7fa6..01f73a86 100644 --- a/packages/core/src/types/edges.ts +++ b/packages/core/src/types/edges.ts @@ -36,8 +36,11 @@ type DefaultEdge = { ariaLabel?: string; interactionWidth?: number; focusable?: boolean; + updatable?: EdgeUpdatable; } & EdgeLabelOptions; +export type EdgeUpdatable = boolean | 'target' | 'source'; + export type SmoothStepPathOptions = { offset?: number; borderRadius?: number;