@foblex/flow
Version:
An Angular library designed to simplify the creation and manipulation of dynamic flow. Provides components for flows, nodes, and connections, automating node manipulation and inter-node connections.
21 lines (20 loc) • 394 B
TypeScript
export declare function calculateDifferenceAfterRotation(position: {
x: number;
y: number;
}, rotation: number, pivot: {
x: number;
y: number;
}): {
x: number;
y: number;
};
export declare function calculatePositionAfterRotation(position: {
x: number;
y: number;
}, rotation: number, pivot: {
x: number;
y: number;
}): {
x: number;
y: number;
};