refactor(useReactFlow): pass generic nodedata and edgedata closes #1944
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
import { Selection as D3Selection } from 'd3';
|
||||
import { boxToRect, clamp, getBoundsOfBoxes, rectToBox } from '../utils';
|
||||
|
||||
import { boxToRect, clamp, getBoundsOfBoxes, rectToBox } from '../utils';
|
||||
import { Node, Edge, Connection, EdgeMarkerType, Transform, XYPosition, Rect, NodeInternals } from '../types';
|
||||
|
||||
export const isEdge = (element: Node | Connection | Edge): element is Edge =>
|
||||
|
||||
Reference in New Issue
Block a user