minimize inline style usage

This commit is contained in:
peterkogo
2025-04-15 12:57:34 +02:00
parent 2ca682c6f2
commit 1fa3b50366
18 changed files with 65 additions and 91 deletions

View File

@@ -222,7 +222,7 @@
>
</Controls>
<Background variant={BackgroundVariant.Dots} />
<MiniMap />
<MiniMap bgColor={'red'} />
<Panel position="top-right">
<button onclick={moveNode}>update node pos</button>
<button onclick={changeEdgeType}>update edge type</button>