//���
String colspans="";
sb.append("<tr>");
for (int k = 0; k < graphXYListTemp.size(); k++) {
DefaultActivityViewer sav = new DefaultActivityViewer();
GraphActivity graphAct = (GraphActivity)graphXYListTemp.get(k);
Activity act = graphAct.getReferenceActivity();
if(cols != graphXYListTemp.size()) colspans="colspan ="+cols;
sb.append("<td width=100 height="+distanceY+" align=center "+colspans+">");
if(graphAct.getName()==null) {
sb.append("<div id='sw_act_" + act.getTracingTag() + "'>"+ sav.render(act,null, (act instanceof ComplexActivity ? noDecoratedOption : options))+ "</div>");
} else if(graphAct.isStartGraphActivity()) {
sb.append("<div id='sw_act_start'><img src=\"../processmanager/images/start.gif\"></div>");
} else if(graphAct.isEndGraphActivity()) {
sb.append("<div id='sw_act_end'><img src=\"../processmanager/images/end.gif\"></div>");
} else {
sb.append("<div id='sw_act_" + act.getTracingTag() + "'>"+ sav.render(act,null, (act instanceof ComplexActivity ? noDecoratedOption : options))+ "</div>");
}
sb.append("</td>");
}
sb.append("</tr>");
preY=sp.pointY;