From a719b567f67816c3f0a5eeb3a74fb44258b7f141 Mon Sep 17 00:00:00 2001 From: Junghyun Kim Date: Fri, 10 Mar 2017 17:03:50 +0900 Subject: [PATCH] Do not hide the dependency graph at the beginning. Change-Id: I2e83c2b9fb5ebc73f8195b2abe94992890c723fc Signed-off-by: Junghyun Kim --- common/dep_graph.php.template | 4 +--- dep_graph/dep_graph_common.js | 4 ++-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/common/dep_graph.php.template b/common/dep_graph.php.template index aa5134f..647f9df 100644 --- a/common/dep_graph.php.template +++ b/common/dep_graph.php.template @@ -78,9 +78,7 @@

- -
- +

diff --git a/dep_graph/dep_graph_common.js b/dep_graph/dep_graph_common.js index 1510924..e137546 100644 --- a/dep_graph/dep_graph_common.js +++ b/dep_graph/dep_graph_common.js @@ -231,7 +231,7 @@ function highlightNode(nodes) // all first degree nodes get their own color and their label back for (i = 0; i < connectedNodes.length; i++) { if( allNodes[connectedNodes[i]].set_color === undefined ) { - allNodes[connectedNodes[i]].color = {background:undefined, border:'rgba(200,200,200,0.2)'}; + allNodes[connectedNodes[i]].color = undefined; } else { allNodes[connectedNodes[i]].color = allNodes[connectedNodes[i]].set_color; } @@ -306,7 +306,7 @@ function highlightNode(nodes) edgesDataset.update(updateArray); // transform the object into an array - var updateArray = []; + updateArray = []; for (nodeId in allNodes) { if (allNodes.hasOwnProperty(nodeId)) { updateArray.push(allNodes[nodeId]); -- 2.7.4