Updated Design: Node Generator (markdown)

Kazuhito Yokoi 2018-08-08 15:26:28 +09:00
parent dfa6396cd9
commit 56d2ed3f70
1 changed files with 1 additions and 1 deletions

@ -12,7 +12,7 @@ Swagger is one of the famous specification for REST API. And its used for API
In general, Node-RED users write JavaScript code in function node when they want to realize custom handling or algorism. Current function node isnt suitable for reusing nodes because the way to share their function node is only flow exporting function using JSON data. To solve the problem, Node generator supports creating original nodes from JavaScript code in function node. Node-RED users can easily create original nodes and publish them on npm library to share their nodes with other Node-RED users.
### (3) Subflow
In terms of reuse, subflow unit is also suitable for sharing with other Node-RED users. In the future, Node generator will support to create original node from subflow. Node-RED users can wrap flow as original nodes. For example, template node which has authentication header and http request node which has URL are a typical pair which a lot of Node-RED users use to connect to cloud services. Node-RED generator can generate original nodes from subflow which has the flow. And they can easily share them with other Node-RED users via npm repository.
In terms of reuse, subflow unit is also suitable for sharing with other Node-RED users. In the future, Node generator will support to create original node from subflow. Node-RED users can wrap flow as original nodes. For example, template node which has authentication header and http request node which has URL are a typical pair which a lot of Node-RED users use to connect to cloud services. Node generator can generate original nodes from subflow which has the flow. And they can easily share them with other Node-RED users via npm repository.
## Flow editor UI design
In the first version, Node-RED flow editor will support to generate nodes from Swagger definition and function node. “Creating nodes” item will be added under “Export” in the menu.