Highlight To and From links when node is selected

I’m building a circular network diagram, and when a link is clicked, I need to highlight all of the links coming from that node in one colour, and all of the links going to that node in another colour. I can only seem to get the first part…

Have you seen Navigation of Graphs ?