diff options
| author | LV-426 <lv-426@taproot.org.il> | 2015-05-17 18:47:19 +0300 |
|---|---|---|
| committer | LV-426 <lv-426@taproot.org.il> | 2015-05-17 18:47:19 +0300 |
| commit | 79ad5afbe17fe6586589818166cb5bed18409ed3 (patch) | |
| tree | 73b626e58e7cb50d31b750fe9a00454a73ce5f42 /src/client | |
| parent | 9a19d16330ea8ed536add658ebdee196341ad4f6 (diff) | |
wip: 2.5d effectPOC_2.5d
Diffstat (limited to 'src/client')
| -rw-r--r-- | src/client/view/graph_view.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/client/view/graph_view.js b/src/client/view/graph_view.js index b06241fa..49fceb51 100644 --- a/src/client/view/graph_view.js +++ b/src/client/view/graph_view.js @@ -485,7 +485,8 @@ function GraphView(spec) { d3.event.stopPropagation(); }) .insert("text") - .attr("dy", node_text_dy); + .attr("dy", node_text_dy) + .attr("transform", "matrix(1.956, 0.267, -1.467, 2.400, 0, 0)"); node_text.exit().remove(); var nodeText = function(d) { var selected = selection.node_related(d); @@ -584,6 +585,7 @@ function GraphView(spec) { .attr('id', function(d){ return text_link_id(d.id); }) // append link id to enable data->visual mapping .attr("text-anchor", "middle") .attr("class", "linklabel graph") + .attr("transform", "matrix(1.956, 0.267, -1.467, 2.400, 0, 0)") .on("click", function(d, i) { if (!temporary) { // FIXME: if temporary don't even put a click handler svgInput.enable(this, d); |
