refactor(packages): add @reactflow/system

This commit is contained in:
moklick
2023-02-16 16:37:47 +01:00
parent 216bf1bcd3
commit a12c893226
40 changed files with 1104 additions and 78 deletions
@@ -6,7 +6,7 @@ import {
type XYPosition,
Position,
internalsSymbol
} from '@reactflow/core';
} from '@reactflow/system';
export function getNodeData(node?: Node): [Rect, NodeHandleBounds | null, boolean] {
const handleBounds = node?.[internalsSymbol]?.handleBounds || null;