Skip to content

Commit 1549978

Browse files
committed
visual indication if an edge is connectable
Signed-off-by: Teo Koon Peng <[email protected]>
1 parent 767277d commit 1549978

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

diagram-editor/frontend/app.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,9 @@
2222
left: -150%;
2323
top: -100%;
2424
}
25+
.react-flow__handle.connectingto {
26+
background: var(--mui-palette-error-main);
27+
}
28+
.react-flow__handle.valid {
29+
background: var(--mui-palette-success-main);
30+
}

0 commit comments

Comments
 (0)