feat(nodes): Allow nodes to have their own snapGrid option

Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
Braks
2021-11-23 23:58:11 +01:00
parent 1eac951055
commit 71a10b2536
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -45,6 +45,7 @@ export interface Node<T = any> {
selectable?: boolean
connectable?: boolean
dragHandle?: string
snapGrid?: SnapGrid
}
export interface GraphNode<T = any> extends Node<T> {