This pull request presents the initial version of the tools necessary for graphically visualizing a circuit in Godot and observing its evolution during each cycle.
The key components of this PR include:
VisualDataflow: This C++ class is designed for visualizing data flow graphs within the Godot engine.
Key functionalities include:
Graph Visualization: It parses .csv and .dot files chosen by the user and creates a graphical representation of data flow graphs, utilizing different shapes, colors, and labels to depict various nodes and edges in the graph.
Interactive Navigation: The class allows users to interactively navigate through different cycles of the data flow graph, highlighting changes and transitions in the graph over time. It includes methods to move to the next or previous cycle, change the display to a specific cycle, and adjusting the color of the corresponding graph edge states.
User Interaction Handling: The class includes functionalities for responding to user interactions like clicks, enabling users to get more information or focus on specific parts of the graph. This enhances the user's ability to analyze the graph's details.
Godot main function: Handles the interactions between the visualizer and the user.
Godot Scenes:
Menu: Provides a user-friendly interface for file input, allowing users to load .dot and .csv files.
Timeline: Offers an interactive timeline control, enabling users to navigate through different cycles of the data flow graph. This feature allows the observation of the graph's evolution over time.
Legend: Displays a legend that helps users understand and change the various colors used in the graph.
What’s new
Graphical representation of data flow graphs
Testing
Confirmed the functionality and accuracy of the VisualDataflow class by testing with various .dot and .csv files, ensuring that the graphical representation of data flow graphs in the Godot engine is correct and interactive features like navigation and user interaction are working as expected.
Description
This pull request presents the initial version of the tools necessary for graphically visualizing a circuit in Godot and observing its evolution during each cycle.
The key components of this PR include:
VisualDataflow: This C++ class is designed for visualizing data flow graphs within the Godot engine. Key functionalities include:
Graph Visualization: It parses .csv and .dot files chosen by the user and creates a graphical representation of data flow graphs, utilizing different shapes, colors, and labels to depict various nodes and edges in the graph.
Interactive Navigation: The class allows users to interactively navigate through different cycles of the data flow graph, highlighting changes and transitions in the graph over time. It includes methods to move to the next or previous cycle, change the display to a specific cycle, and adjusting the color of the corresponding graph edge states.
User Interaction Handling: The class includes functionalities for responding to user interactions like clicks, enabling users to get more information or focus on specific parts of the graph. This enhances the user's ability to analyze the graph's details.
Godot main function: Handles the interactions between the visualizer and the user.
Godot Scenes:
Menu: Provides a user-friendly interface for file input, allowing users to load .dot and .csv files.
Timeline: Offers an interactive timeline control, enabling users to navigate through different cycles of the data flow graph. This feature allows the observation of the graph's evolution over time.
Legend: Displays a legend that helps users understand and change the various colors used in the graph.
What’s new
Testing