The #81 PR left the code in a unsatisfactory state. As stated in the PR, the current state of the code is not completly satisfactory.
It was let this way until next release of powsybl-diagram (V4.1.0) (at least). That release is going to correct a bug in the new single-line diagram API so that VoltageLevelLayoutFactory customization will be possible again.
Describe the expected behavior
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)
Describe the current behavior
The #81 PR left the code in a unsatisfactory state. As stated in the PR, the current state of the code is not completly satisfactory.
It was let this way until next release of powsybl-diagram (V4.1.0) (at least). That release is going to correct a bug in the new single-line diagram API so that VoltageLevelLayoutFactory customization will be possible again.
Describe the expected behavior
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)
Describe the steps
No response
Environment
No response
Relevant Log Output
No response
Extra Information
No response