Encapsulated edge and vertex in their own files