graph LR
Web_Controller_API["Web Controller & API"]
Instance_Management_Service["Instance Management Service"]
Data_Querying_Service["Data Querying Service"]
Chart_Generation_Service["Chart Generation Service"]
Column_Creation_Service["Column Creation Service"]
Correlation_Analysis_Service["Correlation Analysis Service"]
Code_Export_Service["Code Export Service"]
Web_Controller_API -- "Uses" --> Instance_Management_Service
Web_Controller_API -- "Delegates to" --> Chart_Generation_Service
Web_Controller_API -- "Delegates to" --> Correlation_Analysis_Service
Web_Controller_API -- "Delegates to" --> Code_Export_Service
Web_Controller_API -- "Delegates to" --> Column_Creation_Service
Web_Controller_API -- "Delegates to" --> Data_Querying_Service
One paragraph explaining the functionality which is represented by this graph. What the main flow is and what is its purpose.
The central entry point for all HTTP requests from the frontend. It uses Flask to define API endpoints, handles request parsing, and orchestrates data operations. It interacts with the Instance Management Service to retrieve the appropriate data instance and then delegates tasks to specialized services like charting, querying, or analysis.
Related Classes/Methods:
A state management service responsible for the lifecycle of data instances within the application. It acts as a global registry, handling the creation, storage (in-memory, on-disk, or Redis), and retrieval of DtaleInstance objects. This component ensures that the state of each dataset is maintained and accessible across different user requests.
Related Classes/Methods:
A specialized service responsible for filtering data and retrieving specific subsets based on user-defined queries. It is invoked by the Web Controller & API to apply filters to the underlying DataFrame within a DtaleInstance.
Related Classes/Methods:
A service dedicated to creating chart configurations for data visualization. It takes a data instance and user specifications as input and generates the JSON structure required by the frontend charting libraries.
Related Classes/Methods:
A service that handles the logic for building new columns in a DataFrame based on user input. This includes applying functions or transformations to existing columns to derive new ones.
Related Classes/Methods:
A service responsible for performing correlation analysis on the dataset. It computes the correlation matrix for numeric columns and prepares the results for display in the frontend.
Related Classes/Methods:
A service that generates equivalent Python code snippets (primarily using pandas) for the sequence of operations performed by the user within the D-Tale interface. This allows for reproducibility and integration into other workflows.
Related Classes/Methods: