summaryrefslogtreecommitdiff
path: root/src/rz_core.js
AgeCommit message (Collapse)Author
2014-12-16moving files around after repository mergerAlon Levy
2014-12-16showNodeInfo(): on_save() hook:LV-426
- use graph.update_node(), - pass update_view__graph() callback
2014-12-16removeNode(): rm unsued state param,LV-426
swith to find_node__by_id() use
2014-12-16wrap backend calls with rz_config.backend_enabledLV-426
2014-12-08rz_core: remove console log used for developmentAlon Levy
2014-12-08reorder link labels (.linklabel)Alon Levy
there is an existing bug where you don't see the labels for links changes on existing nodes, i.e.: (no enter on second sentence) You should have: g .linklabel isnot but instead you have an empty linklabel g .linklabel
2014-12-08rz_core: selected links should be below selected nodesAlon Levy
2014-12-08links reordering per selection (Fixes #198)Alon Levy
adding a new group setting all links with id just like nodes have it letting d3 sort per that id - this means it doesn't care about the order of the DOM elements every update we go over all the links and reparent them by selected/non selected. Missing: text-labels
2014-12-08reorder related & selected on top; Fixes #198Alon Levy
2014-12-08fix link hiding by clicking link name after another regressionAlon Levy
2014-12-08fix link unclickable regressionAlon Levy
2014-12-08remove one svg_input should-not-exist-default (width of fo)Alon Levy
2014-12-08straight links (one line, SVG rocks)Alon Levy
2014-12-08rz_core: prevent cancel of selection when dragging in an over populated ↵Alon Levy
graph (i.e. clicking on a link is hard to avoid)
2014-12-08remove timeline code from rz_core; cleanup circle codeAlon Levy
2014-12-07remove overlay node, don't remember why it was needed and seems fine without itAlon Levy
2014-12-07rz_core: can now use shift-click for selection on svg-input (drag still ↵Alon Levy
drags node)
2014-12-07svg_input: remove some magic and make it work for ... text nodes (i.e. ↵Alon Levy
longer then 30 chars)
2014-12-07node/link inline edit: don't show text behind inputAlon Levy
2014-12-07measure: don't do the crazy computed css copy. use minus height trick. Fixes ↵Alon Levy
#194
2014-12-07node_info cleanupAlon Levy
show correct fields per node type don't accumulate callbacks (was unusable) update dialog on save with type change - no need to click node again
2014-12-06Fix #187 - return edge directionalityAlon Levy
2014-12-06underscore on bubble is not prettyAlon Levy
2014-12-06Show underscore for empty text to enable click editing (Fixes #190)Alon Levy
2014-12-06Node info edit - make name editable (Partial #189)Alon Levy
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