| Age | Commit message (Collapse) | Author |
|
|
|
Clearly not the best way to do it: we have a zoom object, it probably
already holds this state, and won't be inconsistent if we change the
document click handler. Time pressure and all that.
|
|
|
|
|
|
|
|
width so invisible)
|
|
|
|
missing correct width (setting it on the input instead of the FO) plus
only chrome looks ok for link, FF still misplaced.
|
|
|
|
|
|
|
|
|
|
too much work to split right now. Following changes:
click handlers on circle and on text.
image is now under circle instead of side by side (otherwise it hides it
due to same z-index and later in children list)
some methods renamed to indicate first parameter (editNodeText,
showNodeInfo).
less calls to graph_update.
Still doesn't fix the selection (i.e. unselect for reclick).
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
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.
|
|
|
|
The added input lets you select by *oring* multiple space less
expressions. i.e. 'a b' will find all nodes with name containing either
'a' or 'b'. Not the specification, will be remedied later (i.e. maybe
tomorrow, who knows).
excuse the bulk commit, this does 3 things:
splits off selection logic into src/view/selection
- handles setting state explicityl on Node's, still bad.
- bad at least the 'selected' state (i.e. boolean) is in one place.
- common point for clicking on nodes/edges and selecting view selection
input
makes graph.getConnectedNodesAndLinks accept an array and not just a
single node
implements the search functionality outlined in the first paragraph.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
So now you can change for instance:
$('.perm').each(function(i,x) { x.style.opacity=0.1; })
|
|
|