| Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
swith to find_node__by_id() use
|
|
anyway
|
|
|
|
|
|
introduce id_to_node_map
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
the change is a one liner hidden in 24 lines of refactoring :/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
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.
|
|
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.
|
|
initialization
|
|
|
|
|