click to highlight a line, which highlights corresponding node in graph