public void alignBottom(ArrayList<Integer> nodes){
  if (m_bNeedsUndoAction) {
    addUndoAction(new alignBottomAction(nodes));
  }
  int nMaxY=-1;
  for (int iNode=0; iNode < nodes.size(); iNode++) {
    int nY=getPositionY(nodes.get(iNode));
    if (nY > nMaxY || iNode == 0) {
      nMaxY=nY;
    }
  }
  for (int iNode=0; iNode < nodes.size(); iNode++) {
    int nNode=nodes.get(iNode);
    m_nPositionY.set(nNode,nMaxY);
  }
}

public void alignBottom ( ArrayList < Integer > nodes ) { if ( m_bNeedsUndoAction ) { addUndoAction ( new alignBottomAction ( nodes ) ) ; } int nMaxY = - 1 ; for ( int iNode = 0 ; iNode < nodes . size ( ) ; iNode ++ ) { int nY = getPositionY ( nodes . get ( iNode ) ) ; if ( nY > nMaxY || iNode == 0 ) { nMaxY = nY ; } } for ( int iNode = 0 ; iNode < nodes . size ( ) ; iNode ++ ) { int nNode = nodes . get ( iNode ) ; m_nPositionY . set ( nNode , nMaxY ) ; } }
align set of nodes with the bottom most node in the list
