//const inputTerminalElement = flux.getNodeById("27b812ca-d2e0-9b5d-9344-deee6d1258fa");
const logicInput = flux.controls.find(control => control.name === "Logic Level");
if (logicInput.value) {
flux.currentSymbol = "High";
flux.simulationModel = {
type: "switch",
state: true
};
} else {
flux.currentSymbol = "Low";
flux.simulationModel = {
type: "switch",
state: false
};
}
flux.on("inputChange", (e) => {
if (e.control_name === "Logic Level") {
if (logicInput.value) {
flux.currentSymbol = "High";
flux.simulationModel = {
type: "switch",