Function: neighborhood()
function neighborhood(
model,
ids,
hops,
options?
): Subgraph;
Tables within hops refs of any of ids (undirected), with the refs among them. hops ≥ 0
(Infinity gives the connected components). Unknown ids are ignored. With
includeInactive: false, inactive refs neither connect nor appear in refIds.
Parameters
model
ids
readonly string[]
hops
number
options?
GraphOptions = {}