code: @Override
      public Rectangle calculateDiagramBounds(IAtomContainerSet moleculeSet) {
          if (moleculeSet == null) return this.calculateScreenBounds(new Rectangle2D.Double());
          return this.calculateScreenBounds(BoundsCalculator.calculateBounds(moleculeSet));
      }
docs: {@inheritDoc}