A custom node for ComfyUI that lets you route signals through named lines inside a single node.
It is designed for workflows where you want to manage multiple signal lines more clearly, switch between single-line and multi-line behavior, and keep the routing visually organized.
Features
Up to 32 lines
Single-line mode
Multi-line mode
Per-line enable/disable toggle
Custom line names
Dynamic input/output labels
Delete line button
Persistent UI state
How it works
The node lets you manage multiple input lines and control which of them are active.
Multi mode ON
Each enabled input line is routed to its corresponding output.
Multi mode OFF
Only one selected line is active, and its signal is routed to the main output.
Installation
Clone this repository into your ComfyUI/custom_nodes folder:
cd ComfyUI/custom_nodes
git clone https://github.com/xelavi9966-cell/ComfyUI-LineSignalRouter.gitOr download the release archive and extract it into:
ComfyUI/custom_nodes/ComfyUI-LineSignalRouterThen restart ComfyUI.
GitHub
Repository:https://github.com/xelavi9966-cell/ComfyUI-LineSignalRouter
Notes
In single mode, only one line should be active
In multi mode, enabled lines map to matching outputs
UI state and line names are stored inside the node state
