         .enter()
         .append("svg:g")
         .attr("class", (l) -> "link #{l.left.get('id')} #{l.right.get('id')}")
-        .attr("data-cid", (d) -> d.cid) # unique identifier
       # link path
       links.append("svg:path")
         .style("stroke-width", (link) -> link.value())

      else
        k = @key
      @node_map = {}
      @node_list = _.map namespace.charts[k].data.nodes, (n) =>
        node = new D3.sankey.Node(n)
        @node_map[n.id] = node
        node
      @link_list = _.map namespace.charts[k].data.links, (l) -> new D3.sankey.Link(l)
      @initialize_defaults()

    # this method is called when we first render the chart. It is called if we

  #
  View: class extends D3ChartView
    initialize: ->
      @series = @model.series
      @key = @model.get('key')
      # ugly but simple and effective. If the chart key name ends with _2010
