codeant-ai-for-open-source[bot] commented on PR #38458:
URL: https://github.com/apache/superset/pull/38458#issuecomment-4040746206
## **Sequence Diagram**
This PR updates the MapBox ScatterPlotGlowOverlay so cluster circle radii
are remapped to stay between a minimum ratio of the base radius and the full
radius, ensuring clusters are never smaller than individual points and that
zero or negative labels yield valid, visible circles.
```mermaid
sequenceDiagram
participant User
participant MapBoxChart
participant ScatterOverlay
participant Canvas
User->>MapBoxChart: Configure map with clustered geospatial data
MapBoxChart->>ScatterOverlay: Render overlay with locations and base
radius
ScatterOverlay->>ScatterOverlay: Compute cluster labels and safe max
label
ScatterOverlay->>ScatterOverlay: Clamp labels and map to radius range
using min cluster ratio
ScatterOverlay->>Canvas: Draw cluster circles with scaled radius
ScatterOverlay->>Canvas: Draw single points with default radius based on
base radius
```
---
*Generated by [CodeAnt AI](https://codeant.ai)*
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]