codeant-ai-for-open-source[bot] commented on PR #38403:
URL: https://github.com/apache/superset/pull/38403#issuecomment-4030144035
## **Sequence Diagram**
This diagram shows how the MCP service now validates and maps big number
chart configurations into Superset form data to create either a standalone big
number or a big number with trendline.
```mermaid
sequenceDiagram
participant Client
participant MCPService
participant Superset
Client->>MCPService: generate_chart with big_number config
MCPService->>MCPService: Pre-validate chart_type and big number metric
alt Trendline requested
MCPService->>MCPService: Map to form_data with viz_type big_number
and granularity
else Header only
MCPService->>MCPService: Map to form_data with viz_type
big_number_total
end
MCPService->>Superset: Submit form_data to create chart
Superset-->>MCPService: Return chart id and metadata
MCPService-->>Client: Return chart link and semantics
```
---
*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]