private MobileDoc createLayout(MobileDoc doc,MWorkflow wf,int activeNode,MWFNode[] nodes,ArrayList nodes_ID,int[][] imageMap){
  body b=doc.getBody();
  b.addElement(printWorkflow(activeNode,wf,nodes,nodes_ID,imageMap));
  b.addElement(new hr());
  b.addElement(printDescription(activeNode,wf,nodes,nodes_ID));
  b.addElement(new br());
  b.addElement(printControlPanel(activeNode,wf,nodes,nodes_ID));
  return doc;
}

private MobileDoc createLayout ( MobileDoc doc , MWorkflow wf , int activeNode , MWFNode [ ] nodes , ArrayList nodes_ID , int [ ] [ ] imageMap ) { body b = doc . getBody ( ) ; b . addElement ( printWorkflow ( activeNode , wf , nodes , nodes_ID , imageMap ) ) ; b . addElement ( new hr ( ) ) ; b . addElement ( printDescription ( activeNode , wf , nodes , nodes_ID ) ) ; b . addElement ( new br ( ) ) ; b . addElement ( printControlPanel ( activeNode , wf , nodes , nodes_ID ) ) ; return doc ; }
print the entire layout .
