# Delay Node is it the "Wrong Way Round?"

**URL:** <https://discourse.nodered.org/t/delay-node-is-it-the-wrong-way-round/31163>\
**Category:** General\
**Created:** [5 August 2020 09:02 UTC](https://discourse.nodered.org/t/delay-node-is-it-the-wrong-way-round/31163 "2020-08-05T09:02:26Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Diez66](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/diez66/32/44460_2.png) [@Diez66](https://discourse.nodered.org/u/Diez66)\
**Post date:** [5 August 2020 09:02 UTC](https://discourse.nodered.org/t/delay-node-is-it-the-wrong-way-round/31163/1 "2020-08-05T09:02:27Z")

</div>

Yes, Maybe, No?  
I have had a brief look and see nothing like this, but I did miss that bus!  
The "Delay Node" woks well but looks rubbish in a flow, why?  
When I see a flow with a delay that feeds back the flow looks messy and, for me, a bit less easy for the eye to follow.  
I would like the option to make the delay node have its input on the right and output on the left.  
Does this exist?

I suspect that it may not be a wonderful idea as it will be the "Wrong Way Round", I like the possibility!  
Maybe I should make a new node?

---

<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:** [5 August 2020 09:06 UTC](https://discourse.nodered.org/t/delay-node-is-it-the-wrong-way-round/31163/2 "2020-08-05T09:06:22Z")

</div>

I think it is un-changable that inputs are on the left and outputs on the right.

To me that makes sense. Reading left to right. The _signal_ goes into the node, is delayed and sent out the right side.

---

<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:** [5 August 2020 09:22 UTC](https://discourse.nodered.org/t/delay-node-is-it-the-wrong-way-round/31163/3 "2020-08-05T09:22:04Z")

</div>

> [@Diez66](#):
>
> When I see a flow with a delay that feeds back the flow looks messy and, for me, a bit less easy for the eye to follow.

Can you share an example of what you mean? Why is this particular to the Delay node? Surely _any_ node could have a wire that connects to a node that is positioned to the left of it.

Inputs and outputs are not swappable.

---

<div class="post-metadata">

**Author:** ![Diez66](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/diez66/32/44460_2.png) [@Diez66](https://discourse.nodered.org/u/Diez66)\
**Post date:** [5 August 2020 09:32 UTC](https://discourse.nodered.org/t/delay-node-is-it-the-wrong-way-round/31163/4 "2020-08-05T09:32:41Z")

</div>

Totally agree but the flow would look less twisted.  
I suspect that you are right however and it is not reversible.  
I think, if possible, it would need a great graphic to highlight its "wrongness".

---

<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:** [5 August 2020 09:41 UTC](https://discourse.nodered.org/t/delay-node-is-it-the-wrong-way-round/31163/5 "2020-08-05T09:41:12Z")

</div>

One way to avoid the loop back is to use two link nodes, one going out on the right hand side and another picking it up again on the left.

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/b/eb9dcde1573a37fba914b537fb02bf863c48b47d.png)

When you select one of the links it shows the path back.

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/9/0/90c73fb271c7eb64eb1311b975e55e38e13212d7.png)

---

<div class="post-metadata">

**Author:** ![molesworth](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/molesworth/32/11748_2.png) [@molesworth](https://discourse.nodered.org/u/molesworth)\
**Post date:** [5 August 2020 10:03 UTC](https://discourse.nodered.org/t/delay-node-is-it-the-wrong-way-round/31163/6 "2020-08-05T10:03:00Z")

</div>

If you change this (or any) node's "direction" then anyone connecting the output forward in the normal direction, as I do, would have to have loops for their flows, so it's better to have a standard convention that everyone understands.

As @Colin mentioned you can use link nodes, or just spend a bit of time tidying up the flows to keep everything neat (my approach).

---

<div class="post-metadata">

**Author:** ![Diez66](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/diez66/32/44460_2.png) [@Diez66](https://discourse.nodered.org/u/Diez66)\
**Post date:** [5 August 2020 10:45 UTC](https://discourse.nodered.org/t/delay-node-is-it-the-wrong-way-round/31163/7 "2020-08-05T10:45:19Z")

</div>

I have just tried this, moments before you suggested it, it does look tidier.  
Looking and then asking the question made me think about this, more so, so that was good.  
Great suggestion, thanks.

---

<div class="post-metadata">

**Author:** ![Diez66](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/diez66/32/44460_2.png) [@Diez66](https://discourse.nodered.org/u/Diez66)\
**Post date:** [5 August 2020 10:47 UTC](https://discourse.nodered.org/t/delay-node-is-it-the-wrong-way-round/31163/8 "2020-08-05T10:47:12Z")

</div>

I sort of agree, hence the "Yes, Maybe No!" in the question.  
I have now tried the Link in/out, as suggested, and it looks tidier.  
Thanks.

---

<div class="post-metadata">

**Author:** ![Diez66](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/diez66/32/44460_2.png) [@Diez66](https://discourse.nodered.org/u/Diez66)\
**Post date:** [5 August 2020 10:50 UTC](https://discourse.nodered.org/t/delay-node-is-it-the-wrong-way-round/31163/9 "2020-08-05T10:50:19Z")

</div>

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/c/0/c02c418cab1f30b56aabb2ed5ed6044f690f5715.png)  
My tidier, now, flow. Thanks

---

<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:** [4 October 2020 10:50 UTC](https://discourse.nodered.org/t/delay-node-is-it-the-wrong-way-round/31163/10 "2020-10-04T10:50:25Z")

</div>

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