node-red/node-red
Voir sur GitHubimprovements to programmatic flows API - addflow/removeflow
Open
#1 372 ouverte le 21 août 2017
buggood first issueruntime
Description
This issue is a location to hold suggestions for improvements to the programmatic flows interface, and will result eventually in a PR.
Currently, RED.nodes.addFlow/updateFlow does not support .disabled, and RED.nodes.enableFlow/disableFlow are not implemented.
Suggested improvements which could be considered: addFlow to accept .disabled. addFlow to accept multiple flows in one hit. removeFlow to accept multiple flows in one hit. updateFlow to accept multiple flows in one hit, and support .disabled implement enableFlow/disableFlow.
Other improvements to consider?