add a spec for rendering the graph