}
if (operation.dest.vertex == Vertex.NONE) {
throw new IllegalArgumentException("dest element has no vertex");
}
Library srcLibrary = workspace.lookupLibrary(operation.src.vertex.libraryUid);
srcLibrary.addEdge(new Edge(operation.src.vertex, operation.type, operation.dest.vertex));
}
public void addProject(NewProjectOperation operation) {
workspace.addProject(operation.project);
operation.project.accept(addVertices);