public void layoutGraph(ArrayList<Integer> nPosX,ArrayList<Integer> nPosY){
  if (m_bNeedsUndoAction) {
    addUndoAction(new LayoutGraphAction(nPosX,nPosY));
  }
  m_nPositionX=nPosX;
  m_nPositionY=nPosY;
}

public void layoutGraph ( ArrayList < Integer > nPosX , ArrayList < Integer > nPosY ) { if ( m_bNeedsUndoAction ) { addUndoAction ( new LayoutGraphAction ( nPosX , nPosY ) ) ; } m_nPositionX = nPosX ; m_nPositionY = nPosY ; }
set positions of all nodes
