-
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.
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).
The ForceSubstationLayout class and therefore powsybl-single-line-diagram-force-layout artifact have been removed, as the layout results were not convincing.
The coordinate
package has been introduced in model
package, and the following classes moved to that new package: Coord
, Orientation
, Point
, Position
, Side
.
The two transformer node classes Middle2WTNode
and Middle3WTNode
now have their constructors changed to remove the Graph
argument. For Middle3WTNode
, a boolean is then needed to know if the node is inside a voltage level or between two voltage levels.