Ultimate Grid Dashboard (Viewer):
The UltimateGridDashboard is a sophisticated node designed to provide a comprehensive and interactive interface for visualizing and managing the configurations and results of the Ultimate Sampler Grid. Its primary purpose is to serve as a viewer that allows you to load, view, and interact with session data generated by the Ultimate Sampler Grid. This node is particularly beneficial for AI artists who need to analyze and compare different sampling configurations and their outcomes. By offering a user-friendly dashboard, it simplifies the process of reviewing session data, making it accessible even to those without a technical background. The node ensures that the correct session data is displayed by dynamically generating HTML content and injecting the appropriate node identifiers, thus maintaining the integrity and accuracy of the displayed information.
Ultimate Grid Dashboard (Viewer) Input Parameters:
session_name
The session_name parameter is used to specify the name of the session you wish to view or load. It plays a crucial role in identifying and retrieving the correct session data from the disk. The session name is sanitized to remove any non-alphanumeric characters, ensuring that it is safe for use in file paths. If no session name is provided, a default value of "default_session" is used. This parameter directly impacts the data displayed on the dashboard, as it determines which session's results are loaded and visualized.
unique_id
The unique_id parameter is a critical identifier for the dashboard node. It ensures that the HTML content generated for the dashboard is correctly associated with this specific node instance. By injecting the unique ID into the HTML, the node guarantees that any interactive elements or listeners within the dashboard function correctly, maintaining the integrity of the user interface. This parameter does not have a minimum or maximum value but is essential for the proper operation of the dashboard.
dashboard_html
The dashboard_html parameter is an optional input that allows you to provide pre-generated HTML content for the dashboard. If provided, the node will use this HTML to display the session data. The node will also extract the session name from the HTML if it is embedded within it. This parameter offers flexibility in how the dashboard is rendered, allowing for custom HTML content to be used if desired.
Ultimate Grid Dashboard (Viewer) Output Parameters:
ui
The ui output parameter is a dictionary that contains the HTML content to be displayed in the dashboard. It includes the dynamically generated or provided HTML, ensuring that the correct session data is visualized. Additionally, it may contain an updated session name if it was extracted from the HTML. This output is crucial for rendering the user interface and providing a seamless experience for interacting with the session data.
Ultimate Grid Dashboard (Viewer) Usage Tips:
- Ensure that the
session_nameis correctly specified to load the desired session data. Use descriptive and unique names for different sessions to avoid confusion. - If you have custom HTML content for the dashboard, use the
dashboard_htmlparameter to provide it. This can be useful for integrating additional visual elements or custom styles. - Regularly update the
unique_idto ensure that the dashboard's interactive elements function correctly, especially if you are working with multiple instances of the node.
Ultimate Grid Dashboard (Viewer) Common Errors and Solutions:
Session 'session_name' not found.
- Explanation: This error occurs when the specified session name does not correspond to any existing session data on the disk.
- Solution: Verify that the session name is correct and that the session data exists in the expected directory. Ensure that the session name is sanitized and does not contain any invalid characters.
Error loading session: <error_message>
- Explanation: This error indicates that there was an issue loading the session data, possibly due to a corrupted or missing manifest file.
- Solution: Check the integrity of the manifest file and ensure it is present in the session directory. If the file is corrupted, try regenerating the session data or restoring it from a backup.
