summaryrefslogtreecommitdiff
path: root/src/client/view/graph_view.js
diff options
context:
space:
mode:
authorAlon Levy <alon@pobox.com>2015-04-08 09:09:03 +0300
committerAlon Levy <alon@pobox.com>2015-04-09 06:39:23 +0300
commit02e4e2ce0467f7855dfebcaa0a68576714b1e914 (patch)
tree7667e6e4b36b71935f37eb59fa8bcba1b2180c64 /src/client/view/graph_view.js
parent1ff4cc238422500a7795260c81aa7248f8e9cbaf (diff)
client: remove custom radius that wasn't used anyway. radius is 10. if returned, place in domain specific type information
Diffstat (limited to 'src/client/view/graph_view.js')
-rw-r--r--src/client/view/graph_view.js6
1 files changed, 3 insertions, 3 deletions
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) {