Open bentoogood opened 11 years ago
Note that the node type should be totally irrelevant to the implementation of this feature. Instead NodeGadget::noduleTangent() should be used to determine the appropriate axis for alignment.
Is this actually any different to #638? If #638 allows the layout of only the selected nodes (with the others staying put) and lays out unconnected nodes horizontally anyway, will that cover this ticket too?
As far as I'm concerned. Ben might have more in mind?
I guess it depends on how the algorithm likes to layout nodes. If it has a notion of the direction of flow based on the plug orientation sounds fine.
With a set of nodes selected, calling the function should do something along the lines of