Commit Graph

11 Commits

Author SHA1 Message Date
JGerla
1a5b1e7617 feat: moved the state handling logic for VisProgUI to a Zustand store
all functional logic and state is now contained within a single Zustand store, and removed from the editor component definition

ref: N25B-162
2025-10-08 15:19:49 +02:00
JGerla
59a38a3a12 feat: Updated editor layout to make use of ReactFlow Panel Components
moved the draggable node collection inside the editor and attached it to a panel component inside the editor.

also modified the css by creating seperate classes for the draggable nodes inside the ui element

ref: N25B-114
2025-10-08 12:10:22 +02:00
JGerla
d6e78fc978 feat: repositioned Node sidebar to make use of the panel component provided by ReactFlow.
ref: N25B-114
2025-10-08 11:14:04 +02:00
JGerla
705ff3ff2b 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
2025-10-08 09:34:44 +02:00
JGerla
4648e77289 fix: removed minimap as not yet intended to be added
ref: N25B-114
2025-10-02 13:14:55 +02:00
JGerla
0a4a3fb46c feat: fixed dark mode compliancy for nodes and background
ref: N25B-114
2025-10-02 13:12:01 +02:00
JGerla
7780878447 feat: added Norm nodes and an extra handle on phase nodes
ref: N25B-114
2025-10-01 17:13:55 +02:00
JGerla
9df46c90a3 feat: added drag and drop menu for adding new nodes to flow
added a sidebar that supports drag and dropping new nodes from the sidebar into the flow editor.
also added a new package (neodrag) for easy draggable behavior outside the reactFlow editor.

ref: N25B-114
2025-10-01 13:30:06 +02:00
JGerla
79f0827b39 feat: created new nodes and a default nodeType
added a type for defaultNodeData, this can house common data that all nodes should have. the other types can build on this defaultData. Also added an endNode and phaseNode to NodeDefinitions.tsx, together with a nodeData type for each new node type.

ref: N25B-114
2025-10-01 10:58:43 +02:00
JGerla
b991e92c37 feat: changed startNode to use custom type for data
changed to startNode file to be a general file for custom node types, and created a custom type for the data property of StartNode.

BREAKING: renamed StartNode.tsx to NodeDefinitions.tsx

ref: N25B-114
2025-10-01 10:38:35 +02:00
JGerla
e098ffebd6 feat: added a custom start node
Defined a basic start node; it does not contain any further functionality but does provide a basis for implementing future custom nodes.

ref: N25B-114
2025-09-30 16:13:48 +02:00