node-red-contrib-quick-link 0.2.0
Create native Node-RED link nodes quickly from a node's right-click menu, including links across flow tabs.
node-red-contrib-quick-link
Quick Link is a Node-RED editor plugin that makes native link nodes faster to create.
How it works
Right-click a node and open the Link submenu.
- Choose Link mark on the first node
- Right-click the second node and open Link
- Choose Link to or Link from
The direction is based on the node you currently right-clicked:
- Link to creates a link from the marked node to the current node
- Link from creates a link from the current node to the marked node
Quick Link then creates and connects normal Node-RED link out and link in nodes:
The generated nodes work like link nodes you add manually, including links between flows.
Menu options
The submenu only shows actions that make sense for the selected node:
| Selected node | Available actions |
|---|---|
| Has an input | Link mark, Link to |
| Has an output | Link mark, Link from |
| Has inputs and outputs | Link mark, Link to, Link from |
| Has no inputs or outputs | No Link submenu |
Link to and Link from stay disabled until a compatible node has been marked.
When the source node has one output, the link is created immediately. When it has multiple outputs, Quick Link asks which output you want to use.
Notes
- Locked or disabled flows are not changed
- Links can cross regular flow tabs
- Links cannot cross into or out of a subflow
- Nodes inside the same subflow can be linked
License
MIT