Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spread voltageLevels with missing position information #593

Merged
merged 8 commits into from
Apr 3, 2024

Conversation

So-Fras
Copy link
Member

@So-Fras So-Fras commented Mar 5, 2024

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?
No

What kind of change does this PR introduce?
Feature

What is the current behavior?
When a voltageLevel has no fixed position (the position information may be missing), it is displayed in (0, 0) when using the BasicFixedLayoutFactory.

What is the new behavior (if this is a feature change)?
It is possible to pass a LayoutFactory (for example a BasicForceLayoutFactory) as an argument to the BasicFixedLayoutFactory create(...) fucntion to spread voltageLevels that have missing position information.

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

  • Yes
  • No

Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
@So-Fras So-Fras added the NAD label Mar 5, 2024
@So-Fras So-Fras self-assigned this Mar 5, 2024
@So-Fras So-Fras changed the title [WIP] Add ImprovedForceLayoutFactory Add ImprovedForceLayoutFactory Mar 22, 2024
@So-Fras So-Fras marked this pull request as ready for review March 22, 2024 14:24
@So-Fras So-Fras requested review from geofjamg and flo-dup March 22, 2024 14:24
So-Fras and others added 2 commits April 2, 2024 22:04
Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
@So-Fras So-Fras changed the title Add ImprovedForceLayoutFactory Spread voltageLevels with missing position information Apr 2, 2024
@So-Fras So-Fras requested a review from flo-dup April 2, 2024 20:51
So-Fras added 2 commits April 3, 2024 12:19
Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
Copy link

sonarqubecloud bot commented Apr 3, 2024

@So-Fras So-Fras requested a review from flo-dup April 3, 2024 10:36
@flo-dup flo-dup merged commit 958fc37 into main Apr 3, 2024
6 checks passed
@flo-dup flo-dup deleted the init_geographical_positions branch April 3, 2024 13:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants