Skip to content

Migration guide v1.8.0

Florian Dupuy edited this page Dec 2, 2020 · 8 revisions

Layout parameter shiftFeedersPosition removed

In this release shiftFeedersPosition parameter of LayoutParameter and the related getters and setters have been removed. In order to deal with labels overlapping each other, you can use LayoutParameter.setLabelDiagonal(true) instead, together with LayoutParameter.setAngleLabelShift() to change the label default rotation angle.

Layout parameter feederArrowSymmetry added

In this release the default behaviour for feeder arrows is the following: active feeder arrows are above the reactive ones. If you'd like the previous behaviour (active above in top cells, reactive above in bottom cells), use LayoutParameter.setFeederArrowSymmetry(true).

Upgrade powsybl-core version

In this release, powsybl-core version has been updated from version 3.7.1 to 3.8.0. This does not create any migration issue with powsybl-line-diagram, but if you are also using powsybl-core directly, please refer to powsybl-core migration guide to fix any issue due to that migration.