Rendering graph in the correct size