Migration guide v2.11.0 - powsybl/powsybl-diagram GitHub Wiki
CSS changes
Load break switches
Starting from this release, the load break switches have the same rendering as breakers, leading to the following changes in ConvergenceLibrary/components.css:
Before
.sld-load-break-switch {stroke: var(--sld-vl-color, blue); fill: none}
After
.sld-load-break-switch {stroke: blue; fill: white}
Intern cell shape style
When an intern cell is flat, the bus connection node are now hidden, thanks to the following line added in ConvergenceLibrary/components.css:
.sld-cell-shape-flat .sld-bus-connection {visibility: hidden}
Bus connection changes
A trick used before the introduction of CSS variables has been cleaned up in this release, leading to the following changes in ConvergenceLibrary/components.css:
Before
.sld-bus-connection {stroke: var(--sld-vl-color, black); stroke-width: 4; fill: none}
After
.sld-bus-connection {fill: var(--sld-vl-color, black)}