powsybl-diagram
powsybl-diagram copied to clipboard
Align feeder components
-
Do you want to request a feature or report a bug? Feature
-
What is the current behavior? Feeders component have their center aligned, and therefore:
- the arrows (or whatever is the corresponding FeederInfo) displayed below are not aligned
- the feeder names displayed above are not aligned
-
What is the expected behavior?
- Feeders component have their top aligned, therefore the feeder names above are aligned
- The first feederInfo is displayed at a distance of
layoutParameters.getMaxComponentHeight() + layoutParameters.getSpaceBetweenFeederInfos()
from the top, so that the feederInfos are aligned
-
What is the motivation / use case for changing the behavior? Ease of reading and nice looking diagram