From 1c8d5bfc3ea28f65f0e86ac6baddec0341a5348f Mon Sep 17 00:00:00 2001 From: Jayasanka Date: Wed, 8 May 2019 00:05:52 +0530 Subject: [PATCH] Create lifecycle diagram --- .../react-app/src/components/apps/release/LifeCycleGraph.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/components/apps/release/LifeCycleGraph.js b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/components/apps/release/LifeCycleGraph.js index 94f7b21c12..f5051decd1 100644 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/components/apps/release/LifeCycleGraph.js +++ b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/components/apps/release/LifeCycleGraph.js @@ -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)); }