Interface DiagramComparator

All Known Implementing Classes:
DiagramComparatorImpl

@OpenApiAll public interface DiagramComparator
Base interface for comparing diagrams.
  • Method Details

    • compareDiagrams

      Compare two diagram presentations.
      Parameters:
      diagrams1 - first diagram to compare.
      diagrams2 - second diagram to compare.
      Returns:
      true if diagrams are equals.
    • getDiffInfo

      String getDiffInfo()
      Format textual information about differences found in compared diagrams.
      Returns:
      String information about differences in diagram.
    • saveDiffToImageFiles

      void saveDiffToImageFiles(File file)
      Save graphical diagram differences to the given file or directory.
      Parameters:
      file - File or directory to save graphical differences to.