summaryrefslogtreecommitdiff
path: root/src/model
AgeCommit message (Collapse)Author
2014-12-16adapt_format_read/write_node/link updateLV-426
2014-12-16load_from_backend(): post ajax link pointer processingLV-426
2014-12-16findNodeByName(): rm unused paramLV-426
2014-12-16create_node/link_from_spec: assertionsLV-426
2014-12-16_remove_node_set(): cascade_link_rm_set: collect removed linksLV-426
2014-12-16Node.prototype.equals(): compare by idLV-426
2014-12-16major addLink() sig refactoring: addLink(link, peer_notify)LV-426
2014-12-16addLink: drop drop_conjugator_links param, extract apply_conjugator_link_logic()LV-426
2014-12-16do not persist Node.statusLV-426
2014-12-16wip: __addNode, _remove_node_set: peer_notify support (backbone sync)LV-426
2014-12-16refactor __set_obj_id(), mark id property as 'enumerable'LV-426
2014-12-16pass node type as __label_set arrayLV-426
2014-12-16drop findNode, switch to find_node__by_id: avoid linear searchLV-426
2014-12-16removeNodes(): add filter paramLV-426
2014-12-16findCoordinates() - rm unused state paramLV-426
2014-12-16rename removeNodes -> _remove_node_setLV-426
2014-12-16removeNode(): rm unsued state param,LV-426
swith to find_node__by_id() use
2014-12-16getConnectedNodesAndLinks(): switch to find_node__by_id(), state never used ↵LV-426
anyway
2014-12-16__addNode(): log on type != 'bubble'LV-426
2014-12-16this hacksLV-426
2014-12-16__addNode(): assert id present on insertion,LV-426
introduce id_to_node_map
2014-12-16find_node__by_id()LV-426
2014-12-16rm create_node__with_optional_id(), use id if supplied to create_node_from_specLV-426
2014-12-16model/util: read nodes in 'perm' stateLV-426
2014-12-16load_from_backend(): refactor, UI update callbackLV-426
2014-12-08graph: editName fix so renameing doesn't delete a node (Fixes #202)Alon Levy
2014-12-08add a new state: "related"Alon Levy
2014-12-08graph: add hasNodeByNameAndNotStateAlon Levy
2014-12-07model/graph: bug fix, s/foreach/forEach/, problem for selecting chainlinkAlon Levy
2014-12-06graph: avoid nop name renamesAlon Levy
2014-12-06graph: unite both remove node actions for easier undo/diff trackingAlon Levy
2014-12-04implement graph.editStatus (small refactor)Alon Levy
2014-12-04update suggested names on json load (regression)Alon Levy
2014-12-04fix regression with too many auto completion suggestionsAlon Levy
2014-12-04avoid popping the confirm dialog for temp nodes removalAlon Levy
the change is a one liner hidden in 24 lines of refactoring :/
2014-12-04graph: getConnectedNodesAndLinks: use forEach (still sucks)Alon Levy
2014-12-04graph: getConnectedNodesAndLinks: exclude given nodes from returnAlon Levy
2014-12-03Fix TypeError: variable _ redeclares argumentAlon Levy
2014-12-03assume logged-in user, rm userBusLV-426
2014-12-03update util read node,linkLV-426
2014-12-01fix broken loadAlon Levy
2014-11-29enable user setting by ?user=someoneAlon Levy
2014-11-29use Bacon instead of signalAlon Levy
See https://github.com/baconjs/bacon.js Usage right now: we have rz_bus to hold global busses: - names: for autosuggest - ui busses: - ui_key - ui_input The events are objects with {where: from consts, keys/input} (could maybe just use the events and rely on the target element class/id) And graph has it's own bus: graph.diffBus (camelcase probably not the right style - will fix in later commit) To publish to a bus you use push. To insert another stream to a bus you use plug. To listen to a bus you use onValue (you can use subscribe too to get errors and end of stream event, but we don't use that yet). This allows usage of map, filter, flatMap, see github repo for cool examples.
2014-11-29model/graph: fix signal on notifyAlon Levy
2014-11-25Fixes #154: set suggested names when loading from JSONAlon Levy
2014-11-25graph/__addNode: fix to handle same node referenceAlon Levy
It now returns a node, either a new one or the existing one. This is used by addNode and further up to get the existing (regressed until this patch from the breaking patch) behavior of expanding existing nodes with new links.
2014-11-25core: Link.{source,target} need to be gettersAlon Levy
Note that despite the sad sad fact __defineGetter__ is not supported by IE8, we are currently at quality 'Crap' on IE8 even without it (I checked, courtesy 14 days trial of crossover from codeweavers), and Dor says it is a level -1000 priority.
2014-11-25core/create_node_from_spec: status initialization fix and remove double x&y ↵Alon Levy
initialization
2014-11-25graph/findNodeByName: use "or" initialization idiomAlon Levy
2014-11-25model/graph: __addNode: refactor to use create_node__with_optional_idAlon Levy