# Is there any way to show the switch node labels?

**URL:** https://discourse.nodered.org/t/is-there-any-way-to-show-the-switch-node-labels/57854
**Category:** General
**Created:** [6 February 2022 02:36 UTC](https://discourse.nodered.org/t/is-there-any-way-to-show-the-switch-node-labels/57854 "2022-02-06T02:36:47Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![xxKeoxx](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/xxkeoxx/32/55558_2.png) [@xxKeoxx](https://discourse.nodered.org/u/xxKeoxx)
#### Post date: [6 February 2022 02:36 UTC](https://discourse.nodered.org/t/is-there-any-way-to-show-the-switch-node-labels/57854/1 "2022-02-06T02:36:47Z")

</div>

I am trying to find a way to show a label for each output from a switch. Right now its tough to see the path of a flow through a switch without opening the switch node in edit mode.

Any advice on how to do that?

---

<div class="post-metadata">

### Author: ![LosinIt](https://avatars.discourse-cdn.com/v4/letter/l/439d5e/32.png) [@LosinIt](https://discourse.nodered.org/u/LosinIt)
#### Post date: [6 February 2022 02:44 UTC](https://discourse.nodered.org/t/is-there-any-way-to-show-the-switch-node-labels/57854/2 "2022-02-06T02:44:29Z")

</div>

Just hover the cursor over the output and a tooltip will pop up.

---

<div class="post-metadata">

### Author: ![smanjunath211](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/smanjunath211/32/95742_2.png) [@smanjunath211](https://discourse.nodered.org/u/smanjunath211)
#### Post date: [6 February 2022 04:12 UTC](https://discourse.nodered.org/t/is-there-any-way-to-show-the-switch-node-labels/57854/3 "2022-02-06T04:12:17Z")

</div>

the text that appears on hovering over the outputs can also be customised in the Edit Properties in the _appearance_ tab.

![switchnode](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/5/e5ec97962fbce35b9ec2ea4eb0d11e2524bf07da.gif)

---

<div class="post-metadata">

### Author: ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)
#### Post date: [6 February 2022 10:59 UTC](https://discourse.nodered.org/t/is-there-any-way-to-show-the-switch-node-labels/57854/4 "2022-02-06T10:59:32Z")

</div>

You can also approximate it by using the name with embedded newlines. I normally add a number to make things clear.

---

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [6 February 2022 11:03 UTC](https://discourse.nodered.org/t/is-there-any-way-to-show-the-switch-node-labels/57854/5 "2022-02-06T11:03:51Z")

</div>

I do the same 🙂  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/1/e/1e48f8ffd17cc9962e1038daf3ed1d39d7291e4e.png)

@xxKeoxx Set the label to `1. Less than 4 \n 2. Otherwise`

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [6 February 2022 11:22 UTC](https://discourse.nodered.org/t/is-there-any-way-to-show-the-switch-node-labels/57854/6 "2022-02-06T11:22:42Z")

</div>

That is clever, I like that.  
I feel the urge to go through all my flows doing that.

---

<div class="post-metadata">

### Author: ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)
#### Post date: [6 February 2022 12:52 UTC](https://discourse.nodered.org/t/is-there-any-way-to-show-the-switch-node-labels/57854/7 "2022-02-06T12:52:14Z")

</div>

I only do it if the logic isn't otherwise obvious. Not for everything.

Of course, this does yet again raise the question of wire labelling. I know this has been raised in the past but then the context was that wires don't have any metadata associated with them.

But this makes me think: could the port labels have an option that shows them permanently - possibly overlaid on the wires? That way, no change to the wire data is needed.

---

<div class="post-metadata">

### Author: ![xxKeoxx](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/xxkeoxx/32/55558_2.png) [@xxKeoxx](https://discourse.nodered.org/u/xxKeoxx)
#### Post date: [6 February 2022 16:56 UTC](https://discourse.nodered.org/t/is-there-any-way-to-show-the-switch-node-labels/57854/8 "2022-02-06T16:56:34Z")

</div>

Thanks everyone for the suggestions. I will give all of these a try!

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [7 April 2022 16:57 UTC](https://discourse.nodered.org/t/is-there-any-way-to-show-the-switch-node-labels/57854/9 "2022-04-07T16:57:32Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
