public void addEdges(List edgesToAdd){
  for (Iterator it=edgesToAdd.iterator(); it.hasNext(); ) {
    Edge e=(Edge)it.next();
    edges.add(e);
    DirectedEdge de1=new DirectedEdge(e,true);
    DirectedEdge de2=new DirectedEdge(e,false);
    de1.setSym(de2);
    de2.setSym(de1);
    add(de1);
    add(de2);
  }
}

public void addEdges ( List edgesToAdd ) { for ( Iterator it = edgesToAdd . iterator ( ) ; it . hasNext ( ) ; ) { Edge e = ( Edge ) it . next ( ) ; edges . add ( e ) ; DirectedEdge de1 = new DirectedEdge ( e , true ) ; DirectedEdge de2 = new DirectedEdge ( e , false ) ; de1 . setSym ( de2 ) ; de2 . setSym ( de1 ) ; add ( de1 ) ; add ( de2 ) ; } }
add a set of edges to the graph . for each edge two directededges will be created . directededges are not linked by this method .
