diff options
| author | Alon Levy <alon@pobox.com> | 2015-01-04 16:44:38 +0200 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2015-01-05 13:23:57 +0200 |
| commit | ff5c984089c19467304dbec0b87b2aa019717b13 (patch) | |
| tree | 91a10398f03988516f44672078e3705b8d2555cb /src/client/main.js | |
| parent | d50ec127af2fe7c7276380e10fce00496580fd58 (diff) | |
initial graph_view introduction - mixing circle & force layouts
Diffstat (limited to 'src/client/main.js')
| -rw-r--r-- | src/client/main.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/client/main.js b/src/client/main.js index 47c9de1d..ca7625aa 100644 --- a/src/client/main.js +++ b/src/client/main.js @@ -45,7 +45,8 @@ function(textanalysis_ui, textanalysis, buttons, history, drag_n_drop, } if (util.getParameterByName('debug')) { $(document.body).addClass('debug'); - rz_core.graph.set_user('fakeuser'); + rz_core.edit_graph.set_user('fakeuser'); + rz_core.main_graph.set_user('fakeuser'); } document.body.onkeyup = function(e) { @@ -59,7 +60,7 @@ function(textanalysis_ui, textanalysis, buttons, history, drag_n_drop, search.focus(); } if (e.ctrlKey && key == 'z' && e.target.nodeName !== 'INPUT') { - // TODO: rz_core.graph.undo(); + // TODO: rz_core.main_graph.undo(); } }; // TODO: move me somewhere @@ -101,7 +102,7 @@ function(textanalysis_ui, textanalysis, buttons, history, drag_n_drop, // TODO: interaction between the hack above and this model_core.init(rz_config); - textanalysis.init(rz_core.graph); + textanalysis.init(rz_core.main_graph); } return { |
