Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.
Originally posted by: Tim MeagherHey,
Just got around to looking at this now.
It is generally not advised to go and change around your BRG manually as the format is ... somewhat odd and picky and can lead to serious problems, however it looks like you've figured out the pieces you need to change and got the problem sorted.
It would be better obviously to be able to handle this correctly within BRE and not require this manual source hacking.
I just tested this a little (hacked a BRG to change the Y position of a node, then tried changing the alignment of that node selected with another in BRE) and from what I can see, using the alignment options will work for lining up all the nodes.
However, this doesn't work for the composite input/output pins as these are never aligned by BRE.
Further, bendpoints are not aligned.
I don't think in general that the bendpoints *should* be modified via the align operations, but ... maybe that could be an additional enhancement.
The composition input/output pins certainly should be.
Can you confirm whether or not you were able to line up the nodes themselves, but just not the composite input/output pins - or were you unable to align the nodes as well?
There are issues on nodes with different sizes (such as inFlow nodes containing images which have been resized) which are still outstanding issues to fix.
Essentially, the alignment operations work on the X/Y positions of the nodes, which are actually the centre of the nodes.
This doesn't take into account the fact that resized nodes will have different sizes and simply using the centre position will not work for aligning left, top, right, bottom, etc.
Regards,
Tim.