/** * Create a vertex * * @param id the id of the vertex * @param value the vertex value * @param edges edges to other vertices * @return a new vertex */ protected Vertex<I, V, E> makeVertex(I id, V value, Entry<I, E>... edges) { Vertex<I, V, E> vertex = conf.createVertex(); vertex.initialize(id, value, createEdges(edges)); return vertex; }