mirror of https://github.com/langgenius/dify.git
- 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. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| edge.py | ||
| graph.py | ||
| graph_template.py | ||
| validation.py | ||