emphasis.dimExcept
dimExcept(keepNodeIds: string[], opts: object): voidProgrammatic dim. Apply an arbitrary keep set — every node / edge outside it fades out via the same per-instance shader path that hover-neighbor-highlight uses. Hover events are ignored while the external dim is active; call clearDim to release control.
keepNodeIds | string[] | node ids to leave undimmed |
opts | object |
Returns: void
Example
api.emphasis.dimExcept(["n1", "n2", "n3"]);
// ... later
api.emphasis.clearDim();