Graph generation methods