File size: 794 Bytes
bc20498
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import { EdgePosition } from '../../types/edges';
import { ConnectionMode, OnError } from '../../types/general';
import { InternalNodeBase } from '../../types/nodes';
import { Position, XYPosition } from '../../types/utils';
import { Handle } from '../../types';
export type GetEdgePositionParams = {
    id: string;
    sourceNode: InternalNodeBase;
    sourceHandle: string | null;
    targetNode: InternalNodeBase;
    targetHandle: string | null;
    connectionMode: ConnectionMode;
    onError?: OnError;
};
export declare function getEdgePosition(params: GetEdgePositionParams): EdgePosition | null;
export declare function getHandlePosition(node: InternalNodeBase, handle: Handle | null, fallbackPosition?: Position, center?: boolean): XYPosition;
//# sourceMappingURL=positions.d.ts.map