for utility functions
click on a node to highlight connectied nodes