DefaultPort zeroChild = (DefaultPort)wcCell.getChildAt(0);
Set edges = zeroChild.getEdges();
DefaultEdge edge1=(DefaultEdge)edges.iterator().next();
DefaultGraphModel model = (DefaultGraphModel)jGraphMain.getModel();
model.remove(new Object[]{edge1});
// Create Edge
DefaultEdge edge = new DefaultEdge();
int arrow = GraphConstants.ARROW_CLASSIC;
GraphConstants.setLineEnd(edge.getAttributes(), arrow);
GraphConstants.setEndFill(edge.getAttributes(), true);
setLineAttribs(edge);
// Create ConnectionSet for Insertion
ConnectionSet cs = new ConnectionSet(edge, wcCell.getChildAt(0), wsCell.getChildAt(0));
// Add Edge and Connections to the Model
Object[] insert = new Object[]{edge};
model.insert(insert, null,cs, null, null);
}