Added onNodeClick listener for viewing node info.