JSFiddle - React, Tailwind, and code Playground

HTML

<script src="http://jsplumb.googlecode.com/files/jquery.jsPlumb-1.3.3-all.js"></script>
<div id="demo">
            <div class="window" display="block" id="w1"></div>
            <div class="window" id="w2"></div>
            <div class="window" id="w3"></div>
            <div class="window" id="w4"></div>
            <div class="window" id="w5"></div>
        </div>

CSS

._jsPlumb_overlay { z-index:51; }
._jsPlumb_endpoint { z-index:50; cursor:move; }
._jsPlumb_connector { z-index:1; }

.window { border:1px solid #346789;
box-shadow: 2px 2px 19px #aaa;
   -o-box-shadow: 2px 2px 19px #aaa;
   -webkit-box-shadow: 2px 2px 19px #aaa;
   -moz-box-shadow: 2px 2px 19px #aaa;
-moz-border-radius:0.5em;
border-radius:0.5em;
opacity:0.8;
filter:alpha(opacity=80);
width:5em; height:5em;
line-height:5em;
text-align:center;
z-index:20; position:absolute;
background-color:#eeeeef;
color:black;
font-family:helvetica;padding:0.5em;
font-size:0.9em;}
.window:hover {
box-shadow: 2px 2px 19px #444;
   -o-box-shadow: 2px 2px 19px #444;
   -webkit-box-shadow: 2px 2px 19px #444;
   -moz-box-shadow: 2px 2px 19px #444;
    opacity:0.6;
filter:alpha(opacity=60);
}


.dropHover { border:1px solid orange; }
#w1 { top:10em;left:12em;}
#w2 { top:3em;left:3em;}
#w3 { top:19em;left:4.5em;}
#w4 { top:19em;left:26em;}
#w5 { top:25em;left:12em;}

JavaScript

jsPlumb.bind("ready", function() {
    jsPlumb.setRenderMode(jsPlumb.SVG);
    
    jsPlumb.Defaults.Anchors = ["TopCenter", "TopCenter"];
    var endpoint = {
        // this overrides all paintStyle args to jsPlumb.connect...this is probably
        // where you want to put all your paint style directives.
        // notice the "2 2" - the format is from VML, in which only spaces are allowed,
        // not commas.
        //connectorStyle:{ lineWidth:7, strokeStyle:"#456456", dashstyle:"2 2" },        
        isSource:true,
        maxConnections:10,
        isTarget:true,
        dropOptions:{ tolerance:"touch",hoverClass:"dropHover" }
    };
    
    jsPlumb.Defaults.DragOptions = { cursor: 'wait', zIndex:20 };
    jsPlumb.Defaults.Connector = [ "Bezier", { curviness: 90 } ];                
                
    var e1 = jsPlumb.addEndpoint("w1", endpoint);
    var e2 = jsPlumb.addEndpoint("w2", endpoint);
    var e3 = jsPlumb.addEndpoint("w3", endpoint);
    var e4 = jsPlumb.addEndpoint("w4", endpoint);
    var e5 = jsPlumb.addEndpoint("w5", endpoint);
   
    jsPlumb.connect({ source:e1, target:e2, paintStyle:{ dashstyle:"2 4", strokeStyle:"#465", lineWidth:5 } });
    jsPlumb.connect({ source:e1, target:e3 });
    jsPlumb.connect({ source:e3, target:e4 });
    
    jsPlumb.connect({ source:e1, target:e4, paintStyle:{strokeStyle:"red", dashstyle:"2 4 4 2", lineWidth:4} });
    
    
});