codeant-ai-for-open-source[bot] commented on PR #38403:
URL: https://github.com/apache/superset/pull/38403#issuecomment-4054187024

   ## **Sequence Diagram**
   
   This PR adds end to end support for big number charts in MCP chart 
generation. The flow now validates big number specific requirements, maps 
config into Superset form data, and selects either total only or trendline 
visualization mode.
   
   ```mermaid
   sequenceDiagram
       participant Client
       participant MCPService
       participant SchemaValidator
       participant ChartMapper
       participant SupersetBackend
   
       Client->>MCPService: Request chart generation with big number config
       MCPService->>SchemaValidator: Validate chart type metric aggregate and 
trendline requirements
       SchemaValidator-->>MCPService: Return validated config
       MCPService->>ChartMapper: Map config to Superset form data
   
       alt Trendline enabled with temporal column
           ChartMapper->>ChartMapper: Set viz type big number and granularity 
fields
       else Total only
           ChartMapper->>ChartMapper: Set viz type big number total
       end
   
       MCPService->>SupersetBackend: Create chart from mapped form data
       SupersetBackend-->>Client: Return created chart response
   ```
   
   ---
   *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]

Reply via email to