findByType(type) {
        return _.find(this._node.children, node => node.attributes.Type === `${RELATIONSHIP_SCHEMA_PREFIX}${type}`);
    }
Find a relationship by type.
@param {string} type - The type to search for.
@returns {{}|undefined} The matching relationship or undefined if not found.