int delete_node(node* vertex) { if(vertex == NULL || !in_edges_list(allverticies, vertex)) { return -1; } edgesnode* p = vertex -> edges; while(p != NULL