summaryrefslogtreecommitdiff
path: root/src/model/core.js
diff options
context:
space:
mode:
authorAlon Levy <alon@pobox.com>2014-11-24 20:30:09 +0200
committerAlon Levy <alon@pobox.com>2014-11-24 20:30:09 +0200
commitf2ce89be26456be0fba9b298a19e98b83482170d (patch)
treed4cc432d2f8023859bfa91278484b250fa8eaf50 /src/model/core.js
parent224b9b40ef7ac3b560c28eaef8dea0473d362e71 (diff)
add search
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.
Diffstat (limited to 'src/model/core.js')
0 files changed, 0 insertions, 0 deletions