-
Notifications
You must be signed in to change notification settings - Fork 13
Migration guide v2.8.0
In this release, powsybl-core version has been updated from version 4.6.1 to 4.7.0. No corresponding migration issue should affect you directly on powsybl-line-diagram. Nonetheless, if you are also using powsybl-core directly, please refer to powsybl-core migration guide to fix any issue due to that migration.
The ForceSubstationLayout class and therefore powsybl-single-line-diagram-force-layout artifact have been removed, as the layout results were not convincing.
Since this release, several changes have been done in LayoutParameters
to better support the drawing of more than 2 FeederInfo
.
Indeed, FeederInfo
has replaced InitialValue
in 2.5.0 release and is now used for other information than the active / reactive powers with arrows. Therefore:
-
LayoutParameters::arrowDistance
has been renamed toLayoutParameters::feederInfosOuterMargin
, it corresponds to the space used for the margin between the feeder node and the firstFeederInfo
; -
LayoutParameters::minSpaceForFeederArrows
has been renamed toLayoutParameters::spaceForFeederInfos
, it corresponds to the space used for all theFeederInfo
, please use a value big enough for the maximum number ofFeederInfo
you need to display; -
LayoutParameters::feederArrowSymmetry
has been renamed toLayoutParameters::feederInfoSymmetry
; -
LayoutParameters::feederInfosIntraMargin
has been introduced to give the space between two consecutiveFeederInfo
(before this release the space between twoFeederInfo
corresponded to the height of the arrow component).