fix: changed edgetype to default

floating was used as edgetype whilst floating wasn't available, ReactFlow automatically fell back to default. now it is changed to default in the code preventing potential unexpected behavior

ref: N25B-114
This commit is contained in:
JGerla
2025-10-08 09:34:44 +02:00
parent 4648e77289
commit 705ff3ff2b

View File

@@ -57,7 +57,7 @@ const initialNodes = [
const initialEdges = [{id: 'start-end', source: 'start', target: 'end'}];
const defaultEdgeOptions = {
type: 'floating',
type: 'default',
markerEnd: {
type: MarkerType.ArrowClosed,
color: '#505050',