overlays.propertyColor
propertyColor(config: PropertyColorConfig): stringStart 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.
config | PropertyColorConfig | PropertyColorConfig specifying the property key and color ramp. |
Returns: string