Skip to content

Commit 0341c0e

Browse files
committed
Make nodes not grabbable
1 parent f76e894 commit 0341c0e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/views/cytoscape/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ export interface Element {
1010
data: { id: string; label: string };
1111
style: Styles;
1212
classes: string;
13+
grabbable: boolean;
1314
}
1415

1516
export interface Edge {
@@ -48,6 +49,7 @@ export class CytoscapeGraph {
4849
data: { id, label: node.label },
4950
style: node.styles || {},
5051
classes: "l1",
52+
grabbable: false
5153
});
5254

5355
if (node.parent) {

0 commit comments

Comments
 (0)