chore: merge the rest of the nodes back into this structure, and make sure that start and end nodes are not deletable.

This commit is contained in:
Björn Otgaar
2025-11-18 13:25:13 +01:00
parent 941658a817
commit 3e73e78ee9
9 changed files with 223 additions and 68 deletions

View File

@@ -18,7 +18,7 @@ export type EndNode = Node<EndNodeData>
export default function EndNode(props: NodeProps<Node>) {
return (
<>
<Toolbar nodeId={props.id} allowDelete={true}/>
<Toolbar nodeId={props.id} allowDelete={false}/>
<div className={`${styles.defaultNode} ${styles.nodeEnd}`}>
<div className={"flex-row gap-sm"}>
End