powsybl-diagram icon indicating copy to clipboard operation
powsybl-diagram copied to clipboard

Clean cgmes-only parameters from LayoutParameters

Open So-Fras opened this issue 1 year ago • 0 comments

  • Do you want to request a feature or report a bug? Feature

  • What is the current behavior? In single-line diagram, some cgmes-only parameters (cgmesUseName, cgmesScaleFactor, cgmesDiagramName) are present in LayoutParameters but LayoutParameters is not the right class to contain them. The rationale behind this was that the smart selector did not allow to pass any parameters, so the LayoutParameters class was used for cgmes-only parameters.

  • What is the expected behavior? Some refactoring is necessary to clean this. Cgmes-only parameters should not be stored in the LayoutParameters class.

So-Fras avatar Mar 29 '23 09:03 So-Fras