Implemented showing and hiding of nodes and updated the demo to include this.