node-red/node-red

improvements to programmatic flows API - addflow/removeflow

Open

#1 372 ouverte le 21 août 2017

Voir sur GitHub
 (4 commentaires) (0 réactions) (0 assignés)JavaScript (18 125 stars) (3 280 forks)batch import
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?

Guide contributeur