model_server/edge/src/node.cxx
/*
 * disconnect
 *      delete all edges having this as source or target
 */
disconnect
delete all edges having this as source or target
disconnect delete all edges having this as source or target
void 
node::disconnect()
{
    node* c;
    if (this->getrgraph() != 0)
      for (c = this->getrgraph()->getheadnode(); c != 0; c = c->getnextnode())
        if (c->getrgraph() != 0) c->disconnect();
    elist* edges = this->find_edges_from_preds();
    elist* ee = this->find_edges_to_succs();
    edges->appendlist(ee);
    edges->clean();
    delete edges;
    delete ee;
}
void node :: disconnect ( ) { node * c ; if ( this -> getrgraph ( ) != 0 ) for ( c = this -> getrgraph ( ) -> getheadnode ( ) ; c != 0 ; c = c -> getnextnode ( ) ) if ( c -> getrgraph ( ) != 0 ) c -> disconnect ( ) ; elist * edges = this -> find_edges_from_preds ( ) ; elist * ee = this -> find_edges_to_succs ( ) ; edges -> appendlist ( ee ) ; edges -> clean ( ) ; delete edges ; delete ee ; }
disconnect
      delete all edges having this as source or target
disconnect delete all edges having this as source or target
//    ee->clean();