- 8 node types (Model, Solver, DesignVar, Extractor, Objective, Constraint, Algorithm, Surrogate) - Drag-drop from palette to canvas - Node configuration panels - Graph validation with error/warning display - Intent JSON serialization - Zustand state management Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
31 lines
766 B
TypeScript
31 lines
766 B
TypeScript
import { ModelNode } from './ModelNode';
|
|
import { SolverNode } from './SolverNode';
|
|
import { DesignVarNode } from './DesignVarNode';
|
|
import { ExtractorNode } from './ExtractorNode';
|
|
import { ObjectiveNode } from './ObjectiveNode';
|
|
import { ConstraintNode } from './ConstraintNode';
|
|
import { AlgorithmNode } from './AlgorithmNode';
|
|
import { SurrogateNode } from './SurrogateNode';
|
|
|
|
export {
|
|
ModelNode,
|
|
SolverNode,
|
|
DesignVarNode,
|
|
ExtractorNode,
|
|
ObjectiveNode,
|
|
ConstraintNode,
|
|
AlgorithmNode,
|
|
SurrogateNode,
|
|
};
|
|
|
|
export const nodeTypes = {
|
|
model: ModelNode,
|
|
solver: SolverNode,
|
|
designVar: DesignVarNode,
|
|
extractor: ExtractorNode,
|
|
objective: ObjectiveNode,
|
|
constraint: ConstraintNode,
|
|
algorithm: AlgorithmNode,
|
|
surrogate: SurrogateNode,
|
|
};
|