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:
@@ -9,8 +9,9 @@ import {
|
|||||||
useRef,
|
useRef,
|
||||||
useState
|
useState
|
||||||
} from 'react';
|
} from 'react';
|
||||||
import styles from "../../VisProg.module.css"
|
|
||||||
import useFlowStore from "../VisProgStores.tsx";
|
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
|
// Is used to make sure each subsequent node gets a unique id, so the ReactFlow implementation
|
||||||
// can distinguish between different nodes.
|
// can distinguish between different nodes.
|
||||||
|
|||||||
Reference in New Issue
Block a user