Merge branch 'xyflow' into svelte-flow-connection-mode
This commit is contained in:
@@ -160,9 +160,14 @@
|
||||
event.detail.event.preventDefault();
|
||||
console.log('on node contextmenu', event);
|
||||
}}
|
||||
on:edgecontextmenu={({ detail: { event, edge } }) => {
|
||||
event.preventDefault();
|
||||
console.log('on edge contextmenu', edge);
|
||||
}}
|
||||
autoPanOnConnect
|
||||
autoPanOnNodeDrag
|
||||
connectionMode={ConnectionMode.Strict}
|
||||
attributionPosition={'top-center'}
|
||||
>
|
||||
<Controls />
|
||||
<Background variant={BackgroundVariant.Dots} />
|
||||
|
||||
Reference in New Issue
Block a user