Skip to content

Commit db78e43

Browse files
Remove outdated widget/input mode toggle references (#602)
* Update development/core-concepts/nodes.mdx * Update development/core-concepts/nodes.mdx * Update zh-CN/development/core-concepts/nodes.mdx * Update zh-CN/development/core-concepts/nodes.mdx * Update development/core-concepts/nodes.mdx * Update zh-CN/development/core-concepts/nodes.mdx --------- Co-authored-by: mintlify[bot] <109931778+mintlify[bot]@users.noreply.github.com> Co-authored-by: ComfyUI Wiki <[email protected]>
1 parent d9b6339 commit db78e43

File tree

2 files changed

+6
-46
lines changed

2 files changed

+6
-46
lines changed

development/core-concepts/nodes.mdx

Lines changed: 3 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ As ComfyUI evolves, we may expand to more data types to meet the needs of more s
7272
We provide various style settings for you to customize the appearance of nodes:
7373
- Modify styles
7474
- Double-click the node title to modify the node name
75-
- Switch node inputs between input sockets and widgets through the context menu
7675
- Resize the node by dragging any corner
7776

7877
<video
@@ -115,7 +114,6 @@ In the node's right-click context menu, you can:
115114
In this menu, besides appearance-related settings, the following menu operations are important:
116115

117116
- **Mode**: Set the node's mode: Always, Never, Bypass
118-
- **Toggle between Widget and Input mode for node inputs**: Switch between widget and input mode for node inputs
119117

120118
#### Mode
121119
For modes, you may notice that we currently provide: Always, Never, On Event, On Trigger - four modes, but actually only **Always** and **Never** are effective. **On Event** and **On Trigger** are currently ineffective as we haven't fully implemented this feature. Additionally, you can understand **Bypass** as a mode. Below is an explanation of the available modes:
@@ -132,31 +130,13 @@ In this comparison example, you can see that both workflows apply two LoRA model
132130
- The node set to `Never` mode causes subsequent nodes to show errors because they don't receive any input data
133131
- The node set to `Bypass` mode still allows subsequent nodes to receive unprocessed data, so they load the output data from the first `Load LoRA` node, allowing the subsequent workflow to continue running normally
134132

135-
#### Switching Between Widget and Input Mode for Node Inputs
133+
### Input/Output Context Menu
136134

137-
In some cases, we need to use output results from other nodes as input. In this case, we can switch between widget and input mode for node inputs.
138-
139-
Here's a very simple example:
140-
141-
![Switch Widget and Input Mode](/images/concepts/node/switch_widget.jpg)
142-
143-
By switching the K-Sampler's Seed from widget to input mode, multiple nodes can share the same seed, achieving variable uniformity across multiple samplers.
144-
Comparing the first node with the subsequent two nodes, you can see that the seed in the latter two nodes is in input mode. You can also convert it back to widget mode:
145-
146-
![Convert Input Mode](/images/concepts/node/convert_input.jpg)
147-
148-
<Note>
149-
After frontend version v1.16.0, we improved this feature. Now you only need to directly connect the input line to the corresponding widget to complete this process
150-
<blockquote class="twitter-tweet"><p lang="en" dir="ltr">Say goodbye to annoying widget &lt;&gt; socket conversion starting from frontend version v1.16.0! Now each widget just always have an associated input socket by default <a href="https://twitter.com/hashtag/ComfyUI?src=hash&amp;ref_src=twsrc%5Etfw">#ComfyUI</a> <a href="https://t.co/sP9HHKyGYW">pic.twitter.com/sP9HHKyGYW</a></p>&mdash; Chenlei Hu (@HclHno3) <a href="https://twitter.com/HclHno3/status/1909059259536375961?ref_src=twsrc%5Etfw">April 7, 2025</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
151-
</Note>
152-
153-
### Input/Output node search
154-
155-
This feature is related to the data type of the corresponding input/output:
135+
This context menu is mainly related to the data type of the corresponding input/output:
156136

157137
![Node Input/Output Context Menu](/images/concepts/node/context_menus_2.jpg)
158138

159-
When dragging a connection from a node's input or output and releasing it on the graph without connecting to another node, the standard node search box appears. The initial search results are filtered to show only nodes with compatible input/output types, allowing you to quickly add related nodes.
139+
When dragging the input/output of a node, if a connection appears but you haven't connected to another node's input or output, releasing the mouse will pop up a context menu for the input/output, used to quickly add related types of nodes.
160140
You can adjust the number of node suggestions in the settings:
161141

162142
![Node Suggestion Count](/images/concepts/node/node_suggestions.jpg)

zh-CN/development/core-concepts/nodes.mdx

Lines changed: 3 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ ComfyUI 正在持续开发中,文档中的部分内容可能已过时。如果
6767
我们为提供了多种样式设置,你可以根据你的需求来设置节点的外观:
6868
- 修改样式
6969
- 双击节点标题修改节点名称
70-
- 通过上下文菜单将节点输入在 input 和 组件(widget)之间进行切换
7170
- 通过拖拽节点任意角来缩放节点尺寸
7271

7372
<video
@@ -110,7 +109,6 @@ ComfyUI 正在持续开发中,文档中的部分内容可能已过时。如果
110109
在这个菜单中,除了外观相关的设置比较重要的是下面的菜单操作
111110

112111
- **模式(Mode)**: 设置节点的模式,Always、Never、绕过(Bypass)
113-
- **切换节点输入的控件(Widget)和 输入模式**: 切换节点输入的控件(Widget)和 输入模式
114112

115113
#### 模式(Mode)
116114
对于模式,你可能注意到目前我们提供了:Always、Never、On Event、On Trigger 四种模式,但实际上只有 **Always****Never** 是有效的,**On Event****On Trigger** 实际上是无效的,目前我们尚未完全实现这个功能,另外你可以把 **绕过(Bypass)** 也理解为一种模式,下面是对于几种可用模式的解释
@@ -127,31 +125,13 @@ ComfyUI 正在持续开发中,文档中的部分内容可能已过时。如果
127125
- 被设置为 `Never` 模式的节点,后续的节点由于接收不到任何的输入数据而出现了报错
128126
- 被设置为 `Bypass` 模式的节点,后续的节点仍旧可以获取到未经这个节点处理的数据,从而加载了第一个`Load LoRA` 节点的输出数据,所以后续的工作流依旧可以正常运行
129127

130-
#### 切换节点输入的控件(Widget)和 输入模式
128+
### 输入 / 输出的上下文菜单
131129

132-
在有些情况下,我们需要使用来自其它节点的输出结果作为输入,此时我们就可以通过切换节点输入的控件(Widget)和 输入模式来实现。
133-
134-
下面是一个非常简单的例子:
135-
136-
![切换控件和输入模式](/images/concepts/node/switch_widget.jpg)
137-
138-
通过将 K-Sampler 的 Seed 从输入控件(Widget)切换为输入模式,从而统一多个节点的 seed ,实现多个采样间的变量统一。
139-
对比第一个节点和后续的两个节点,你可以看到后两个节点的 seed 是输入模式了,同样你还可以把它再转换回控件模式:
140-
141-
![转换控件和输入模式](/images/zh/core-concept/node/convert_input.jpg)
142-
143-
<Note>
144-
前端 v1.16.0 版本后,我们改进了这一功能,现在你只需要直接将输入端的连线直接连接到对应组件,即可完成这一过程
145-
<blockquote class="twitter-tweet"><p lang="en" dir="ltr">Say goodbye to annoying widget &lt;&gt; socket conversion starting from frontend version v1.16.0! Now each widget just always have an associated input socket by default <a href="https://twitter.com/hashtag/ComfyUI?src=hash&amp;ref_src=twsrc%5Etfw">#ComfyUI</a> <a href="https://t.co/sP9HHKyGYW">pic.twitter.com/sP9HHKyGYW</a></p>&mdash; Chenlei Hu (@HclHno3) <a href="https://twitter.com/HclHno3/status/1909059259536375961?ref_src=twsrc%5Etfw">April 7, 2025</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
146-
</Note>
147-
148-
### 输入 / 输出节点搜索
149-
150-
此功能与对应输入输出的数据类型相关
130+
这里上下文菜单主要和对应输入输出的数据类型相关
151131

152132
![节点输入输出上下文菜单](/images/concepts/node/context_menus_2.jpg)
153133

154-
在拖动节点的输入 / 输出连线时,如果在画布上释放鼠标而未连接到其它节点,此时会弹出标准的节点搜索框。初始搜索结果会自动筛选显示具有兼容输入/输出类型的节点,方便你快速添加相关类型的节点
134+
在拖动节点的输入 / 输出的时候,当有连线出现,但你未连接到其它节点的输入或输出的时候,此时释放鼠标则会弹出针对输入 / 输出的上下文菜单,用于快速添加相关类型的节点
155135
你可以在设置中调整对应的节点建议的数量
156136

157137
![节点建议数量](/images/zh/core-concept/node/node_suggestions.jpg)

0 commit comments

Comments
 (0)