Point2d p = atom.getPoint2d();
Color c = Color.black;
TextGroupElement textGroup;
if(result.length>1){
textGroup = new TextGroupElement(p.x, p.y, result[1], c, Color.yellow);
textGroup.addChild(result[0], TextGroupElement.Position.N);
}else{
textGroup = new TextGroupElement(p.x, p.y, result[0], c, Color.yellow);
}
if(result.length>2)
textGroup.addChild(result[0], TextGroupElement.Position.S);