-
Notifications
You must be signed in to change notification settings - Fork 14
feat: implement DAG visualization and debug panel with flowState props #311
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
a6b533c to
8acb90c
Compare
3f40fb5 to
bf3ad7f
Compare
8acb90c to
65e42c7
Compare
65e42c7 to
4aa3dfb
Compare
bf3ad7f to
26ba852
Compare
26ba852 to
e9332db
Compare
1e2b5bb to
a4b4af9
Compare
1a0aab0 to
946dd0f
Compare
a4b4af9 to
0fdf559
Compare
…tion - Added detailed documentation and philosophy on state management using createFlowState() - Updated DAGVisualization component to receive flowState via props for dynamic styling - Created DebugPanel component to display step statuses, outputs, errors, and event stream - Modified page layout to include both DAG visualization and debug panel with shared flowState - Improved event handling and reactivity by leveraging createFlowState's automatic subscriptions - Updated troubleshooting tips for rendering, reactivity, and animation issues - Overall improvements facilitate observability, debugging, and real-time monitoring of data flow
0fdf559 to
baea171
Compare
946dd0f to
67ad902
Compare
|
View your CI Pipeline Execution ↗ for commit 67ad902
☁️ Nx Cloud last updated this comment at |
Merge activity
|
#311) # DAG Visualization and Debug Panel for pgflow Demo This PR adds a visual DAG (Directed Acyclic Graph) representation and a comprehensive debug panel to the pgflow demo application. The implementation provides real-time visualization of workflow execution and detailed debugging information. Key features: - **DAG Visualization Component**: Displays a 4-node graph showing the article processing workflow with dynamic styling based on execution state (pending, running, completed, failed) - **Debug Panel Component**: Shows run information, step states, and a real-time event stream - **Improved State Management**: Utilizes the existing `createFlowState()` pattern for reactive state management - **UI Framework**: Implements shadcn/svelte components with a dark theme for a polished interface - **Two-Column Layout**: Organizes the UI with DAG visualization on the left and debug panel on the right Technical improvements: - Added watchdog SQL migration to ensure the article flow worker stays running - Fixed broadcast order and timestamp handling in pgflow SQL functions - Updated Tailwind to v4 with proper configuration for the new styling system - Added animation support for visual feedback during workflow execution This enhancement provides a much clearer visualization of the workflow execution process, making it easier to understand and debug pgflow applications.

DAG Visualization and Debug Panel for pgflow Demo
This PR adds a visual DAG (Directed Acyclic Graph) representation and a comprehensive debug panel to the pgflow demo application. The implementation provides real-time visualization of workflow execution and detailed debugging information.
Key features:
createFlowState()pattern for reactive state managementTechnical improvements:
This enhancement provides a much clearer visualization of the workflow execution process, making it easier to understand and debug pgflow applications.