         attr("width", @width)
 
       colors = d3.scale.category20()
+      link_color = d3.scale.category20()
 
       @links = @svg.selectAll('path.link').
         data(@module.links.models, (d) -> d.cid).


    value: =>
      if @gquery
        @gquery.get('future_value') / 8
      else
        10


        append("svg:path").
        attr("class", "link").
        style("stroke-width", (link) -> link.value()).
        #style("stroke", (link, i) -> link.color()).
        style("stroke", (link, i) -> link_color(i)).
        style("fill", "none").
        style("opacity", 0.8).
        on('mouseover', ->
