Graph syntax highlighting fix