graph G { /* list out all the nodes */ 1; 2; 3; 4; 5; /* list out all the edges */ 1 -- 2; 2 -- 3; 2 -- 4; 3 -- 5; 4 -- 5; 1 -- 5; }