From 6863a5f13d0a76449526895de8195df7bea3dcd5 Mon Sep 17 00:00:00 2001 From: Ziyu Bai Date: Mon, 23 Dec 2019 19:41:39 +0800 Subject: [PATCH] Change node radius to default when searching node When searching a node, the radius will be made to 14. It looks like smaller than normal. Change-Id: I7fb589367466f37057b3cc67d367805056fdf191 --- .../project/entities/graph/entities-graph.directive.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vitrage_dashboard/dashboard/static/dashboard/project/entities/graph/entities-graph.directive.js b/vitrage_dashboard/dashboard/static/dashboard/project/entities/graph/entities-graph.directive.js index ec2606e..ce5da19 100644 --- a/vitrage_dashboard/dashboard/static/dashboard/project/entities/graph/entities-graph.directive.js +++ b/vitrage_dashboard/dashboard/static/dashboard/project/entities/graph/entities-graph.directive.js @@ -73,7 +73,7 @@ function hzEntitiesGraph() { .style("stroke", "darkgray") .style("stroke-width", "1") .style("fill", "#FFFFFF") - .attr('r', function(item) { return 14; }); + .attr('r', function(item) { return circleRadius; }); // Set special style to the found node if (value && value !== '') {