JSFiddle - React, Tailwind, and code Playground

HTML

<script src="http://jsplumb.googlecode.com/files/jquery.jsPlumb-1.3.3-all.js"></script>
<div id="page-1" class="page"></div>
<div id="page-2" class="page"></div>

CSS

.page {
    width: 100px;
    height: 100px;
    position: absolute;
    background: none repeat scroll 0 0 lightgray;
}
#page-1 {
    left:0px;
}
#page-2 {
    right:0px;
}

JavaScript

$(document).ready(function () {
    jsPlumb.connect({
        source: "page-1",
        target: "page-2",
        anchors: [
            [1.06, 0.5, 0, 1],
            [-0.06, 0.5, 0, 0]
        ],
        endpoint: ["Dot", {
            radius: 4
        }],
        endpointStyle: {
            fillStyle: "#5b9ada"
        },
        setDragAllowedWhenFull: true,
        paintStyle: {
            fillStyle: "#5b9ada",
            lineWidth: 5
        },
        connector: ["Straight"],
        connectorStyle: [{
            lineWidth: 3,
            strokeStyle: "#5b9ada"
        }],
        connectorOverlays: [
            ["Arrow", {
                width: 10,
                length: 10,
                foldback: 1,
                location: 1,
                id: "arrow"
            }]
        ]
    });
});