emphasis.setTraceDim
setTraceDim(keepNodeIds: string[], keepEdgeIds?: string[]): voidApply trace-style dim: every node/edge outside the keep set fades out via the per-instance shader fade. Pass the result of traceNeighbor directly.
Independent of the hover-dim feature toggle. Pair with clearTrace.
keepNodeIds | string[] | Ids of nodes to leave bright. |
keepEdgeIds | string[] | Ids of edges to leave bright. When omitted,
defaults to every edge with both endpoints inside keepNodeIds
(induced subgraph) — matches the legacy trace-neighbor visual. |
Returns: void