How-to: Use setSelectionFilter
Language: JavaScript
The method setSelectionFilter is useful for leveraging the selection operation to get list of selected nodes and then being able to apply functions from the Model class. Check out the full example in our forum post.