List and Set for Graph