RelationshipAssertion

constructor(source: String, target: String, type: String, description: String? = null, properties: Map<String, Any> = emptyMap())

Parameters

source

Entity name (must match an entity in the request)

target

Entity name (must match an entity in the request)

type

Relationship type, e.g. "WORKS_AT"

description

Optional description of the relationship

properties

Additional properties to store on the relationship