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.
1 parent c4c509a commit bf563e4Copy full SHA for bf563e4
tests/unit/visualizer/test_layout.py
@@ -0,0 +1,11 @@
1
+# SPDX-FileCopyrightText: Contributors to the Power Grid Model project <[email protected]>
2
+#
3
+# SPDX-License-Identifier: MPL-2.0
4
+
5
+from power_grid_model_ds._core.visualizer.layout.cytoscape_html import get_cytoscape_html
6
7
8
+def test_get_cytoscape_html():
9
+ elements = [{"data": {"id": "1", "group": "node"}}]
10
+ cyto_html = get_cytoscape_html("preset", elements)
11
+ assert cyto_html.children.elements == elements
0 commit comments