Create lifecycle diagram

4.x.x
Jayasanka 6 years ago
parent 62e0430d1d
commit 1c8d5bfc3e

@ -84,10 +84,6 @@ function createNode(name, color) {
let count = 0;
function connectNodes(nodeFrom, nodeTo) {
//just to get id-like structure
// count++;
// const portOut = nodeFrom.addPort(new SRD.DefaultPortModel(true, `${nodeFrom.name}-out-${count}`, " "));
// const portTo = nodeTo.addPort(new SRD.DefaultPortModel(false, `${nodeFrom.name}-to-${count}`, " "));
return nodeFrom.getPort(outPortName).link(nodeTo.getPort(inPortName));
}

Loading…
Cancel
Save