fun <T : RelationshipPattern, ExposesPatternLengthAccessors<*>> generateRelationship(rootNode: ExposesRelationships<T>, propertyNode: Node): T

Generates a Cypher-DSL RelationshipPattern

Return

the generated relationship pattern

Parameters

rootNode

the start node of the relationship

propertyNode

the related node

Type Parameters

T

the type of the generated relationship