-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Implement validation checks in plugboard-schemas for Process objects. Start with implementing the following checks:
- Check that all component inputs are connected.
- Check all components with input events, and make sure there exists in the process a component that outputs the required event type.
- Check for circular connections within the process topology. These circular loops must only be considered valid if there are
initial_valuesset on an appropriate component input within the loop.
For (3) we can use Johnson's algorithm to find all simple circuits within the process. Implement this as a utility in plugboard-schemas, i.e. try not to introduce additional dependencies. Info on the algorithm can be found at https://github.com/qpwo/python-simple-cycles/blob/master/johnson.py.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request