add graph root