mozilla/collusion — pull request #110 by jonoxia (2012-10-09 20:06:25+00:00)
Title: Fix for issue #58

Fixed issue #58 - we are now updating css classes on all nodes when the graph updates, not just on newly created nodes, so the blue circle and glow now appear on newly visited nodes.

There is a small bit of code duplication here (the code that applies the classes to newly created nodes and the code that applies them to updated nodes). I haven't found a better way of doing it that still works -- if I don't explicitly apply the classes in both places, it won't work the way we want.