diff --git a/packages/client/hmi-client/src/components/stratification/tera-mira-notebook.vue b/packages/client/hmi-client/src/components/stratification/tera-mira-notebook.vue new file mode 100644 index 0000000000..309efaf774 --- /dev/null +++ b/packages/client/hmi-client/src/components/stratification/tera-mira-notebook.vue @@ -0,0 +1,50 @@ + + Code Editor + + + + + + + diff --git a/packages/client/hmi-client/src/components/stratification/tera-stratification-group-form.vue b/packages/client/hmi-client/src/components/stratification/tera-stratification-group-form.vue new file mode 100644 index 0000000000..63ed22f1d2 --- /dev/null +++ b/packages/client/hmi-client/src/components/stratification/tera-stratification-group-form.vue @@ -0,0 +1,121 @@ + + + + Cartesian product + + + + + + Name of strata + + + + Select variables and parameters to stratify + + + + + Enter a comma separated list of labels for each group. + (Max 100) + + + + + + + + diff --git a/packages/client/hmi-client/src/page/WorkflowNode.vue b/packages/client/hmi-client/src/page/WorkflowNode.vue index 91e543608a..33cd06765e 100644 --- a/packages/client/hmi-client/src/page/WorkflowNode.vue +++ b/packages/client/hmi-client/src/page/WorkflowNode.vue @@ -1,7 +1,8 @@ - + + (); diff --git a/packages/client/hmi-client/src/page/project/tera-project.vue b/packages/client/hmi-client/src/page/project/tera-project.vue index a57897d2ce..048c5c9a90 100644 --- a/packages/client/hmi-client/src/page/project/tera-project.vue +++ b/packages/client/hmi-client/src/page/project/tera-project.vue @@ -68,8 +68,14 @@ " :node="workflowNode" /> + {}, + initState: () => { + const init: StratifyOperationStateMira = { + strataGroups: [ + { + borderColour: '#c300a6', + name: '', + selectedVariables: [], + groupLabels: '', + cartesianProduct: true + } + ] + }; + return init; + } +}; diff --git a/packages/client/hmi-client/src/workflow/ops/stratify-mira/tera-stratify-mira.vue b/packages/client/hmi-client/src/workflow/ops/stratify-mira/tera-stratify-mira.vue new file mode 100644 index 0000000000..d39a0d1aef --- /dev/null +++ b/packages/client/hmi-client/src/workflow/ops/stratify-mira/tera-stratify-mira.vue @@ -0,0 +1,200 @@ + + + + + + + + Stratify Model + The model will be stratified with the following settings. + + + + + + + + + No Model Provided + + + + + + + + + + + + + + + No Model Provided + + + + + + + + diff --git a/packages/client/hmi-client/src/workflow/ops/stratify-mira/tera-stratify-node-mira.vue b/packages/client/hmi-client/src/workflow/ops/stratify-mira/tera-stratify-node-mira.vue new file mode 100644 index 0000000000..e97ebdaab6 --- /dev/null +++ b/packages/client/hmi-client/src/workflow/ops/stratify-mira/tera-stratify-node-mira.vue @@ -0,0 +1,25 @@ + + + + Configure in the side panel + + + + + + diff --git a/packages/client/hmi-client/src/workflow/tera-workflow.vue b/packages/client/hmi-client/src/workflow/tera-workflow.vue index 637de86b98..a17cd7a840 100644 --- a/packages/client/hmi-client/src/workflow/tera-workflow.vue +++ b/packages/client/hmi-client/src/workflow/tera-workflow.vue @@ -113,7 +113,10 @@ @update-state="(event) => updateWorkflowNodeState(node, event)" /> + { + workflowService.addNode(wf.value, StratifyMiraOperation, newNodePosition, { state: null }); + workflowDirty = true; + } + }, + { + label: 'Stratify Julia', command: () => { workflowService.addNode(wf.value, StratifyOperation, newNodePosition, { state: null }); workflowDirty = true;
The model will be stratified with the following settings.