initial graph class