Dmitrii's gen_graph
Fixed conflicts on Dmitrii