Ejemplo n.º 1
0
  public void setVertex(String vertexName) {
    logger.debug("Setting vertex to: '" + vertexName + "'");
    Vertex e = model.findVertex(vertexName);
    Util.AbortIf(e == null, "Vertex not Found: '" + vertexName + "'");

    currentVertex = e;
    setAsVisited(e);
  }
Ejemplo n.º 2
0
 public boolean hasVertex(String vertexName) {
   return model.findVertex(vertexName) != null;
 }