dify/api/core/workflow/graph
Harry aad31bb703 feat(api): enhance workflow validation and structure checks
- Added a new validation class to ensure that trigger nodes do not coexist with UserInput (start) nodes in the workflow graph.
- Implemented a method in WorkflowService to validate the graph structure before persisting workflows, leveraging the new validation logic.
- Updated unit tests to cover the new validation scenarios and ensure proper error propagation.
2025-11-11 14:52:13 +08:00
..
__init__.py
edge.py
graph.py
graph_template.py
validation.py feat(api): enhance workflow validation and structure checks 2025-11-11 14:52:13 +08:00