diff --git a/src/Graph.svelte b/src/Graph.svelte index 1beef29..0b8ccf2 100644 --- a/src/Graph.svelte +++ b/src/Graph.svelte @@ -52,10 +52,13 @@ panOnDrag={!$auto} edgesUpdatable={!$auto} connectOnClick={true} - nodesFocusable={!$auto} - edgesFocusable={!$auto} + nodesFocusable={false} + edgesFocusable={false} + elementsSelectable={false} + nodesSelectable={!$auto} zoomOnScroll={!$auto} deleteKey={0} + multiSelectionKeyCode={null} on:nodeclick={onClick} {nodeTypes} {edgeTypes} diff --git a/src/Node.svelte b/src/Node.svelte index d7f182d..7712045 100644 --- a/src/Node.svelte +++ b/src/Node.svelte @@ -1,10 +1,12 @@ -