-
Notifications
You must be signed in to change notification settings - Fork 13
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
feat: add current info #505
Conversation
Signed-off-by: Hervé <herve.quarton@soprasteria.com>
0c1a279
to
fb3bb5f
Compare
Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
…layed by default) Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
network-area-diagram/src/main/java/com/powsybl/nad/svg/AbstractStyleProvider.java
Outdated
Show resolved
Hide resolved
network-area-diagram/src/main/java/com/powsybl/nad/svg/iidm/DefaultLabelProvider.java
Outdated
Show resolved
Hide resolved
.../single-line-diagram-core/src/main/java/com/powsybl/sld/svg/DefaultDiagramLabelProvider.java
Outdated
Show resolved
Hide resolved
.../single-line-diagram-core/src/main/java/com/powsybl/sld/svg/DefaultDiagramLabelProvider.java
Outdated
Show resolved
Hide resolved
.../single-line-diagram-core/src/main/java/com/powsybl/sld/svg/DefaultDiagramLabelProvider.java
Outdated
Show resolved
Hide resolved
.../single-line-diagram-core/src/main/java/com/powsybl/sld/svg/DefaultDiagramLabelProvider.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
Signed-off-by: Sophie Frasnedo <93923177+So-Fras@users.noreply.github.com>
Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
Signed-off-by: Sophie Frasnedo <93923177+So-Fras@users.noreply.github.com>
Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
…abel + update test references Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
...ine-diagram/single-line-diagram-core/src/test/java/com/powsybl/sld/iidm/TestFeederInfos.java
Outdated
Show resolved
Hide resolved
network-area-diagram/src/test/java/com/powsybl/nad/svg/TypeOfEdgeInfoTest.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just realizing it's a bit strange to display current with an arrow, as it's always positive.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For single-line diagrams, I used the reactive power arrow direction for the current arrow direction. Let me know if it is something I should remove.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd say we'd rather investigate this more before doing so
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will remove it for now!
fix year and author Signed-off-by: Sophie Frasnedo <93923177+So-Fras@users.noreply.github.com>
…s reactive power Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
…wer arrow direction Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
Kudos, SonarCloud Quality Gate passed! |
* feature: add current feeder info arrow * new management of edge info for network area diagram: only one type possible among active power, reactive power and current * Change dominant baseline for label: mathematical instead of middle * add unit tests * update test references Signed-off-by: Hervé <herve.quarton@soprasteria.com> Co-authored-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com> Signed-off-by: BenoitJeanson <benoit.jeanson@rte-france.com>
* feature: add current feeder info arrow * new management of edge info for network area diagram: only one type possible among active power, reactive power and current * Change dominant baseline for label: mathematical instead of middle * add unit tests * update test references Signed-off-by: Hervé <herve.quarton@soprasteria.com> Co-authored-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
* feature: add current feeder info arrow * new management of edge info for network area diagram: only one type possible among active power, reactive power and current * Change dominant baseline for label: mathematical instead of middle * add unit tests * update test references Signed-off-by: Hervé <herve.quarton@soprasteria.com> Co-authored-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
Please check if the PR fulfills these requirements (please use
'[x]'
to check the checkboxes, or submit the PR and then click the checkboxes)What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Feature
What is the current behavior? (You can also link to an open issue here)
Only active and reactive power pieces of information can currently be displayed on the graph.
What is the new behavior (if this is a feature change)?
This PR offers the possibility to display the current piece of information.