Represent subnetworks in network-area diagrams#669
Conversation
Signed-off-by: Giovanni Ferrari <giovanni.ferrari@soft.it>
Signed-off-by: Giovanni Ferrari <giovanni.ferrari@soft.it>
Signed-off-by: Giovanni Ferrari <giovanni.ferrari@soft.it>
|
Thanks for the work! As discussed together:
|
Signed-off-by: Giovanni Ferrari <giovanni.ferrari@soft.it>
Signed-off-by: Giovanni Ferrari <giovanni.ferrari@soft.it>
Signed-off-by: Giovanni Ferrari <giovanni.ferrari@soft.it>
Signed-off-by: Giovanni Ferrari <giovanni.ferrari@soft.it>
So-Fras
left a comment
There was a problem hiding this comment.
Thanks for the changes! I think the PR is in line with the code's "philosophy".
There is just a small typo in a name.
As for the unit test barrier, I think you should add tests to cover a few more lines and reach the 90%.
Signed-off-by: Giovanni Ferrari <giovanni.ferrari@soft.it>
Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
|
Now I think about it, we should add some documentation on this feature. I am adding the "do-not-merge" label until then. |
Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
Signed-off-by: Giovanni Ferrari <giovanni.ferrari@soft.it>
Signed-off-by: Giovanni Ferrari <giovanni.ferrari@soft.it>
| @Test | ||
| void testSubnetworkHighlight() { | ||
| Network network = createWithTieLines(); | ||
| assertSvgEquals("/subnetwork_highlight.svg", network); |
There was a problem hiding this comment.
Could you add another test with a partial graph, for instance VoltageLevelFilter.createVoltageLevelDepthFilter(network, "VLHV2", 1)?
So that you test the case of a non-visible edge, and so the coverage will be improved.
Signed-off-by: Giovanni Ferrari <giovanni.ferrari@soft.it>
3015788 to
25eafde
Compare
Signed-off-by: Giovanni Ferrari <giovanni.ferrari@soft.it>
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
|



Please check if the PR fulfills these requirements
Does this PR already have an issue describing the problem?
Fixes #611
What kind of change does this PR introduce?
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?
If yes, please check if the following requirements are fulfilled
What changes might users need to make in their application due to this PR? (migration steps)
Other information: