Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

standardize graph output indentation with 2 spaces #8007

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,11 @@ public void endVisit() {
public void visitEdge(Node<T> lhs, Node<T> rhs) {
String s_lhs = disp.serialize(lhs);
String s_rhs = disp.serialize(rhs);
out.println("\"" + s_lhs + "\" -> \"" + s_rhs + "\"");
out.println(" \"" + s_lhs + "\" -> \"" + s_rhs + "\"");
}

@Override
public void visitNode(Node<T> node) {
out.println("\"" + disp.serialize(node) + "\"");
out.println(" \"" + disp.serialize(node) + "\"");
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public void visitEdge(Node<Target> lhs, Node<Target> rhs) {
getConditionsGraphLabel(
ImmutableSet.of(lhs), ImmutableSet.of(rhs), conditionalEdges);
if (!outputLabel.isEmpty()) {
out.printf(" [label=\"%s\"];\n", outputLabel);
out.printf(" [label=\"%s\"];\n", outputLabel);
}
}
},
Expand Down