diff options
| author | garbash <dor.garbash@gmail.com> | 2015-05-18 23:41:38 +0300 |
|---|---|---|
| committer | garbash <dor.garbash@gmail.com> | 2015-05-18 23:41:38 +0300 |
| commit | 5a555abba15e48917959a7fe45d18361634471e0 (patch) | |
| tree | 7d5371ce3ad68e59298b02cd8b54459b0468555f /src/client | |
| parent | 419a72047a4165c30f6348a1dc4287f77d90a57e (diff) | |
Removed circle css class + clean graph-view.css file
Diffstat (limited to 'src/client')
| -rw-r--r-- | src/client/view/graph_view.js | 5 |
1 files changed, 1 insertions, 4 deletions
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)) : ''; |
