Junction wires not working consistently?

Hello:

I recently started using the junction feature in NR editor and I’m seeing some inconsistent results. In some cases, the logic is not getting triggered for some of the wires. In the example below, the flow never goes through the “Virtual Cancel Lights Off” node and hence the setting of the global variable in the connected node does not happen (you can see there is no output from the debug node directly connected to the “Virtual Cancel Lights Off” after I clicked the “Daily Refresh” inject node.

However, if I directly connect an inject node into the “Virtual Cancel Lights Off” node, I can trigger the output.

Is there a known issue with “junction” wires? Is there an alternative way to achieve the same objective (visual and logic)? I think I previously had wires connect directly and it was a mess :frowning:

UPDATE: NR v 4.09, Node.js v 22.17.1, RPi5

If you ctrl click your inject and debug nodes, what is also selected?

Perhaps I mean shift click.

Shift+click on the Mac? Half my “connected” wires are not selected (the orange wires are selected, others not). I have removed and reconnected the one node that I was testing earlier and it made no difference.

Wow, that is a good catch.

Indulge me.....

What happens if you drag the junction node down a bit?

(Deselect all the other ones and just move it)

Just curious.

Something like this.

1 Like

There are options to select all downstream nodes and all connected nodes. On my PC they are alt-s d and alt-s c, may be different on a mac. They should be on the show action list dropdown.

I guess alt-s c when the junction is selected is the one to go for.

1 Like

Now that is a good catch - they “look” like they are connected but are not actually connected☹️

2 Likes

Sorry, I was kind of thinking that, but didn't want to say it.

All good.

We are allowed to make mistakes. Believe me, I can write a book on them.

Glad you found the problem.

I think that arguably there is a bug there. If two normal nodes overlap then they show a warning exclamation mark. That does not happen with junctions. I think it should.

3 Likes

Yeah - that’s a real pain. Now I have to go find where else I have used junctions and see it they are actually connected.

Thanks for your help @Colin @jbudd @Trying_to_learn

That's easy in some ways.

Just find the junction and then shift click on one of the nodes that connects to it.

ALL nodes then should be selected.

If not, you've found another of this example.

1 Like

Luckily I had not changed too many flows and I was able to find them. All were “connected” correctly with the exception of the original one.

1 Like

Proving that "visual" coding is not always better. :smiley:

1 Like

I don't see that, is it a feature of the Linter?.

Here are two junctions and three ui-tables.

yes. (9ch)

What I'd suggest is when all the wires are visible Control LMB drag over them to put the junction and as you pass over each wire, it turns orange.

If/when you have them all orange, let go.

Then just reposition to where you want it.

If there are problems with a couple of wires,
Leave them for now, reposition the junction node,
Draw a wire from it to where one of the wires goes - and connect it,
Delete the old wire,
Repeat until all the awkward ones are done.

1 Like

That’s pretty much what I ended up by doing. Just deleted the wires and reconnected them to the junction. All good now.

In case you did not realise, you can pick up all the wires on a node's (or junction's) I/O port by holding down SHIFT and click-dragging them to another node. So you could have done them all in one go.

1 Like