{{widget.name}}

{{#if (eq plotType "table")}} {{#each simulationModel.mapping as |signal|}} {{/each}}
Signal
{{#if (eq signal selectedSignal)}} {{signal}} {{else}} {{signal}} {{/if}}
{{flow-plot data=plotData options=plotOptions}}
{{/if}} {{#if (eq plotType "multiple")}} {{flow-plot data=plotData options=plotOptions}} {{/if}} {{#if isShowingModal}} {{#modal-dialog attachment="middle center" translucentOverlay=true}}

Plot

{{#if (eq plotType "multiple")}} {{/if}} {{#if (eq plotType "table")}} {{/if}}
{{input id='name' placeholder='Enter widget name' value=name}}
{{input type='number' id='time' placeholder='Enter time length' value=time}}
{{#each simulationModel.mapping as |signal|}} {{input type='checkbox' name=signal checked=(mut (get checkedSignals signal))}}
{{/each}}
{{#if errorMessage}}

Error: {{errorMessage}}

{{/if}} {{/modal-dialog}} {{/if}}