emphasis.traceNeighbor
traceNeighbor(opts: object): objectMulti-hop neighbor trace. BFS-expand a keep set from one or more seed nodes and/or seed edges. Pure computation — never mutates dim or selection state. Callers compose the visual / selection side- effects from the returned ids using setTraceDim + clearTrace and SelectionApi.selectNodes.
Seed edges contribute both endpoints to the BFS frontier and the edges
themselves stay in the keep set regardless of depth. Optional along
/ direction filters mirror the legacy traversal options so callers
can restrict the trace to a relationship type or directional walk.
opts | object |
Returns: object