in struct graph_writer: graph_type::vetex_type -> vetex_type