gen graph as list