code: public AtomSymbolElement generateElement(IAtom atom, int alignment, RendererModel model) {
          String text;
          if (atom instanceof IPseudoAtom) {
              text = ((IPseudoAtom) atom).getLabel();
          } else {
              text = atom.getSymbol();
          }
          return new AtomSymbolElement(atom.getPoint2d().x, atom.getPoint2d().y, text, atom.getFormalCharge(),
                  atom.getImplicitHydrogenCount(), alignment, getAtomColor(atom, model));
      }
docs: Generate an atom symbol element.
  
  @param atom the atom to use
  @param alignment the alignment of the atom's label
  @param model the renderer model
  @return an atom symbol element