System.out.println("Couldn't create edge from: " + inEdge.getTail() + " " + outEdge.getHead() + " " + e);
  private void deleteEdges(Node node) {    Enumeration inEdgeElements;    Enumeration outEdgeElements;    inEdgeElements = node.inEdgeElements();    // first, connect in-edges to out-edges    while (inEdgeElements.hasMoreElements()) {      Edge inEdge = (Edge)inEdgeElements.nextElement();      outEdgeElements = node.outEdgeElements();      GrappaStyle gs = new GrappaStyle(GrappaConstants.EDGE, "line_width(3)");      while (outEdgeElements.hasMoreElements()) {	Edge outEdge = (Edge)outEdgeElements.nextElement();	if (!hasEdge(inEdge.getTail(), outEdge.getHead())) {	  Edge edge = null;	  try {	    edge = new Edge(this, inEdge.getTail(), outEdge.getHead());	  } catch (Exception e) {	    System.out.println("Couldn't create edge from: " +			       inEdge.getTail() + " " +			       outEdge.getHead() + " " + e);	    continue;	  }	  edge.setAttribute(GrappaConstants.STYLE_ATTR, gs);	}      }    }    // now delete original out edges    outEdgeElements = node.outEdgeElements();    while (outEdgeElements.hasMoreElements())       ((Edge)outEdgeElements.nextElement()).delete();    // and delete original in edges    inEdgeElements = node.inEdgeElements();    while (inEdgeElements.hasMoreElements())       ((Edge)inEdgeElements.nextElement()).delete();  }