So let's say I want to click and get the data for each node how do I extend that by just adding the click event