summaryrefslogtreecommitdiff
path: root/src/client/model/graph.js
AgeCommit message (Collapse)Author
2015-07-30client: record position to db when dragging + fixedAlon Levy
Record position when dragging. Record fixed status. this is still not clear - what fixed means exactly.
2015-07-30client: more specific logging for node position recordingAlon Levy
2015-07-30client/model/graph: use eps, short for epsilonAlon Levy
2015-07-30client/model/graph.nodes__update_positions: noop if change is too small (use ↵Alon Levy
configurable epsilon)
2015-07-30client: node position storing: change key format to use underscores, more ↵Alon Levy
cypher friendly
2015-07-26client: store positions in db instead of local storageAlon Levy
attributes used are currently a bit lame, since we don't support nested attributes. So the attribute stored is: layouts.<layout_name>.{x,y} where layout_name is one of: force, user, ring. Note that force layout still takes time initially, because alpha is always set to 1 initially. This should probably be changed when a layout is loaded.
2015-07-26client/model/graph: reduce attribute write verbosity (node only)Alon Levy
2015-07-26client: various lint fixesAlon Levy
2015-07-25client: clone: fix pushed diff to contain links & nodesAlon Levy
2015-07-23client/model/graph: make addTempNode API a constant (fix FIXME)Alon Levy
2015-07-23client/model/graph: linting fixes from emacs js2 mode (jshint probably)Alon Levy
2015-06-04add copyright and license headers for GNU AGPL v3Alon Levy
2015-05-18client/model/graph: shortests_paths: bug fixAlon Levy
2015-05-18graph.js: commit_and_tx_diff__topo: remove on_error which duplicates default ↵LV-426
on_error behavior
2015-05-18graph.js: miscLV-426
2015-05-18client/model/graph: add find_nodes__by_idAlon Levy
2015-05-18client/model/graph: implement BFS and shortest_paths on top of thatAlon Levy
2015-05-18client/model/graph: add get_node_idsAlon Levy
2015-05-18client/model/graph: refactor kind out of neighbourhoodAlon Levy
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