overlays

overlays.propertyColor

propertyColor(config: PropertyColorConfig): string

Start a property color overlay that recolors nodes based on a numeric property value.

Each node's color is mapped through a configurable gradient from the minimum to the maximum observed property value. The overlay persists until explicitly stopped via stop or stopAll.

Not undoable. Not recorded in history.

configPropertyColorConfigPropertyColorConfig specifying the property key and color ramp.

Returns: string