We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0fa0b01 + a648ad7 commit 0d73a51Copy full SHA for 0d73a51
src/power_grid_model_ds/_core/visualizer/callbacks/config.py
@@ -62,8 +62,5 @@ def update_arrows(show_arrows, current_stylesheet):
62
index = selectors.index("edge")
63
edge_style = current_stylesheet[index]["style"]
64
65
- if show_arrows:
66
- edge_style["target-arrow-shape"] = "triangle"
67
- else:
68
- edge_style["target-arrow-shape"] = "none"
+ edge_style["target-arrow-shape"] = "triangle" if show_arrows else "none"
69
return current_stylesheet
0 commit comments