entityNeighborhood

fun entityNeighborhood(entityId: String, depth: Int = 1): <Error class: unknown class>

Explore the entities directly or transitively related to a given entity.

Return

human-readable neighbourhood, or graceful text when nothing is related

Parameters

entityId

opaque identifier of the entity to explore around

depth

how many relationship hops to expand (clamped to a sane positive bound)