Better organization of many in-nodes
Closed this issue ยท 7 comments
After using the plugin for quite a while now I gotta say that I love it and I've been recommending to everyone that wants a more organized blueprint. The text below is my only issue with the plugin and something that really really bothers me and I hope you can solve it :)
Would it be possible to have a better treatment of in-nodes? Currently it's common to have a situation that looks like this:
But when you drag the node a bit further we can have a MUCH cleaner look like this:
Even tho the second effect could be achieved in the first image the plugin currently doesn't do a very good job at untangling these situations. And in those cases we could end up with very unnecessary space between our nodes just to have a cleaner look.
@elamhut Thank you very much for the kind words ๐ !
Hum, have you try the "Ribbon" feature?
It's available under "Edit/Editor Preferences/Electronic Nodes".
Hum, you could increase the "Horizontal Offset", but that would affect every wires ๐...
You could also set the "Wire Alignment" to left, but once a gain, it's not solving the core problem.
The fact that it sometimes pushes the wires inside the nodes is actually one of the reason I added the "experimental" to Ribbon Style. The thing is that wires are actually drawn one by one in a random order and I can't do much about it.
I actually might have an idea to force the push outside the nodes though, would that work for you?
Also, do you have in mind a perfect solution for the general problem, regardless of if it's possible or not?
I'd try a force push outside for sure.
I would think of doing something like this. I don't know if you can detect when this much overlap occurs, neither how much control you have over those curves, but when you detect a 90o angle going inside a node you could always force that node to have a Straight line then a 45o angle in the direction of the connection.
Then you can increase the straight line connecting the node with an offset.
For instance imagine that the image above has:
Target (blue) would have a straight line going into the node of size 1+0
Start Pos line is 1+1
Start Tangent 1+2
etc... So each straight line is slightly longer.
Hum, I see what you mean, I'll try to do that and keep you posted on ๐ค