powsybl / pypowsybl

A PowSyBl and Python integration based on GraalVM native image
Mozilla Public License 2.0
54 stars 11 forks source link

Add the parameter EdgeInfoDisplayed #769

Closed unetablettedechocolat closed 2 months ago

unetablettedechocolat commented 3 months ago

Describe the current behavior

The parameter EdgeInfoDisplayed exists in SvgParameters (wich is instanciated in NadParameters) in powsybl-diagram. It chooses the value displayed near the arrows (active power, reactive power, or current). It doesn't exist in PyPowSyBl.

Describe the expected behavior

Add a new NadParameter attribute: edge_info_displayed that allow to choose the value displayed.

Describe the motivation

Customize the edge info displayed

Extra Information

No response

So-Fras commented 2 months ago

Dealt with in #773