}
public String toSVG() {
IChemModel chemModel = this.hub.getIChemModel();
if (chemModel != null && chemModel.getMoleculeSet() != null) {
SVGGenerator svgGenerator = new SVGGenerator();
this.renderer.paintChemModel(chemModel, svgGenerator);
return svgGenerator.getResult();
} else {
return "<svg></svg>";
}
}