code: @Override
      public void setRendererModel(RendererModel rendererModel) {
          this.rendererModel = rendererModel;
          if (rendererModel.hasParameter(UseAntiAliasing.class)) {
              if (rendererModel.getParameter(UseAntiAliasing.class).getValue()) {
                  graphics.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);
                  // g.setStroke(new BasicStroke((int)rendererModel.getBondWidth()));
              }
          }
      }
docs: {@inheritDoc}