powsybl-diagram
powsybl-diagram copied to clipboard
Clean cgmes-only parameters from LayoutParameters
-
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 inLayoutParameters
butLayoutParameters
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 theLayoutParameters
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.