summaryrefslogtreecommitdiff
path: root/scripts/rz_core.js
AgeCommit message (Collapse)Author
2014-11-13rename scripts/ -> src/LV-426
2014-11-13moving customSize to view/helpersLV-426
2014-11-13canvas_handler_dblclick(): add node on doubleclickLV-426
2014-11-13editNode(): partial cleanup, doc & set_focus paramLV-426
2014-11-13locate_visual_element() using model object's idLV-426
2014-11-13rename model/model -> model/coreLV-426
2014-11-13append rhizi node id to <g> element to enable data->visual mappingLV-426
2014-11-11show edge/link (not consistent) title. Fixes #136Alon Levy
2014-11-11Fix highlight of node and edgeAlon Levy
TODO 1: This is a bit magic. The problem is that I'm not sure exactly if the nodes/edges given to the click callback are updated correctly when we just do renames. So the code is a bit protective - it compares names instead of comparing objects. This might work or not later with multiple edges. But I really need to fix it so we never have callbacks with stale data. TODO 2: Plus I'm not using classes correctly, instead setting attributes in the d3 update function (update). This is already done but is a bad smell, makes it harder to change properties easily. Used for stroke-width here and for nodes, for color.
2014-11-11add ghostlink for easier edge selection (Fixes #131)Alon Levy
This changes our current svg. We already had a <g id="link-group"> and under it <path class="link graph"> elements (class changes for selection). Now we have <g class="link graph"> elements containing two paths: one for display, one for selection. the display has stroke-width of 2 (defined in res/css/style.css) and the selection has stroke-width of 5 and stroke not defined to make it invisible plus a higher z-index to catch the click.
2014-11-11rz_core: remove link path default d (i.e. coordinates) propertyAlon Levy
we reset it correctly at the first tick. The default value doesn't make any sense.
2014-11-11Add edge_info tab; implements edge deletionAlon Levy
2014-11-11rz_core: make edge name editing input appear at correct place wrt translationAlon Levy
2014-11-11fix missing .info change to view.hideAlon Levy
2014-11-11introduce a view wrapper, view/viewAlon Levy
2014-11-11rz_core: split off view/node_infoAlon Levy
2014-11-11rz_core: split off view/helpersAlon Levy
2014-11-11mv img resources to res/img/LV-426
2014-11-11showInfo: hide via jquery, visibility/display is tricky (fixes #132)Alon Levy
2014-11-11revert committed debug lines...LV-426
2014-11-11main.js: rm module dependecy on rz_core for sole function: expand()LV-426
2014-11-11use non-named module definitionLV-426
2014-11-11add some console bug logs where preconditions are wrong (oh, eiffel..)Alon Levy
2014-11-10rename rhizicore -> rz_core, move towards common rz_ prefixLV-426