private void visit(NodeItem n,NodeItem c,int doi,int ldist){
  PrefuseLib.updateVisible(n,true);
  double localDOI=-ldist / Math.min(1000.0,m_divisor);
  n.setDOI(doi + localDOI);
  if (c != null) {
    EdgeItem e=(EdgeItem)c.getParentEdge();
    e.setDOI(c.getDOI());
    PrefuseLib.updateVisible(e,true);
  }
}

private void visit ( NodeItem n , NodeItem c , int doi , int ldist ) { PrefuseLib . updateVisible ( n , true ) ; double localDOI = - ldist / Math . min ( 1000.0 , m_divisor ) ; n . setDOI ( doi + localDOI ) ; if ( c != null ) { EdgeItem e = ( EdgeItem ) c . getParentEdge ( ) ; e . setDOI ( c . getDOI ( ) ) ; PrefuseLib . updateVisible ( e , true ) ; } }
visit a specific node and update its degree - of - interest .
