Class LineGraphExporter<L extends Label>

java.lang.Object
org.variantsync.diffdetective.variation.diff.serialize.LineGraphExporter<L>
All Implemented Interfaces:
Exporter<L>

public class LineGraphExporter<L extends Label> extends Object implements Exporter<L>
Exporter that converts a single VariationDiff's nodes and edges to linegraph.
  • Field Details

  • Constructor Details

    • LineGraphExporter

      public LineGraphExporter(Format<? super L> format)
    • LineGraphExporter

      public LineGraphExporter(LineGraphExportOptions<? super L> options)
  • Method Details

    • exportVariationDiff

      public <La extends L> void exportVariationDiff(VariationDiff<La> variationDiff, OutputStream destination)
      Export a line graph of variationDiff into destination.
      Specified by:
      exportVariationDiff in interface Exporter<L extends Label>
      Parameters:
      variationDiff - to be exported
      destination - where the result should be written
    • getDebugData

      public VariationDiffSerializeDebugData getDebugData()
      Returns debug metadata that was recorded during export.