summaryrefslogtreecommitdiff
path: root/src/client/model/graph.js
AgeCommit message (Collapse)Author
2015-05-13client/model/graph: commits shown need to be new on topAlon Levy
2015-05-12client/model/graph: handle new clone with commit_logAlon Levy
2015-05-12client/model/graph: add activityBusAlon Levy
Very similar to Diff Bus, just includes initial clone commits. Will remove it in the future.
2015-05-05client: improve text of delete messages, fix #521Alon Levy
2015-04-13client/graph: graph now knows about filtered_types; should split to ↵Alon Levy
filtered_graph
2015-04-12client: graph: drop object_values, use _.valuesAlon Levy
2015-04-12client/graph: add helper find_links__by_nodesAlon Levy
2015-04-12client/graph: extract calc_neighboursAlon Levy
2015-04-12client: for more then one selected node, related is the mutual neighboursAlon Levy
i.e. related = |selected| == 1 N(selected) else intersection_{s in S}{neighbours(s)}
2015-04-12client/selection: rename: selected & relatedAlon Levy
selected nodes - nodes the user selected directly, via search or click. related - nodes that we choose to show the user as a result of the selection made.
2015-04-11client/graph: rewrite and rename getConnectedNodesAndLinksAlon Levy
It was buggy and did not deal with overlap. Renamed to neighbourhood.
2015-04-07client: unify deletion messages and update text. resolves #389Alon Levy
2015-04-02client/graph: fix id_to_link_id_set regression w/ inter-graph linksAlon Levy
2015-04-01rz_api_backend: rz_clone -> rzdoc_cloneLV-426
2015-03-24client/model/graph: track node degree (O(1) amortized on link and node addition)Alon Levy
2015-03-17client: Bacon/jquery dependency: use shimAlon Levy
add shim requirement for Bacon to have jquery loaded first, since Bacon patches in asEventStream (and other APIs). Undo the Bacon_wrapper non fix: git grep -l Bacon_wrapper | while read f; do sed -i -e s/Bacon_wrapper/Bacon/g $f; done
2015-03-16client: use 'untitled' as empty link fixes #381Alon Levy
Sanitizes any link attribute change. Topo diff in next patch since I might want to reverse it - current interface doesn't allow introducing null link names on creation.
2015-03-15client: add util.log_error, use for clone missing dst/src idsAlon Levy
2015-03-15client: ignore bad links on cloneAlon Levy
2015-03-13client: fix json export and import to use model/types to account for allowed ↵Alon Levy
attributes
2015-03-09client: search in nodes and attributesAlon Levy
Fixes #358 Implementation limitations: - uses hasOwnProperty for search, and further filters on strings. So technically could be oversearching - i.e. string properties that are not attributes. We should keep an attribute key on Node and Link - there is no selected link, just selected nodes. So we select both source and destination. Opening issue #367 for this.
2015-03-03client: rename consistently links__delete, nodes__deleteAlon Levy
2015-03-01client: add Bacon_wrapper, use instead of Bacon; forced loading of jquery ↵Alon Levy
before Bacon
2015-02-25client: selection tools: add link nodes in fanAlon Levy
2015-02-16client/graph/merge: re-instate confirm dialog for rename-to-mergeAlon Levy
2015-02-15client/model: update_node can now do merge. Fixes #226Alon Levy
2015-02-15client: node merge: don't add self referencial linksAlon Levy
2015-02-15client: implement merge of nodesAlon Levy
2015-02-11client: remove setting type change suggestion location via graph.findCoordinatesAlon Levy
2015-02-09rz_config: embed in index, remove as moduleAlon Levy
Still missing: remove host/port, let client use same as url it was served on. remove other flags no longer relevant. better mapping of server config to avoid double work?
2015-02-05client/graph: add find_link__by_id for debugging only right nowAlon Levy
2015-01-23graph.js#__addNode(): use console.warn on id collisionsLV-426
2015-01-13client/graph: find_node_* returns null on unfound, not undefined. Fixes #275Alon Levy
2015-01-13client/graph: find_node__by_id now returns Node/nullAlon Levy
not undefined (undefined not appropriate for this case.
2015-01-13client/graph: allow updating property of a backend backed nodeAlon Levy
This is a hack, here is the code comment: FIXME: should not do a server roundtrip, should keep this data local and part of the temporary graph, and send it on user enter in a single commit. The current implementation is just a quick way to get sorta the same outcome. it misses atomicity (since we create a commit for every tab click on an existing node), and responsiveness (since there is a roundtrip to the server and it isn't client side)
2015-01-13client/graph: find_node__* default to recursion but optionalAlon Levy
2015-01-13client/model/grah: bug fix in update_nodeAlon Levy
2015-01-13client/graph: editType: drop stateAlon Levy
2015-01-13commit_diff__attr doc stringLV-426
2015-01-13graph.js: commit_diff__attr()LV-426
2015-01-12client: fix link renameAlon Levy
together with previous server commit Fixes #257
2015-01-12client/graph.js: add two assertions on link integrity on load from backendAlon Levy
2015-01-11update_link(): mirror update_node() handlingLV-426
2015-01-11follow n_id var naming conventionLV-426
2015-01-11client: json loading: don't send invalid datesAlon Levy
i.e. start/end on node. It raises a scala error in neo4j (and isn't nice).
2015-01-11client: allow rename case of node (no merge et); Fixes #254Alon Levy
2015-01-11client/graph: fix node attr_diff return pathAlon Levy
2015-01-11update_node(): handle incoming attr_diff on ajax successLV-426
2015-01-11update_node: rm incoming ID change detection - should not occur for incoming ↵LV-426
attr_diffs
2015-01-06client: fix tab switching; move to new tokenize implementation (not strictly ↵Alon Levy
""right""