toggleLabelInLayoutMode(){
        this.subcircuitMetadata.showLabelInSubcircuit = !this.subcircuitMetadata.showLabelInSubcircuit;
    }
Toggles the visibility of the labels of subcircuit elements. Called by event handlers in ux.js