@Override public final void addVertices(Vertex... vertices) { getSimpleVertexProvider().add(vertices); }
@Override public final void addVertices(Vertex... vertices) { getSimpleVertexProvider().add(vertices); }
@Override public final void addVertices(Vertex... vertices) { getSimpleVertexProvider().add(vertices); }
protected final AbstractVertex addVertex(String id, int x, int y) { LoggerFactory.getLogger(getClass()).debug("Adding vertex in {} with ID: {}", getClass().getSimpleName(), id); AbstractVertex vertex = new SimpleLeafVertex(getNamespace(), id, x, y); getSimpleVertexProvider().add(vertex); return vertex; }
protected final AbstractVertex addVertex(String id, int x, int y) { LoggerFactory.getLogger(getClass()).debug("Adding vertex in {} with ID: {}", getClass().getSimpleName(), id); AbstractVertex vertex = new SimpleLeafVertex(getNamespace(), id, x, y); getSimpleVertexProvider().add(vertex); return vertex; }
protected final AbstractVertex addVertex(String id, int x, int y) { LoggerFactory.getLogger(getClass()).debug("Adding vertex in {} with ID: {}", getClass().getSimpleName(), id); AbstractVertex vertex = new SimpleLeafVertex(getVertexNamespace(), id, x, y); getSimpleVertexProvider().add(vertex); return vertex; }
@Override public final void removeVertex(VertexRef... vertexId) { for (VertexRef vertex : vertexId) { if (vertex == null) continue; getSimpleVertexProvider().remove(vertexId); removeEdges(getEdgeIdsForVertex(vertex)); } }
@Override public final void removeVertex(VertexRef... vertexId) { for (VertexRef vertex : vertexId) { if (vertex == null) continue; getSimpleVertexProvider().remove(vertexId); removeEdges(getEdgeIdsForVertex(vertex)); } }
@Override public final void removeVertex(VertexRef... vertexId) { for (VertexRef vertex : vertexId) { if (vertex == null) continue; getSimpleVertexProvider().remove(vertexId); removeEdges(getEdgeIdsForVertex(vertex)); } }