public IRenderingElement generate(IAtomContainer ac, RendererModel model) {
JChemPaintRendererModel jcpModel = (JChemPaintRendererModel) model;
if(hub.getPhantomArrow()[0]==null || hub.getPhantomArrow()[1]==null)
return new ElementGroup();
else
return new ArrowElement(hub.getPhantomArrow()[0].x,
hub.getPhantomArrow()[0].y,
hub.getPhantomArrow()[1].x,
hub.getPhantomArrow()[1].y,
1 / jcpModel.getScale(),true,
Color.GRAY);