newLabelDirection(dir) {
        if(layoutModeGet()) this.subcircuitMetadata.labelDirection = dir;
        else this.labelDirection = dir;
    }
Helper Function to change label direction of the element.
@memberof CircuitElement
@param {string} dir - new direction