add a one-second timer that automatically updates the ros_graph view

hello,

this is a quick-and-dirty tweak to ros_graph to make it automatically poll the graph every second, so that (for example, when demo'ing stuff), the window automatically updates to reflect what is happening. I think this is what rx_graph used to do. Anyway, my implementation is not the best, but it appears to work.