feat: add draghandle prop to node

* specify a drag handle on the node

Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
Braks
2021-11-21 21:50:49 +01:00
parent b10207021f
commit a55e33f91f
4 changed files with 23 additions and 5 deletions
+1
View File
@@ -26,6 +26,7 @@ export interface Node<T = any> {
draggable?: boolean
selectable?: boolean
connectable?: boolean
dragHandle?: string
}
export interface GraphNode<T = any> extends Node<T> {