   for k,v of graph.links
     act_color = colors[list_index]
     list_index += 2
-    arcLinks graph.nodes,v,act_color[1],'t',v
-    $("#head").append "<span class='info navbar-brand' style='color:" + act_color[0] + "'>#" + k + ": " + v.length + "</span>"
+    console.log 
+    arcLinks graph.nodes,v,act_color[1],'t',k
+    $("#head").append "<a href='#" + k + "' class='info navbar-brand' style='color:" + act_color[0] + "'>#" + k + ": " + v.length + "</a>"
   
   drawNodes graph.nodes
   writeClaims graph.nodes
-  
 
 linearLayout = (nodes) ->
-  # used to scale node index to x position
   xscale = d3.scale.linear().domain([
     0
     nodes.length - 1

      d3.select(this).transition().duration(2000).delay(100).style('opacity',0).each "end", ->
        d3.select(this).remove()
        return
    
    return
  ).attr "d", (d, i) ->
    xdist = Math.abs(d.source.x - d.target.x)

    radius * 2
    width - margin - radius * 2
  ])
  nodes.forEach (d, i) ->
    d.x = xscale(i)
    d.y = yfixed + height / 3
    return
  return

drawNodes = (nodes) ->
