codeant-ai-for-open-source[bot] commented on PR #38403:
URL: https://github.com/apache/superset/pull/38403#issuecomment-4054972626
## **Sequence Diagram**
This PR adds end to end support for big number charts in the MCP chart
generation path. The flow now validates big number specific requirements and
maps the request into the correct Superset visualization variant for either
total only or trendline output.
```mermaid
sequenceDiagram
participant Assistant
participant MCP Service
participant Schema Validator
participant Chart Mapper
participant Superset Backend
Assistant->>MCP Service: Send generate chart request with big number
config
MCP Service->>Schema Validator: Pre validate chart type and required
metric fields
Schema Validator-->>MCP Service: Return validated big number config
MCP Service->>Chart Mapper: Map config to Superset form data
alt Trendline enabled with temporal column
Chart Mapper->>Chart Mapper: Use big number viz type with temporal
settings
else Total only
Chart Mapper->>Chart Mapper: Use big number total viz type
end
MCP Service->>Superset Backend: Create chart using mapped form data
Superset Backend-->>Assistant: Return chart metadata and capabilities
```
---
*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]