Skip to content

Migration guide v2.1.0

Slimane Amar edited this page Apr 9, 2021 · 6 revisions

Migrate powsybl-core version to v4.1.0

In this release, powsybl-core version has been updated from version 4.0.0 to 4.1.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.

Graph refactoring

The PR #207, which allows to draw lines internal to a substation, introduced several breaking changes:

  • Graph is renamed to VoltageLevelGraph
  • Graph is now an interface whose subclasses are VoltageLevelGraph, SubstationGraph and ZoneGraph
  • To share snakelines management, AbstractBranchEdge and AbstractLayout classes have been added :