Alignment when snapping to grid

Just a discussion....... :slight_smile:

I'm loving new link return mode BTW

I like to compress my flows to save screen real estate but I have a bit of OCD when doing it :slight_smile:

Top is standard approach - OK but not equallly spaced on input and output
2nd - works lovely on the input :slight_smile:
3rd - can't align the link return with end of previous node
4th - If I switch to non-snap to grid mode (Which I don't want to do) even then, it's very tricky to align things up

Luckily I don't have 100% OCD and I can always switch to non-snap, align everything up the way I want it, group the nodes and then turn off the border but that's a LOT of work :slight_smile:

I think its been a while since we've had a bit of love for the basic UI and what with the season of goodwill approaching ...... :slight_smile:

PS wouldn't mind a bit of bending on the wires as well .............................

Change the grid size to 15

1 Like

Nice one - close, but no coconut


And a little bit inconsistent - just a little :slight_smile:
The top one is very nice but doesn't handle a final squeeze


Of course, I can see a very good argument for having a small piece of wire showing so maybe touching should be considered verboten

and you can of course shrink all the nodes if you like - then the issue of how long the label is goes away

1 Like

mm - you gave me the idea to use grouping for a sequence like that
[edit the rest is complete horlicks by me]
but slight issue in that the blue symbols show up if you just move the group :frowning:

but I think we are drifting off-topic :slight_smile:

Change the grid size to 10?
Untitled 7

It does work ta :slight_smile:

20 is the default and I think it would be good to have it aligning OOTB

10 makes things a bit "fiddly" for normal flow construction but I'll give a go for a while and see how I feel :slight_smile:

There are also the new align options in the menu - does that help at all? I've not used them yet but certainly will be.

Just tried them and I don't think so

But maybe if there was an "Align nose to tail" option???

I'm just thinking that the basic issue is that the node length doesn't take into account the grid size and this is what leads to slight visual inconsistency

Err it does align OOTB... just maybe not to your specification... but at least we provide the settings to allow you to set it as you want... and yes alignment vs fiddly is the tradeoff you can make.

I'm feeling a lot of - no chance on this one Simon :slight_smile:

I think if you look again at 1st post - it really doesn't align OOTB :slight_smile:

Maybe "align" is the wrong word :slight_smile:

Maybe you just need to retrain your brain to think in a different alignment mode :rofl:

Distribute horizontally does work but in a limited way it appears. If I select 3 nodes, it will evenly space them. But, the order in which you select them matters. If I have 2 nodes to the right, 1 in the middle and 1 on the left and try to distribute them all, 1 of the ones on the right isn't moved.

OK - I'm going to come up with an analogy

Imagine if a text coding editor made the spacing between letters in a word proportional but the space char itself was fixed to column positions

That's the effect that we have here :slight_smile:

Show me a before and after please as I haven't got anywhere with it

The left hand-edge of each node is aligned to the grid.

I think what you're asking for is it to sometimes align to the right hand edge instead.

I think I am asking for width of the node to be aligned/adjusted to take into account grid size so that spacing before and afterwards can be made the same.

First let me say that aesthetically, I fully agree there are certain scenarios that don't align as well as I would like.

The challenge has been finding a solution that works for everyone - because as soon as you change something in one person's favour, someone else doesn't like it. IF we change the width of the collapsed nodes, we'll get a lot of complaints about breaking existing layouts.

It is a particular design choice that the collapsed node is square - that it reduces to the icon box of the node without the label.

Ignoring for the moment that users can change their grid size, we did try changing the collapsed width to be a whole number of grid cells - and it just didn't look right as the icon box grew larger.

A different option, that we haven't tried before, is changing the snap-to-grid logic to not just snap the centre of the node, but to also snap the edges to grid lines. We'd have to implement it to see what it felt like to use - but it would then allow you to align whichever edge you wanted. But the fact remains, the collapsed node's width is what it is.

Its not the collapsed width that is the issue here I think

It's the width of full nodes being inconsistent I think