From 02e4e2ce0467f7855dfebcaa0a68576714b1e914 Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Wed, 8 Apr 2015 09:09:03 +0300 Subject: client: remove custom radius that wasn't used anyway. radius is 10. if returned, place in domain specific type information --- src/client/view/graph_view.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/client/view/graph_view.js') diff --git a/src/client/view/graph_view.js b/src/client/view/graph_view.js index 2fb031fb..fba5a7f7 100644 --- a/src/client/view/graph_view.js +++ b/src/client/view/graph_view.js @@ -25,8 +25,8 @@ * which resulted in overly complex (read: undefined/buggy) code. */ -define(['d3', 'Bacon', 'consts', 'util', 'view/selection', 'view/helpers', 'model/diff', 'view/item_info', 'view/bubble', 'model/types', 'view/layouts'], -function(d3 , Bacon, consts, util , selection , view_helpers, model_diff , item_info, view_bubble, model_types, view_layouts) { +define(['d3', 'Bacon', 'consts', 'util', 'view/selection', 'model/diff', 'view/item_info', 'view/bubble', 'model/types', 'view/layouts'], +function(d3 , Bacon, consts, util , selection , model_diff , item_info, view_bubble, model_types, view_layouts) { "use strict" @@ -688,7 +688,7 @@ function GraphView(spec) { return d.type + " " + d.state + " circle graph"; }) .attr("r", function(d) { - return view_helpers.customSize(d.type) - 2; + return 10; }) .on("click", function(d, i) { if (d3.event.defaultPrevented) { -- cgit v1.3.1