feat: added ReactFlow-based node graph #11
@@ -2,7 +2,6 @@ import {Handle, NodeToolbar, Position, useReactFlow} from '@xyflow/react';
|
|||||||
import '@xyflow/react/dist/style.css';
|
import '@xyflow/react/dist/style.css';
|
||||||
import '../VisProgUI.css';
|
import '../VisProgUI.css';
|
||||||
|
|
||||||
|
|
||||||
// Datatypes for NodeTypes
|
// Datatypes for NodeTypes
|
||||||
|
|
||||||
type defaultNodeData = {
|
type defaultNodeData = {
|
||||||
@@ -17,7 +16,6 @@ type phaseNodeData = defaultNodeData & {
|
|||||||
|
|
||||||
export type nodeData = defaultNodeData | startNodeData | phaseNodeData | endNodeData;
|
export type nodeData = defaultNodeData | startNodeData | phaseNodeData | endNodeData;
|
||||||
|
|
||||||
|
|
||||||
// Node Toolbar definition
|
// Node Toolbar definition
|
||||||
|
|
||||||
type ToolbarProps= {
|
type ToolbarProps= {
|
||||||
|
|||||||
Reference in New Issue
Block a user