I have to select and deselect nodes programmatically, I need to add a option 'SELECT ALL' to select all nodes at once. Any solution?