# WIRE JUNCTIONS - not getting the results I expect

**URL:** <https://discourse.nodered.org/t/wire-junctions-not-getting-the-results-i-expect/81217>\
**Category:** General\
**Created:** [12 September 2023 05:19 UTC](https://discourse.nodered.org/t/wire-junctions-not-getting-the-results-i-expect/81217 "2023-09-12T05:19:41Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [12 September 2023 05:19 UTC](https://discourse.nodered.org/t/wire-junctions-not-getting-the-results-i-expect/81217/1 "2023-09-12T05:19:41Z")

</div>

Ok, so I have some _wires_ and want to add a `junction`.

I press/hold `ALT` and `SHIFT` and drag.  
The wires become orange / dashed.  
When I let go sometimes it `junction` is in a nice place.

Sometimes: It isn't.

Saying I am taking many nodes into one node.  
(many to 1)

The `junction` appears UNDER the input point of the node into which they are all going.

If going from 1 to many:  
It appears under the output of the node from which all the wires are leaving.

I run the mouse through the (approximately) middle of the _wires_ length.  
What am I doing wrong?

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [12 September 2023 13:33 UTC](https://discourse.nodered.org/t/wire-junctions-not-getting-the-results-i-expect/81217/2 "2023-09-12T13:33:30Z")

</div>

Do you do know that you can click on the junction and move it around....

---

<div class="post-metadata">

**Author:** ![jbudd](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jbudd](https://discourse.nodered.org/u/jbudd)\
**Post date:** [12 September 2023 14:29 UTC](https://discourse.nodered.org/t/wire-junctions-not-getting-the-results-i-expect/81217/3 "2023-09-12T14:29:44Z")

</div>

For me it always seems to put the junction more or less where I crossed the first wire (Firefox on Windows)  
What browser are you using and what platform is it running on?

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [12 September 2023 20:16 UTC](https://discourse.nodered.org/t/wire-junctions-not-getting-the-results-i-expect/81217/4 "2023-09-12T20:16:46Z")

</div>

Yes I know I can move it.

Just when it is so close to the other node, I sometimes have to move it to get to the junction.

Firefox Ubuntu or RasPies.

Ubuntu is the main machine.

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [13 September 2023 08:08 UTC](https://discourse.nodered.org/t/wire-junctions-not-getting-the-results-i-expect/81217/5 "2023-09-13T08:08:14Z")

</div>

> [@Trying\_to\_learn](#):
>
> If going from 1 to many:  
> It appears under the output of the node from which all the wires are leaving.
> 
> I run the mouse through the (approximately) middle of the _wires_ length.  
> What am I doing wrong?

It would be super helpful to have a screenshot so we can see the exact arrangement of wires you have - before and after.

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [13 September 2023 08:42 UTC](https://discourse.nodered.org/t/wire-junctions-not-getting-the-results-i-expect/81217/6 "2023-09-13T08:42:59Z")

</div>

I shall try to remember and do that.

Alas I get _head down bum up_ writing code and forget to catch/monitor these things.

But shall really try to get more information.

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [15 September 2023 23:23 UTC](https://discourse.nodered.org/t/wire-junctions-not-getting-the-results-i-expect/81217/7 "2023-09-15T23:23:41Z")

</div>

Example.

Please understand this is not exactly how it normally happens.

I've been taking screen shots a lot when I am adding `junctions` and - of course - they are working.

Before

 ![Screenshot from 2023-09-16 09-17-36](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/0/9/0984ea98fa437985870851b433488843662688d8.png)

After

 ![Screenshot from 2023-09-16 09-17-43](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/0/6/06b4f28e7e42fe2111a3c76f8bc2c5ea5ca1c4be.png)

Now I kind of get that this is an EXTREME example.  
The other times it wasn't this _tight_ for space.

But it is an example.

Grid size `10`  
Way better resolution that the nodes and their spacing.

Sorry it is so tightly cropped.  
(hindsight, etc)  
But you can see the space between the `button` and the `change`. (The `switch` is half occupying the space, so there must be room between the two nodes)

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [16 September 2023 00:19 UTC](https://discourse.nodered.org/t/wire-junctions-not-getting-the-results-i-expect/81217/8 "2023-09-16T00:19:24Z")

</div>

# UPDATE!

It happened again - even better!

Where I am going to put the `junction`. This is about where I dragged the mouse to put in the junction also.  
Just so it can't be suspected I did it close the other junction.

 ![Screenshot from 2023-09-16 10-15-03](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/9/59b0c9d68d05adb3bcd5992ae2db8f71c96860c1.png)

Note how the new `junction` is under the other `junction's` input.

 ![Screenshot from 2023-09-16 10-15-10](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/b/eb86e726ff36aa4a6e5b548787010e4599d09c8b.png)

---

<div class="post-metadata">

**Author:** ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Post date:** [16 September 2023 10:54 UTC](https://discourse.nodered.org/t/wire-junctions-not-getting-the-results-i-expect/81217/9 "2023-09-16T10:54:28Z")

</div>

I think this is one to just accept as being a little bit annoying but might get improved sometime 🙂

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [19 September 2023 02:49 UTC](https://discourse.nodered.org/t/wire-junctions-not-getting-the-results-i-expect/81217/10 "2023-09-19T02:49:14Z")

</div>

I agree.

I just wanted to _put it on the table_ for future addressing.

I'll say it is closed/solved so as to not have it hanging around doing anything.

---

<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:** [3 October 2023 02:49 UTC](https://discourse.nodered.org/t/wire-junctions-not-getting-the-results-i-expect/81217/11 "2023-10-03T02:49:17Z")

</div>

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