         attr("y", (link) => @y link.right_y()).
         text((d) => Metric.autoscale_value d.value(), 'PJ', 2)
 
-class D3.sankey.NodeList extends Backbone.Collection
-  model: D3.sankey.Node
+class D3.primary_final_useful_dem.NodeList extends Backbone.Collection
+  model: D3.primary_final_useful_dem.Node
 
   # returns the height of the tallest column
   max_column_value: =>

  #
  View: class extends D3ChartView
    initialize: ->
      namespace = D3.sankey
      namespace.view = this
      @series = @model.series
      @node_list = new namespace.NodeList(namespace.data.nodes)

      return links

    draw_nodes: =>
      horizontal_spacing = D3.primary_final_useful_dem.Node.horizontal_spacing
      width = D3.primary_final_useful_dem.Node.width
      colors = d3.scale.category20()
      nodes = @svg.selectAll("g.node").
        data(@node_list.models, (d) -> d.get('id')).
