Make nodes and edges clickable