Styling the graph with different materials