diff --git a/code.js b/code.js
index 0a6efb9..9f3981c 100644
--- a/code.js
+++ b/code.js
@@ -21,9 +21,9 @@ function onData(data) {
var html = ""
for (var i in broken) {
edge = broken[i]
- html += " "
- + "" + packages[edge[0]].PkgPath + " ⟶ "
- + "" + packages[edge[1]].PkgPath + " "
+ html += " "
+ + "" + packages[edge[0]].PkgPath + " ⟶ "
+ + "" + packages[edge[1]].PkgPath + " "
}
$('#broken').html(html)
@@ -102,11 +102,11 @@ function selectPkg(json) {
for (var i in path) {
var p = packages[path[i]]
if (i > 0) {
- html += " "
- + " "
- + "⟶ "
+ html += " "
+ + ""
+ html += "⟶"
}
- html += "" + p.PkgPath + " "
+ html += "" + p.PkgPath + " "
}
$('#path').html(html)
}
diff --git a/index.html b/index.html
index 599090a..413fee1 100644
--- a/index.html
+++ b/index.html
@@ -1,92 +1,144 @@
+
+
+
Spaghetti: dependency analysis for Go packages
-
+
+
-
-
Spaghetti: dependency analysis for Go packages
-
- This tool displays the complete dependencies of these initial packages:
-
-
...
-
- Click on a package in the tree view to display information about it,
- including a path by which it is reached from one of the initial packages.
- Use the break button to remove an edge from the graph, so
- that you can assess what edges need to be broken to eliminate an
- unwanted dependency.
-
+
+
+
+
+ Spaghetti: dependency analysis for Go packages
+