Skip to content

Commit 2f05969

Browse files
committed
fix: put ; on newline behind edges to enable fast comment-uncomment of edges in generated tikz file
1 parent 766b481 commit 2f05969

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

  • src/main/java/org/variantsync/diffdetective/variation/diff/serialize

src/main/java/org/variantsync/diffdetective/variation/diff/serialize/TikzExporter.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,9 @@ public void exportDiffTree(
8282
edge.style().tikzStyle(),
8383
edge.to().getID());
8484
});
85-
output.println(";");
86-
output.println("");
85+
output.println();
86+
output.format("%n\t;");
87+
output.println();
8788

8889
// Draw node labels. We do this last so that they are on top of edges and nodes.
8990
format.forEachNode(diffTree, (node) -> {

0 commit comments

Comments
 (0)