refactor(nodes)!: change xPos yPos props to position

Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
Braks
2021-12-20 19:29:52 +01:00
parent 106342cacf
commit 4ef58e9e99
2 changed files with 20 additions and 25 deletions
+1 -2
View File
@@ -40,12 +40,11 @@ export interface GraphNode<T = any> extends Node<T> {
export interface NodeProps<T = any> extends GraphNode {
id: ElementId
position: XYPosition
type?: string
data?: T
selected?: boolean
connectable?: boolean
xPos?: number
yPos?: number
targetPosition?: Position
sourcePosition?: Position
dragging?: boolean