feat(core): add updatable prop to Edge types

This commit is contained in:
braks
2023-03-24 22:03:19 +01:00
parent 913b0931a2
commit 5e41e975eb

View File

@@ -36,8 +36,11 @@ type DefaultEdge<T = any> = {
ariaLabel?: string;
interactionWidth?: number;
focusable?: boolean;
updatable?: EdgeUpdatable;
} & EdgeLabelOptions;
export type EdgeUpdatable = boolean | 'target' | 'source';
export type SmoothStepPathOptions = {
offset?: number;
borderRadius?: number;