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

Adding order and direction to SwitchNode serialization #346

Merged
merged 6 commits into from
Feb 11, 2022

Conversation

MarinPinchinatLoth
Copy link
Contributor

@MarinPinchinatLoth MarinPinchinatLoth commented Feb 8, 2022

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 ?
Yes, fixes #340 by adding optional order and direction to SwitchNode serialization.

@flo-dup flo-dup changed the title Adding order and direction to SwitchNode serialization (issue #340) Adding order and direction to SwitchNode serialization Feb 8, 2022
Copy link
Contributor

@flo-dup flo-dup left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing that bug! One more thing, could you amend your commit to add your signoff? and then force-push (see DCO details for more info if needed)

tadam50 and others added 3 commits February 8, 2022 17:34
* Adding feederInfosIntraMargin parameter in LayoutParameters
* Rename feederArrowSymmetry to feederInfoSymmetry in LayoutParameters
* Rename arrowDistance to feederInfosOuterMargin in LayoutParameters
* Rename minSpaceForFeederArrow to spaceForFeederInfos in LayoutParameters
* Rename Arrow to FeederInfo in DefaultSVGWriter
* Rename Arrow to FeederInfo in LayoutParameters
* Add new test with 5 feeder info

Signed-off-by: Thomas ADAM <tadam@silicom.fr>
Signed-off-by: Marin Pinchinat-Loth <marin.pinchinat@rte-france.com>
Signed-off-by: Marin Pinchinat-Loth <marin.pinchinat@rte-france.com>
* Creates coordinate package and populates it
* Decoupling Cell dependency to VoltageLevelGraph
* Clean up unused attribute in VoltageLevelGraph
* Remove unused vPosToHPosToNodeBus in VoltageLevelGraph
* Merge Graph&LineGraph and AbstractGraph & AbstractLineGraph
* Explicitly type  MiddleTwtNode when necessary
* Initialize the nodes of the Cell when building

Signed-off-by: BenoitJeanson <benoit.jeanson@rte-france.com>
Signed-off-by: Marin Pinchinat-Loth <marin.pinchinat@rte-france.com>
@MarinPinchinatLoth MarinPinchinatLoth force-pushed the fix_switch_node_serialization branch from 673ceff to 053cf85 Compare February 8, 2022 16:38
MarinPinchinatLoth and others added 3 commits February 8, 2022 17:42
…ng methods from super

Signed-off-by: Marin Pinchinat-Loth <marin.pinchinat@rte-france.com>
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

91.7% 91.7% Coverage
0.0% 0.0% Duplication

@flo-dup flo-dup merged commit 4c9d03e into main Feb 11, 2022
@flo-dup flo-dup deleted the fix_switch_node_serialization branch February 11, 2022 12: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.

Serialized SwitchNode looses "order and "direction" properties
4 participants