refactor: make sure that the droppable styles are kept, update some nodes to reflect their used functionality.

ref: N25B-294
This commit is contained in:
Björn Otgaar
2025-11-18 15:36:18 +01:00
parent 3e73e78ee9
commit 0bbb6101ae
9 changed files with 61 additions and 138 deletions

View File

@@ -12,10 +12,11 @@ import { TextField } from '../../../../components/TextField';
import useFlowStore from '../VisProgStores';
/**
* The default data dot a Goal node
* @param label: the label of this Goal
* The default data dot a phase node
* @param label: the label of this phase
* @param droppable: whether this node is droppable from the drop bar (initialized as true)
* @param children: ID's of children of this node
* @param desciption: description of the goal
* @param hasReduce: whether this node has reducing functionality (true by default)
*/
export type GoalNodeData = {
label: string;