Class TextDiffToTikz
java.lang.Object
org.variantsync.diffdetective.internal.TextDiffToTikz
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final Format<DiffLinesLabel>
Format used for the test export.static String[]
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
exportAsTikz
(VariationDiff<DiffLinesLabel> variationDiff, GraphvizExporter.LayoutAlgorithm layout) static void
static String
substringBefore
(String str, Pattern end) static void
textDiff2Tikz
(Path fileToConvert, GraphvizExporter.LayoutAlgorithm layout) static String
tikzNodeLabel
(DiffNode<? extends DiffLinesLabel> node)
-
Field Details
-
UNICODE_PROP_SYMBOLS
-
format
Format used for the test export.
-
-
Constructor Details
-
TextDiffToTikz
public TextDiffToTikz()
-
-
Method Details
-
main
- Throws:
IOException
DiffParseException
-
textDiff2Tikz
public static void textDiff2Tikz(Path fileToConvert, GraphvizExporter.LayoutAlgorithm layout) throws IOException, DiffParseException - Throws:
IOException
DiffParseException
-
exportAsTikz
public static String exportAsTikz(VariationDiff<DiffLinesLabel> variationDiff, GraphvizExporter.LayoutAlgorithm layout) throws IOException - Throws:
IOException
-
tikzNodeLabel
-
substringBefore
-