refactor: removed start and end nodes from the addNode functionality as they are not supported for manual adding

removed unnecessary code.

BREAKING: end and start nodes are no longer supported by the dnd addNode functionality.

ref: N25B-114
This commit is contained in:
JGerla
2025-10-25 18:58:41 +02:00
parent a0324479e6
commit e1d6b08a1c

View File

@@ -9,8 +9,9 @@ import {
useRef,
useState
} from 'react';
import styles from "../../VisProg.module.css"
import useFlowStore from "../VisProgStores.tsx";
import styles from "../../VisProg.module.css"
// Is used to make sure each subsequent node gets a unique id, so the ReactFlow implementation
// can distinguish between different nodes.