Refactoring advice function.
Update graph.css.