From 5a555abba15e48917959a7fe45d18361634471e0 Mon Sep 17 00:00:00 2001 From: garbash Date: Mon, 18 May 2015 23:41:38 +0300 Subject: Removed circle css class + clean graph-view.css file --- src/client/view/graph_view.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src') diff --git a/src/client/view/graph_view.js b/src/client/view/graph_view.js index b06241fa..6167bfe9 100644 --- a/src/client/view/graph_view.js +++ b/src/client/view/graph_view.js @@ -686,7 +686,7 @@ function GraphView(spec) { .call(drag); node.attr('class', function(d) { - return ['node', selection.class__node(d, temporary)].join(' '); + return ['node' +" " + d.type + " " + d.state + " " + "graph", selection.class__node(d, temporary)].join(' '); }) .each(function (d) { d.zoom_obj = zoom_obj; // FIXME new object NodeView pointing to Node and Zoom @@ -838,9 +838,6 @@ function GraphView(spec) { .attr('r', node__radius); circle = nodeEnter.insert("circle"); node.select('g.node > circle') - .attr("class", function(d) { - return d.type + " " + d.state + " circle graph"; - }) .attr("r", node__radius) .attr("filter", function (d) { return urlImage(d['image-url']) ? svg_url(filter_id(d.id)) : ''; -- cgit v1.3.1