Merging dev into main #49

Merged
8464960 merged 260 commits from dev into main 2026-01-28 10:48:52 +00:00
3 changed files with 19 additions and 5 deletions
Showing only changes of commit b991e92c37 - Show all commits

View File

@@ -0,0 +1,7 @@
.default-node {
padding: 10px 20px;
background-color: white;
outline-style: solid;
border-radius: 5pt;
outline-width: 1pt;
}

View File

@@ -17,7 +17,7 @@ import {
type Connection,
} from '@xyflow/react';
import '@xyflow/react/dist/style.css';
import StartNode from './components/StartNode.tsx';
import StartNode from "./components/NodeDefinitions.tsx";
const nodeTypes = {
startNode: StartNode,
@@ -28,7 +28,7 @@ const initialNodes = [
id: 'start',
type: 'startNode',
position: {x: 0, y: 0},
data: {label: 'Start'},
data: {label: 'start'}
},
{
id: 'genericPhase',

View File

@@ -1,12 +1,19 @@
import { Handle, Position } from '@xyflow/react';
import '@xyflow/react/dist/style.css';
import '../VisProgUI.css';
// @ts-ignore
export const StartNode = ({ data }) => {
// Datatypes for NodeTypes
type startNodeData = { label: string; };
// Definitions of Nodes
export const StartNode= ({ data } : {data : startNodeData}) => {
return (
<>
<div>
<div style={{ padding: '10px 20px', backgroundColor: 'white', outlineStyle: 'solid', borderRadius: '5pt', outlineWidth: '1pt'}}> data test {data.label} </div>
<div className="default-node"> data test {data.label} </div>
<Handle type="source" position={Position.Right} id="start" />
</div>
</>