refactor(nodes)!: change xPos yPos props to position
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
+1
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user