feat(rg): add onConnect callback

This commit is contained in:
moklick
2019-07-29 18:18:27 +02:00
parent cc14c724d0
commit 8fb45f4894
26 changed files with 434 additions and 120 deletions
+11 -5
View File
@@ -106,16 +106,22 @@
.react-graph__handle {
position: absolute;
width: 10px;
height: 5px;
transform: translate(-50%, 0);
height: 8px;
background: rgba(255, 255, 255, 0.4);
left: 50%;
top: 0;
}
.react-graph__handle.output {
.react-graph__handle.source {
top: auto;
left: 50%;
bottom: 0;
transform: translate(-50%, 0);
cursor: crosshair;
}
.react-graph__handle.target {
left: 50%;
top: 0;
transform: translate(-50%, 0);
}
.react-graph__nodesselection {