summaryrefslogtreecommitdiff
path: root/scripts/model
AgeCommit message (Collapse)Author
2014-11-11graph: fix getConnectedNodesAndLinksAlon Levy
2014-11-11add ghostlink for easier edge selection (Fixes #131)Alon Levy
This changes our current svg. We already had a <g id="link-group"> and under it <path class="link graph"> elements (class changes for selection). Now we have <g class="link graph"> elements containing two paths: one for display, one for selection. the display has stroke-width of 2 (defined in res/css/style.css) and the selection has stroke-width of 5 and stroke not defined to make it invisible plus a higher z-index to catch the click.
2014-11-11graph: add removeLink function (not used yet)Alon Levy
2014-11-11graph: add id to links (not used yet)Alon Levy
2014-11-11model/util: rm unused dep: model/graphLV-426
2014-11-11model/graph: misc: clean requirejs header - no dep changeLV-426
2014-11-11model/graph: cleanup module function definition, return blockLV-426
2014-11-11model/diff: rm unused module dep: model/utilLV-426
2014-11-11add some console bug logs where preconditions are wrong (oh, eiffel..)Alon Levy
2014-11-11graph: addLinkByName: end fix of unchought exception on missing idAlon Levy
2014-11-09addNode() - return new node on success, avoid need to attach a signal listenerLV-426
2014-11-09scripts/model/graph.js merge resolutionLV-426
2014-11-09commit diff_set upon sentence analysis:LV-426
- backend_commit - allows client accumulating changes & select better commit timing
2014-11-09load_from_backend():LV-426
- support backend graph cloning upon initialization - call upon Graph object creation not yet enabled by default
2014-11-09diff module:LV-426
- facilitate the creation of the different diff objects: topo,attr,vis - facilitate the creation of diff_set - a composition of diff objects
2014-11-09model utility functions:LV-426
- convert from/to client/backend data representations - meta attributes '__' prefixed, eg. '__src' - note: '__type' should be considered deprecated in favor of '__label_set'
2014-11-09core model module - currently unusedLV-426
2014-11-09graph: fix forgotten s/graph/this/ in graph refactor (Fixes #127)Alon Levy
2014-11-09graph: fix #129Alon Levy
autoSuggestAddName should get lower case name, not id (now that id is not lower cased name)
2014-11-09Fix #125 - regression, not treating lowercased names as equivalentAlon Levy
2014-11-09split highlight (search neighborhood of node) between graph & rhizicoreAlon Levy
multiple TODOs added in code. in general, datastructure = graph, control/view state in rhizicore.
2014-11-03accidentally left verbose onAlon Levy
2014-11-03fix _addNodeNoHistory to correctly look for existing nodesAlon Levy
2014-11-03change id to be distinct from nameAlon Levy
TODO: introduce a Node class split from the Graph. TODO: use a GUID and not just an incrementing number (trivial change).
2014-11-02graph: make addNodeNoHistory internalAlon Levy
2014-11-02graph: fix missing semicolonAlon Levy
2014-11-02getting rid of bad object names: myGraph -> GraphLV-426
2014-11-02split off model/graph.jsAlon Levy