# Move all nodes below cursor in node-red editor to make space for adding new nodes

**URL:** https://discourse.nodered.org/t/move-all-nodes-below-cursor-in-node-red-editor-to-make-space-for-adding-new-nodes/68797
**Category:** General
**Tags:** editor
**Created:** [10 October 2022 10:54 UTC](https://discourse.nodered.org/t/move-all-nodes-below-cursor-in-node-red-editor-to-make-space-for-adding-new-nodes/68797 "2022-10-10T10:54:57Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![janvda](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/janvda/32/234_2.png) [@janvda](https://discourse.nodered.org/u/janvda)
#### Post date: [10 October 2022 10:54 UTC](https://discourse.nodered.org/t/move-all-nodes-below-cursor-in-node-red-editor-to-make-space-for-adding-new-nodes/68797/1 "2022-10-10T10:54:57Z")

</div>

When extending my flows with new nodes I often have to move all nodes below it to make space for those new nodes. For this I need to zoom out so that I can select all nodes below it and then move them all at once a bit lower on the canvas. After that I zoom in again so that I can position my new nodes on the free space.

I am just wondering if there is not a more easy way to do so ?

Is there not a short cut that allows me to move all nodes below my cursor a few pixels (like you press enter in a text editor) ?

An alternative is that I can easily select all nodes below my cursor (without the need to zoom out).

FYI here an example of such big flow diagram where this feature would become handy.

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

---

<div class="post-metadata">

### Author: ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)
#### Post date: [10 October 2022 11:04 UTC](https://discourse.nodered.org/t/move-all-nodes-below-cursor-in-node-red-editor-to-make-space-for-adding-new-nodes/68797/2 "2022-10-10T11:04:41Z")

</div>

If they are all connected "downstream" - then you can select them - see [Selection : Node-RED](https://nodered.org/docs/user-guide/editor/workspace/selection) - but not if they are free floating.

---

<div class="post-metadata">

### Author: ![janvda](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/janvda/32/234_2.png) [@janvda](https://discourse.nodered.org/u/janvda)
#### Post date: [10 October 2022 11:36 UTC](https://discourse.nodered.org/t/move-all-nodes-below-cursor-in-node-red-editor-to-make-space-for-adding-new-nodes/68797/3 "2022-10-10T11:36:07Z")

</div>

Thanks - I wasn't aware of this feature.  
In my case I cannot use it as I have free floating nodes below it.

---

<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: [10 October 2022 12:44 UTC](https://discourse.nodered.org/t/move-all-nodes-below-cursor-in-node-red-editor-to-make-space-for-adding-new-nodes/68797/4 "2022-10-10T12:44:50Z")

</div>

> [@janvda](#):
>
> In my case I cannot use it as I have free floating nodes below it.

Sure you can.

- Deselect all nodes (click whitespace)
- hold `CTRL-SHIFT`
- Click the center of a node on each flow you want to select
- drag them to new place

![chrome_qMZ4eIvm3R](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/9/e99cccca7e26b0189b682f0cc072e1ee7ebb0955.gif)

---

<div class="post-metadata">

### Author: ![janvda](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/janvda/32/234_2.png) [@janvda](https://discourse.nodered.org/u/janvda)
#### Post date: [10 October 2022 14:07 UTC](https://discourse.nodered.org/t/move-all-nodes-below-cursor-in-node-red-editor-to-make-space-for-adding-new-nodes/68797/5 "2022-10-10T14:07:28Z")

</div>

For my flow that would be even more work than zooming out and selecting everything you want to move.  
Note that I have a big flow that doesn't fit on my screen unless I zoom out.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/6/6/669024e79a398d3ad8c1456f735e48afae9e6dbd.png)

---

<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: [10 October 2022 14:11 UTC](https://discourse.nodered.org/t/move-all-nodes-below-cursor-in-node-red-editor-to-make-space-for-adding-new-nodes/68797/6 "2022-10-10T14:11:47Z")

</div>

> [@janvda](#):
>
> For my flow that would be even more than work zooming outing and selecting everything you want to move

I agree - but I was clarifying (for you and future readers) it can be done.

I agree it would be useful to select all nodes "below" or "above" or "to the right" etc however this is just one of those annoying but mostly infrequent tasks you just have to get on with 🙂 (i.e. not certain the effort is worth the benefit)

---

<div class="post-metadata">

### Author: ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)
#### Post date: [10 October 2022 14:33 UTC](https://discourse.nodered.org/t/move-all-nodes-below-cursor-in-node-red-editor-to-make-space-for-adding-new-nodes/68797/7 "2022-10-10T14:33:06Z")

</div>

Select menu \> edit \> select all \> click on a node and hold down mouse button \> Now you can drag all nodes. You can deselect what you do not want by holding down ctrl.

Or on my chrome browser I can drag a square around all nodes and using up/down/left/right buttons I can move screen down to make select square bigger and wider.

 ![Screenshot_20221010-153714](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/9/4/943ce5abf66f28ab2321df7422510fae804ee5cc.png)  
 ![Screenshot_20221010-153848](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/7/3/73eae5b4ab583a40147aea0fe7c034202e12c996.png)

---

<div class="post-metadata">

### Author: ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)
#### Post date: [10 October 2022 14:46 UTC](https://discourse.nodered.org/t/move-all-nodes-below-cursor-in-node-red-editor-to-make-space-for-adding-new-nodes/68797/8 "2022-10-10T14:46:52Z")

</div>

I suppose you could also (without zooming out quite so far) - select all - move all down - knowing that unseen ones will also move - then re-select just the top ones instead and move them back up to create space.

---

<div class="post-metadata">

### Author: ![janvda](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/janvda/32/234_2.png) [@janvda](https://discourse.nodered.org/u/janvda)
#### Post date: [10 October 2022 17:35 UTC](https://discourse.nodered.org/t/move-all-nodes-below-cursor-in-node-red-editor-to-make-space-for-adding-new-nodes/68797/9 "2022-10-10T17:35:41Z")

</div>

> [@E1cid](#):
>
> Or on my chrome browser I can drag a square around all nodes and using up/down/left/right buttons I can move screen down to make select square bigger and wider.

I tried using up/down/left/right buttons on my macbook in chrome after I dragged a square around some nodes but that deselects them.

---

<div class="post-metadata">

### Author: ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)
#### Post date: [10 October 2022 18:02 UTC](https://discourse.nodered.org/t/move-all-nodes-below-cursor-in-node-red-editor-to-make-space-for-adding-new-nodes/68797/10 "2022-10-10T18:02:04Z")

</div>

Try keys A,D,W,S. They are configure to scroll left, right, up, down

---

<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: [9 December 2022 18:02 UTC](https://discourse.nodered.org/t/move-all-nodes-below-cursor-in-node-red-editor-to-make-space-for-adding-new-nodes/68797/11 "2022-12-09T18:02:50Z")

</div>

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