lor":"#b7e589","smooth":{"type":"curvedCW","roundness":"0.95"}}
,{"from":"sTok5","to":"sTok8","label":"dependency=advcl\n","width":"2","color":"#b7e589","smooth":{"type":"curvedCW","roundness":"0.95"}}
];
var nodeDist =120;
draw(nodesJson, edgesJson, nodeDist);
}
var directionInput = document.getElementById("direction");
function destroy() {
if (network !== null) {
network.destroy();
network = null;
}
}

function draw(nodesJson, edgesJson, nodeDist) {
destroy();
var connectionCount = [];
var nodes = [];
var