emphasis

emphasis.setHoverDimOpacity

setHoverDimOpacity(opacity: number): void

Set the opacity of dimmed nodes and edges during a PROGRAMMATIC dim (trace / dimExcept / dimNeighborhood). Hover itself never dims — the hover-dim feature was deleted.

Clamped to [0, 1]. Default 0.15 (i.e. dimmed elements render at 15% of their normal opacity). A value of 0 makes non-kept elements fully transparent; 1 disables the visual dim effect (kept and dimmed look identical).

Not undoable. Not recorded in history.

opacitynumberOpacity in the range [0, 1].

Returns: void