Skip to content

Migration guide v4.4.0

Sophie Frasnedo edited this page Apr 8, 2024 · 3 revisions

refactoring

The powsybl-single-line-diagram-core module has been refactored. That causes the following breaking changes.

Renaming classes

  • LBSCluser has been renamed into BSCluster.

  • PositionFromExtension has been renamed into PositionPredefined.

Reorganizing classes into packages

  • The PositionByClustering and PositionFromExtension classes have been relocated.

Before

import com.powsybl.sld.layout.positionbyclustering.PositionByClustering;
import com.powsybl.sld.layout.positionfromextension.PositionFromExtension;

After

import com.powsybl.sld.layout.position.clustering.PositionByClustering;
import com.powsybl.sld.layout.position.predefined.PositionPredefined;
  • The Subsection class has been relocated.

Before

import com.powsybl.sld.layout.Subsection;

After

import com.powsybl.sld.layout.position.Subsection;
  • The GraphTraversal class has been relocated.

Before

import com.powsybl.sld.layout.GraphTraversal;

After

import com.powsybl.sld.util.GraphTraversal;

Clone this wiki locally