Skip to content

Commit 6fe353f

Browse files
committed
Implement rule explanations via images in GV export (joint work with András Kerekes)
1 parent 1ef2022 commit 6fe353f

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/main/java/wprover/PanelProve.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1662,7 +1662,11 @@ String setNode(Cond co) {
16621662
else {
16631663
ret += ", tooltip = \" \""; // do not show any tooltip
16641664
}
1665-
ret += ", style = \"" + s + "\", shape = " + f + ", fillcolor = \"" + c + "\"];\n";
1665+
// The files Rule??.jpg are located in the folder web:
1666+
String url = "https://github.com/kovzol/Java-Geometry-Expert/blob/master/src/docs/web/Rule" + rule + ".jpg?raw=true";
1667+
ret += ", style = \"" + s + "\", shape = " + f + ", fillcolor = \"" + c + "\"" +
1668+
", URL=\"" + url + "\""
1669+
+ "];\n";
16661670
return ret;
16671671
}
16681672

0 commit comments

Comments
 (0)