chore(base-edge): label coords optional
This commit is contained in:
@@ -117,8 +117,8 @@ export type EdgeProps<T = any> = Pick<
|
|||||||
|
|
||||||
export type BaseEdgeProps = Pick<EdgeProps, 'style' | 'markerStart' | 'markerEnd' | 'interactionWidth'> &
|
export type BaseEdgeProps = Pick<EdgeProps, 'style' | 'markerStart' | 'markerEnd' | 'interactionWidth'> &
|
||||||
EdgeLabelOptions & {
|
EdgeLabelOptions & {
|
||||||
labelX: number;
|
labelX?: number;
|
||||||
labelY: number;
|
labelY?: number;
|
||||||
path: string;
|
path: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user