JSFiddle - React, Tailwind, and code Playground
by Gabriel Z
CSS
.node {
stroke: #fff;
stroke-width: 1.5px;
transform: scale(0.5);
}
.node .selected {
stroke: red;
}
.link {
stroke: #999;
transform: scale(0.5);
}
.brush .extent {
fill-opacity: .1;
stroke: #fff;
shape-rendering: crispEdges;
transform: scale(0.5);
}
JavaScript
var graph =...