feat(core): add updatable prop to Edge types
This commit is contained in:
@@ -36,8 +36,11 @@ type DefaultEdge<T = any> = {
|
|||||||
ariaLabel?: string;
|
ariaLabel?: string;
|
||||||
interactionWidth?: number;
|
interactionWidth?: number;
|
||||||
focusable?: boolean;
|
focusable?: boolean;
|
||||||
|
updatable?: EdgeUpdatable;
|
||||||
} & EdgeLabelOptions;
|
} & EdgeLabelOptions;
|
||||||
|
|
||||||
|
export type EdgeUpdatable = boolean | 'target' | 'source';
|
||||||
|
|
||||||
export type SmoothStepPathOptions = {
|
export type SmoothStepPathOptions = {
|
||||||
offset?: number;
|
offset?: number;
|
||||||
borderRadius?: number;
|
borderRadius?: number;
|
||||||
|
|||||||
Reference in New Issue
Block a user