public String createComponent(SvgBaseTo svgTo) {
String result = null;
try {
int loopx = 260;
int loopy = 281;
SvgCallActivityTo signavio = (SvgCallActivityTo)svgTo;
InputStream in = SvgBench.class.getResourceAsStream(comPath);
Document doc = XmlUtil.read(in);
String str = doc.getRootElement().asXML();
String loopStd = none;
String loopPar = none;
String loopSeq = none;
str = FlowSvgUtil.replaceAll(str, local_x, StringUtil.getString(signavio.getX()-2));
str = FlowSvgUtil.replaceAll(str, local_y, StringUtil.getString(signavio.getY()-2));
str = FlowSvgUtil.replaceAll(str, id, signavio.getId());
str = FlowSvgUtil.replaceAll(str, text, signavio.getLabel());
str = FlowSvgUtil.replaceAll(str, text_x, StringUtil.getString(signavio.getWidth()/2));
str = FlowSvgUtil.replaceAll(str, text_y, StringUtil.getString(signavio.getHeight()/2));
str = FlowSvgUtil.replaceAll(str, width, StringUtil.getString(signavio.getWidth()));
str = FlowSvgUtil.replaceAll(str, hight, StringUtil.getString(signavio.getHeight()));
str = FlowSvgUtil.replaceAll(str, loop_x, StringUtil.getString(signavio.getWidth()/2-loopx));
str = FlowSvgUtil.replaceAll(str, loop_y, StringUtil.getString(signavio.getHeight()-7-loopy));
str = FlowSvgUtil.replaceAll(str, adhoc, none);
str = FlowSvgUtil.replaceAll(str, callActivity, "");
if(signavio.getLoopType().equals(LoopType.StandardLoop)){
loopStd = "";
}else if(signavio.getLoopType().equals(LoopType.MultiInstanceLoopParallel)){
loopPar = "";
}else if(signavio.getLoopType().equals(LoopType.MultiInstanceLoopSequential)){
loopSeq = "";
}
str = FlowSvgUtil.replaceAll(str, loop_std, loopStd);
str = FlowSvgUtil.replaceAll(str, loop_par, loopPar);