powsybl / powsybl-diagram

SVG diagrams generation: single-line substation diagrams and network graph diagrams
Mozilla Public License 2.0
72 stars 13 forks source link

Remove pathfinder layoutparameters #608

Closed So-Fras closed 4 months ago

So-Fras commented 4 months ago

Please check if the PR fulfills these requirements

What kind of change does this PR introduce? Quality

This PR removes an unused parameter in the LayoutParameters class.

Previously, the PathFinderType (the algorithm used to draw the snakelines between substations in multi-substations diagrams) was an attribute of the LayoutParameters class and it was not easily customizable.

This approach was replaced by another one (using a ZoneLayoutPathFinderFactory attribute in the SldParameters class) but the attribute PathFinderType was kept by mistake in LayoutParameters.

Does this PR introduce a breaking change or deprecate an API?

sonarcloud[bot] commented 4 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
100.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud