# Alignment when snapping to grid

**URL:** <https://discourse.nodered.org/t/alignment-when-snapping-to-grid/53551>\
**Category:** Feature Requests\
**Created:** [11 November 2021 08:21 UTC](https://discourse.nodered.org/t/alignment-when-snapping-to-grid/53551 "2021-11-11T08:21:58Z")\
**Posts on this page:** 11\
**Page:** 4

<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:** [13 November 2021 13:29 UTC](https://discourse.nodered.org/t/alignment-when-snapping-to-grid/53551/61 "2021-11-13T13:29:49Z")

</div>

🙂  
That does look nice - the candles on the cake is a nice touch 🙂

---

<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:** [13 November 2021 13:31 UTC](https://discourse.nodered.org/t/alignment-when-snapping-to-grid/53551/62 "2021-11-13T13:31:49Z")

</div>

[Feature Request within Feature Request]

Stick a red warning flag out of the node, when you deploy if they are touching - that'll stop us from doing it 🙂

---

<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:** [13 November 2021 13:32 UTC](https://discourse.nodered.org/t/alignment-when-snapping-to-grid/53551/63 "2021-11-13T13:32:56Z")

</div>

i think there may already be a rule within the linter if nodes overlap

---

<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:** [13 November 2021 13:33 UTC](https://discourse.nodered.org/t/alignment-when-snapping-to-grid/53551/64 "2021-11-13T13:33:56Z")

</div>

What's "the linter" ?

---

<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:** [13 November 2021 13:37 UTC](https://discourse.nodered.org/t/alignment-when-snapping-to-grid/53551/65 "2021-11-13T13:37:43Z")

</div>

> **[Version 2.0 released](https://nodered.org/blog/2021/07/20/version-2-0-released#flow-linter---nrlint)**
>
> Find out more on the blog

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

---

<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:** [13 November 2021 13:40 UTC](https://discourse.nodered.org/t/alignment-when-snapping-to-grid/53551/66 "2021-11-13T13:40:09Z")

</div>

The little dot for input or output could be empty when no wires are connected, filled when at least one is.  
 ![Untitled 3](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/7/8/7835fb4f33ad9f2a9873fe0922e85daaa728b27e.jpeg)

---

<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:** [13 November 2021 13:46 UTC](https://discourse.nodered.org/t/alignment-when-snapping-to-grid/53551/67 "2021-11-13T13:46:19Z")

</div>

We did once have a suggestion about changing the shape for connected wires - but it was (imho) a bit fugly.... but a subtle shading doesn't look too bad.

---

<div class="post-metadata">

**Author:** ![Paul-Reed](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/paul-reed/32/66906_2.png) [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Post date:** [13 November 2021 18:53 UTC](https://discourse.nodered.org/t/alignment-when-snapping-to-grid/53551/71 "2021-11-13T18:53:13Z")

</div>

4 posts were split to a new topic: [Making node wires more visible](https://discourse.nodered.org/t/making-node-wires-more-visible/53695)

---

<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:** [14 November 2021 11:26 UTC](https://discourse.nodered.org/t/alignment-when-snapping-to-grid/53551/72 "2021-11-14T11:26:33Z")

</div>

Very very, minor, minor thing now I've embraced non-labeled nodes .....

The MQTT connected message seems a bit anomalous in non-label mode

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/3/5/3542951f4614932807265f0d8f7f03e6af43ffbd.png)

Even worser 🙂 in a group

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/8/c/8cb11c2b1cd3f4f7e6247da598c25e4069e65bd0.png)

Maybe just use the colours and mute the text?

Would just the colour info be enough to signal an issue?

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/0/40108a594cbcb93072daa8f7d38975138e265792.png)  
Could connecting just be changed to ? (or something equally short) ?

Or maybe not automatic suppression but an additional tick box in the config?  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/a/e/aee86c16684c5e5f074659f783736ecfc5654544.png)

Maybe added to all appearance configs?

As I started off - this is minor, minor 🙂

---

<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:** [14 November 2021 11:33 UTC](https://discourse.nodered.org/t/alignment-when-snapping-to-grid/53551/73 "2021-11-14T11:33:15Z")

</div>

Back to OT 🙂

So this is where I've got to using grid 10 spacing

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/f/d/fd05c706f8ca0f4833897418fed6efe70ec454b4.jpeg)

I can get sort gaps before and after nodes looking the same and I can touch them if I want to 🙂

In 24 hours, I've got used to the more fiddly nature of snap to grid 10

If this could be achieved with Dave's PR and works on default 20 grid then we'd have a total win but I'll just stick with grid 10 from now until if/when that comes about

_Note: - the ? node is the random node but I didn't feel the default debug type symbol conveyed it's purpose when in non-label mode so I changed it_

---

<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:** [13 January 2022 11:33 UTC](https://discourse.nodered.org/t/alignment-when-snapping-to-grid/53551/74 "2022-01-13T11:33:46Z")

</div>

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

[Previous page](https://discourse.nodered.org/t/alignment-when-snapping-to-grid/53551.md?page=3)
