public function retriveAttributeVisibility(\DOMElement $element)
    {
        $name = $this->engine->query($element->getNodePath() . '/dia:attribute[@name="visibility"]/dia:enum');
        $propertyVisibility = $name->item(0)->attributes->getNamedItem('val')->nodeValue;

        return self::$propertyVisibilityTypes[$propertyVisibility];
    }