function toggleLayoutMode() {
    hideProperties();
    if (layoutModeGet()) {
        layoutModeSet(false);
        $('#layoutDialog').fadeOut();
        $('.layoutElementPanel').fadeOut();
        $('.elementPanel').fadeIn();
        $('.testbench-manual-panel').fadeIn();
        if (!(window.screen.width > 1000)) {
            $('.ce-panel').fadeOut();
            $('#touchMenu').fadeIn();
            $(' #liveMenu').fadeIn();
            $('#touchElement-property').fadeIn();
        }
        if ((window.screen.width > 1000)) {
            $('.timing-diagram-panel').fadeIn();
        }
        globalScope.centerFocus(false);
        if(globalScope.verilogMetadata.isVerilogCircuit)
            verilogModeSet(true);
        dots();
    } else {
        layoutModeSet(true);
        verilogModeSet(false);
        $('#layoutDialog').fadeIn();
        $('.layoutElementPanel').fadeIn();
        if (!(window.screen.width > 1000)) {
            $('#touchMenu').fadeOut();
            $(' #liveMenu').fadeOut();
            $('#touchElement-property').fadeOut();
        }
        $('.elementPanel').fadeOut();
        $('.timing-diagram-panel').fadeOut();
        $('.testbench-manual-panel').fadeOut();
        fillSubcircuitElements();

        globalScope.ox = 0;
        globalScope.oy = 0;
        globalScope.scale = DPR * 1.3;
        dots();
        tempBuffer = new LayoutBuffer();
        $('#toggleLayoutTitle')[0].checked = tempBuffer.layout.titleEnabled;
    }
    update(globalScope, true);
    scheduleUpdate();
}
Function to toggle between layoutMode and normal Mode
the sidebar is disabled and n properties are shown.
@category layoutMode