Closed zamarrenolm closed 1 year ago
The current state of the code is not completly satisfactory.
I suggest to let it this way until next release of powsybl-diagram (V4.1.0). That release is going to correct a bug in the new single-line diagram API so that VoltageLevelLayoutFactory customization will be possible again.
That correction should be reflected in powsybl-dev-tools. The VoltageLevelLayoutFactoryCreator should be built inside a VoltageLevelLayoutFactoryCreatorBean:
From the value of the combo box (that should not be transformed into a VoltageLevelLayoutFactory or a VoltageLevelLayoutFactoryCreator right away but be provided as a String or an Enum to the VoltageLevelLayotuFactoryCreatorBean)
And potentially from other parameters too (if "Auto extensions" or "Auto without extensions Clustering" has been selected)
Kudos, SonarCloud Quality Gate passed!
Please check if the PR fulfills these requirements
Does this PR already have an issue describing the problem?
What kind of change does this PR introduce?
Update dependencies.
What is the current behavior?
What is the new behavior (if this is a feature change)? Minimal refactoring to adapt to the new API in PowSyBl diagrams.
Does this PR introduce a breaking change or deprecate an API?
Other information: