//hierarchy.add(parent,children,actionType);
}
public void add(Node parent,List children,int position,int actionType){
hierarchy.add(parent,children,position,actionType);
//Undo
if (isUndo(actionType)) postEdit(new NodeCreationEdit(this,parent,children,position));
}