code: function(stopOnParents) {
  		var nodeList = [];
  		this.rootNode.visit(function(node){
  			if( node.selected ) {
  				nodeList.push(node);
  				if( stopOnParents === true ){
  					return "skip"; // stop processing this branch
  				}
  			}
  		});
  		return nodeList;
  	}
docs: Return an array of selected nodes.
  @param {boolean} [stopOnParents=false] only return the topmost selected
  node (useful with selectMode 3)
  @returns {FancytreeNode[]}