While getting feedback on the work done for SWITCHYARD-954, Keith suggested that we do a bit better with placing new items on the canvas via the button pad or context menus.
Can we add a small bit of positioning logic for new components, composite services and composite references? Assume these are for the middle of the item being placed:
- Components are dropped at 50% x and 25% y of the composite (for example)
- Composites services are aligned with left composite x and 25 % y (seems like the x alignment is happening today)
- Composites references are aligned with right composite x and 25 % y (seems like the x alignment is happening today)
- Bonus points - above is a starting point and additional items being added are adjusted down on the y-axis by a pre-determined pad.
Component services and references will be placed on the component automatically, so no need to move those. But the rest need a bit better initial position than we currently have.
|