Skip to content

NAD custom label provider#670

Merged
flo-dup merged 9 commits intomainfrom
nad_custom_label_provider
Mar 25, 2025
Merged

NAD custom label provider#670
flo-dup merged 9 commits intomainfrom
nad_custom_label_provider

Conversation

@CBiasuzzi
Copy link
Copy Markdown
Contributor

Please check if the PR fulfills these requirements

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

Does this PR already have an issue describing the problem?

What kind of change does this PR introduce?

feature: provides a custom implementation of the LabelProvider; it allows you to specify in a map the branch labels (and arrow directions) to display in the diagram.

Does this PR introduce a new Powsybl Action implying to be implemented in simulators or pypowsybl?

  • Yes, the corresponding issue is here
  • No

What is the current behavior?

What is the new behavior (if this is a feature change)?

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

  • Yes
  • No

If yes, please check if the following requirements are fulfilled

  • The Breaking Change or Deprecated label has been added
  • The migration steps are described in the following section

What changes might users need to make in their application due to this PR? (migration steps)

Other information:

Signed-off-by: Christian Biasuzzi <christian.biasuzzi@soft.it>
Signed-off-by: Christian Biasuzzi <christian.biasuzzi@soft.it>
Signed-off-by: Christian Biasuzzi <christian.biasuzzi@soft.it>
…s DefaultLabelProvider

Signed-off-by: Christian Biasuzzi <christian.biasuzzi@soft.it>
@CBiasuzzi CBiasuzzi changed the title [WIP] NAD custom label provider NAD custom label provider Mar 14, 2025
Comment thread network-area-diagram/src/main/java/com/powsybl/nad/svg/CustomLabelProvider.java Outdated
Comment thread network-area-diagram/src/main/java/com/powsybl/nad/svg/CustomLabelProvider.java Outdated
Signed-off-by: Christian Biasuzzi <christian.biasuzzi@soft.it>
Signed-off-by: Christian Biasuzzi <christian.biasuzzi@soft.it>
Signed-off-by: Christian Biasuzzi <christian.biasuzzi@soft.it>
@sonarqubecloud
Copy link
Copy Markdown

@flo-dup flo-dup merged commit 4162edf into main Mar 25, 2025
8 checks passed
@flo-dup flo-dup deleted the nad_custom_label_provider branch March 25, 2025 20:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants