summaryrefslogtreecommitdiff
path: root/src/rz_core.js
AgeCommit message (Collapse)Author
2014-12-04accidental console.log removedAlon Levy
2014-12-04Fixes #170: dragging cancels searchAlon Levy
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.
2014-12-04Partial #162Alon Levy
2014-12-04svg input height fix (not in css, svg is annoying)Alon Levy
2014-12-04fix regression with too many auto completion suggestionsAlon Levy
2014-12-04measure should be hidden - reparented it to fo (and now it's out of the fo ↵Alon Levy
width so invisible)
2014-12-04rz_core: resizing of the new svg.fo.body.input (works both FF and chrome)Alon Levy
2014-12-04svgInput modularized, works mostlyAlon Levy
missing correct width (setting it on the input instead of the FO) plus only chrome looks ok for link, FF still misplaced.
2014-12-04use ForeignObject for editing, not pretty but mostly thereAlon Levy
2014-12-04fix editing links: was accumulating callbacks (mass edit..)Alon Levy
2014-12-04fix selection inversion: Fixes #144Alon Levy
2014-12-04editlink/node: support escape to cancelAlon Levy
2014-12-04rz_core: cleanup node click handlersAlon Levy
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).
2014-12-04rz_core: use selection.update (more to come)Alon Levy
2014-12-04rz_core: rename overlay_click and small cleanupAlon Levy
2014-12-03rz_core: user removal falloutAlon Levy
2014-12-03assume logged-in user, rm userBusLV-426
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-28Changed node types names resolving #162garbash
2014-11-25rz_core: remove unused codeAlon Levy
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-25rz_core: fix last usage of highlight, convert to selectionAlon Levy
2014-11-24add searchAlon Levy
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.
2014-11-23cleanup zoom behavior initLV-426
2014-11-23gantt -> timeline renameLV-426
2014-11-23call graph update via presenter, rm graph obj. manglingLV-426
2014-11-23init_force_layout() - adapt Link with __src,__dst property aliasesLV-426
2014-11-19wide source/target -> __src,__dst rename, align with DB modelLV-426
2014-11-19replace _addNodeNoHistory() call with addNodeLV-426
2014-11-19rm unused el paramLV-426
2014-11-19notselected & selected classes added; only used when a selection is in progressAlon Levy
2014-11-18set selected class on selected elementsAlon Levy
2014-11-18add removeHighlight to avoid accumulating link highlightingAlon Levy
2014-11-18rz_core: move styling to css for easy skinningAlon Levy
So now you can change for instance: $('.perm').each(function(i,x) { x.style.opacity=0.1; })
2014-11-13rename scripts/ -> src/LV-426