function createRelationshipTransformer (config) {
  const relationship4x4Transformer = v4x4.createRelationshipTransformer(config)
  return relationship4x4Transformer.extendsWith({
    fromStructure: struct => {
      structure.verifyStructSize('Relationship', RELATIONSHIP_STRUCT_SIZE, struct.size)

      const [
        identity,
        startNodeIdentity,
        endNodeIdentity,
        type,
        properties,
        elementId,
        startNodeElementId,
        endNodeElementId
      ] = struct.fields

      return new Relationship(
        identity,
        startNodeIdentity,
        endNodeIdentity,
        type,
        properties,
        elementId,
        startNodeElementId,
        endNodeElementId
      )
    }
  })
}
Create an extend Relationship transformer with support to elementId
@param {any} config
@returns {TypeTransformer}