Render graph correctly