         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: =>

        offset += n.value() + margin
      offset

    x_offset: => @get('column') * D3.sankey.Node.horizontal_spacing

    # center point of the node. We use it as link anchor point
    x_center: => @x_offset() + D3.sankey.Node.width / 2

    # The height of the node is the sum of the height of its link. Since links
    # are both inbound and outbound, let's use the max size. Ideally the values

    vertical_margin: 10

    initialize: =>
      @view = D3.primary_final_useful_dem.view
      @right_links = []
      @left_links = []

