summaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
2014-10-07rhizicore: remove debug printAlon Levy
2014-10-07#49: forgotten start misses the whole pointAlon Levy
2014-10-07drag_n_drop: remove debug printAlon Levy
2014-10-07Fixes #49: forgot link changesAlon Levy
2014-10-07rhizicore: don't move graph when only changing link or node textAlon Levy
Fixes #49 Note about solution: in general we need to find out whether the graph from the new text (NewVertices, NewLinks) is homologous to the graph from the old text (OldVertices, OldLinks). The implemented solution only checks an easier case, where there is a single renamed vertex. A better solution to do later: - have textanalysis have state - have textanalysis return the difference from the last state: nodes added nodes deleted nodes changed - plus for bonus refactor all the editing functions (edit* in myGraph)
2014-10-07rhizicore: update: add no_relayout parameter, plus don't keep assigning tick ↵Alon Levy
event handler
2014-10-07rhizicore: add hasNodeAlon Levy
2014-10-07textanalysis: fix indentationAlon Levy
2014-10-07textanalysis: workaround undefined or double link additionAlon Levy
2014-10-07rhizicore: add debug print if NaN's introduced in translateAlon Levy
2014-10-07rhizicore: add helper debug_printAlon Levy
2014-10-07textanalysis: group vars at start of functionAlon Levy
2014-10-07rhizicore: fix loading json's (drag n drop) without 'name'Alon Levy
2014-10-07rhizicore: merge node additionAlon Levy
2014-10-07rhizicore: don't change state of existing nodes on additionAlon Levy
changing state of existing node results in ability to delete nodes while creating a new sentence by inputting a node name and then deleting it. This was fixed for the common case in a previous commit, but not for the case of loading from storage.
2014-10-07fix broken saveAlon Levy
2014-10-05move all external scripts to a subdirectory 'external'; easier to grep stuffAlon Levy
2014-10-02Undo of commit Merge branch '#62' into Prototypegarbash
It broke the input box
2014-10-01Merge branch '#62' into PrototypeAnmol Agrawal
Conflicts: index.html scripts/rhizicore.js
2014-09-30change #2 to issue #74Anmol Agrawal
2014-09-30textanalysis: remove trailing whitespace from link namesAlon Levy
2014-09-30#62 - Refactored codeAnmol Agrawal
2014-09-30Revert "Fix #63 - don't move graph on click (possible side effects?)"Alon Levy
This reverts commit 5c5f9a8cfe3edd6f1df31ab00885e58e4a36bfd1. reopen #63 this fix causes regressions - the update function does two things: 1. updates link & node graphical representation 2. causes the force layout to reposition links and edges (using tick to selectively do that) I need to change #2 without affecting #1.
2014-09-30Fix #63 - don't move graph on click (possible side effects?)Alon Levy
2014-09-30rhizicore: since s/text/name/ fix loadAlon Levy
Loading an old save (with no 'name' in nodes) triggers this path.
2014-09-30rhizicore: remove commented codeAlon Levy
2014-09-29buttons/index: add file load buttonAlon Levy
2014-09-29rhizicore:myGraph.addNodeComplete: add name to signatureAlon Levy
2014-09-29buttons: white space fixAlon Levy
2014-09-29rhizicore: replace 'text' attribute with 'name' for nodeAlon Levy
2014-09-29remove deliverableTestAlon Levy
2014-09-29rename 'load' button to 'load-storage-local'Alon Levy
2014-09-29buttons: factor out really_loadAlon Levy
2014-09-29change #2 to issue #74Anmol Agrawal
2014-09-29textanalysis: fold a too long lineAlon Levy
2014-09-29Fixes #75: don't spew undefines in linktext.Alon Levy
TODO - code that doesn't make me choke up with tears
2014-09-29Fixes #73: pre first node text missing spacesAlon Levy
2014-09-29Improved tutorialgarbash
2014-09-29rhizicore: fix popping node on top left when creating a new nodeAlon Levy
The fix is ugly. Basically we are relying on the force layout [1] for the locations of the nodes. I've hidden the node until the first tick. Since we do a tick calculation (tick is a function in rhizicore) when adding a node there is no associated delay. [1] https://github.com/mbostock/d3/wiki/Force-Layout
2014-09-29rhizicore: remove some more empty linesAlon Levy
2014-09-29rhizicore: remove unused code from tickAlon Levy
2014-09-29rhizicore: dash bugfixAlon Levy
another refactor introduced (by cd7157955d15802f34dee6ac4578ae249f3e397d), forgot to change style at update instead of enter.
2014-09-29rhizicore: fix bug: hide links not currently focused or temporaryAlon Levy
bug introduced by cd7157955d15802f34dee6ac4578ae249f3e397d
2014-09-29rhizicore: add TODO to get rid of mouse click overlay rectAlon Levy
2014-09-29rhizicore: bug fix: draw links below nodesAlon Levy
bug introduced in cd7157955d15802f34dee6ac4578ae249f3e397d before that we recreated the links and nodes every update, and since all links were created before nodes the document order was <link> <link> <node> <node> which per SVG rendering order [1] leads to nodes being drawn on top of links. But after that commit the new links and nodes where created as they were being edited, so we got <link> <node> <link> <node> With this commit all links are created in a single group, getting back the correct order: <g> <link> <link> </g> <node> <node> nodes are ungrouped but there is no need for that (except that it looks strangely assymetrical). [1] http://dev.w3.org/SVG/modules/renderorder/SVGRenderOrder.html
2014-09-29rhizicore: myGraph: some cleanupAlon Levy
2014-09-28rhizicore: prevent click event when dragging a nodeAlon Levy
2014-09-28rhizicore: add TODO note to handle escape keyAlon Levy
2014-09-28rhizicore: we had a <g> leak, this fixes itAlon Levy
still have new/edited node visible at 0,0 briefly while edited The fix is by using d3 enter/update/exit and not killing all the nodes every time we run update.
2014-09-28rhizicore/update: use object for slight readability win/lose (line win)Alon Levy