19-05-2007, 11:30 AM
A slight variation of the the GraphView example from the prefuse download. This demo shows one way to implement a NeighbourHighLightControl, which uses different colors for source nodes, target nodes and nodes wich are both.
It basically works by defining three focus groups for source nodes, target nodes and nodes which are both and filling these focus groups with the respecitve nodes when a node item is entered (and clearing these groups when the item is left)
This demo needs the file socialnetDirected.xml to work.
It basically works by defining three focus groups for source nodes, target nodes and nodes which are both and filling these focus groups with the respecitve nodes when a node item is entered (and clearing these groups when the item is left)
This demo needs the file socialnetDirected.xml to work.
