refactor: remove node-pos actions

* add getSelectedNodes getter

Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
Braks
2021-11-25 15:21:36 +01:00
parent ac2e2d5f0a
commit fa63dee37a
4 changed files with 25 additions and 120 deletions
-11
View File
@@ -57,17 +57,6 @@ export type SourceTargetNode = {
targetNode: GraphNode
}
export type NodePosUpdate = {
id: ElementId
pos: XYPosition
}
export type NodeDiffUpdate = {
id?: ElementId
diff?: XYPosition
isDragging?: boolean
}
export type TranslateExtent = [[number, number], [number, number]]
export type NodeExtent = TranslateExtent