diff --git a/git-tutorial.js b/git-tutorial.js
index 7481199..6eb4e0a 100644
--- a/git-tutorial.js
+++ b/git-tutorial.js
@@ -738,29 +738,33 @@ function ___hide_graphview_hover(id, default_id) {
document.getElementById(id).style.visibility = 'hidden';
}
+var ___legend = ''
++ '
'
++ '
Legend:
'
++ Viz(
+ 'digraph legend {\n' +
+ ' bgcolor=transparent;\n' +
+ ' ranksep=0;\n' +
+ ' "parent" [label="parent directory", style=filled, fillcolor=white, ' + ___directory_node_style + '];\n' +
+ ' "child" [label="child", style=filled, fillcolor=white];\n' +
+ ' "ref" [label="reference to abcdef", style=filled, fillcolor=white];\n' +
+ ' "abcdef" [label="…/.git/ab/cdef", style=filled, fillcolor=white];\n' +
+ ' "existing" [label=
existing dir>, style=filled, fillcolor=white, ' + ___previous_file_node_style + '];\n' +
+ ' "new" [label=
new dir>, style=filled, fillcolor=white];\n' +
+ ' "parent" -> "child" ['+___directory_edge_style+'];\n' +
+ ' "ref" -> "abcdef" ['+___ref_edge_style+'];\n' +
+ ' "existing" -> "new" [style=invis];\n' +
+ '}')
++ '
'
++ '';
+
function ___filesystem_to_graphview(filesystem, previous_filesystem) {
var html = '';
html += '