summaryrefslogtreecommitdiff
path: root/scripts/rhizicore.js
AgeCommit message (Collapse)Author
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-29rhizicore:myGraph.addNodeComplete: add name to signatureAlon Levy
2014-09-29rhizicore: replace 'text' attribute with 'name' for nodeAlon Levy
2014-09-29remove deliverableTestAlon Levy
2014-09-29change #2 to issue #74Anmol Agrawal
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
2014-09-28rhizicore: remove deadcode and empty lines, fix single line ifsAlon Levy
2014-09-28rhizicore: start responsive ui: svg width/height in percentAlon Levy
2014-09-23Fixes #51: type changes on mixed case / upper case node namesAlon Levy
2014-09-23textanalysis-ui: a little cleanupAlon Levy
according to my yet unwritten coding conventions: 1. no single line blocks 2. no empty lines without a good reason
2014-09-23rhizicore: adding nodes that exist is currently common practice, drop ↵Alon Levy
verbose logging
2014-09-21Fixes #41: conjugation/connector only sentences keep their linksAlon Levy
2014-09-21rhizicore cleanup: use single if for a conjunction, reindentAlon Levy
2014-09-21Fixes #59 (rename node title changing case only results in node deletion)Alon Levy
2014-09-21rhizicore.js: Fix autosuggest on loadAlon Levy
Auto suggest doesn't work for nodes loaded from local storage Fixes #60
2014-09-21rhizicore: set minimal svg size to (1000,1000)Alon Levy
Works around a problem where you load rhizi with a small window size and then enlarge it, since we don't dynamically change the svg size (and it is fixed instead of filling a parent div or such) we lose access to a lot of the screen (i.e. can't drag nodes there, can't see anything there, etc).
2014-08-19rhizicore: history: fix dereference of undefinedAlon Levy
2014-08-19add parenthasis around a single line if blockAlon Levy
2014-08-19Issue #46: save URLAlon Levy
2014-08-19remove spotify commentAlon Levy
2014-08-19add editNewNode helperAlon Levy
2014-08-18recording: record keystrokes. no strokes recorded for link renamesAlon Levy
2014-08-18adding history, links & nodes onlyAlon Levy
no atomicity - nodes/links recorded as separate additions We record both temp (state == 'temp') and not temp nodes, can be filtered during analysis.
2014-08-18add a user setting field; does nothing except set graph.userAlon Levy
2014-08-17drag&drop load of json, plus save (kinda), some refactoringAlon Levy
save & load json moved from buttons to rhizicore.js added a save as button (need to switch to normal ui for that menu, it's fixed right now) save not correct - instead of a save dialog since it is a json file the browser just displays it (even though it's base64 encoded).
2014-08-17gant: fix support for firefox: doesn't support 01-01-2018 style dates (/ is ↵Alon Levy
supported by both chrome and firefox)
2014-08-17ugly #33 fix: node's id's are lowercase nowAlon Levy
text attribute contains original mixed case string and is used for display.
2014-08-17Fixed node title shorten functiongarbash
2014-08-17Display more chars of node titles on defaultgarbash
2014-08-13made infobox wider and more readablegarbash
2014-08-13Issue #30Owen
2014-08-13Stop duplicate linksOwen
2014-08-13Issue #38Owen
2014-08-13fix force and drag interaction according to wiki - could have also used the ↵Alon Levy
force.drag behavior (but we already had callbacks)
2014-08-10Issue #32Owen