         offset += n.value() + margin
       offset
 
-    x_offset: => @get('column') * D3.sankey.Node.horizontal_spacing
+    x_offset: => @get('column') * D3.primary_final_useful_dem.Node.horizontal_spacing
 
     # center point of the node. We use it as link anchor point
-    x_center: => @x_offset() + D3.sankey.Node.width / 2
+    x_center: => @x_offset() + D3.primary_final_useful_dem.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


  Link: class extends Backbone.Model
    initialize: =>
      @view = D3.sankey.view
      @series = @view.series
      @left = @view.node_list.get @get('left')
      @right = @view.node_list.get @get('right')

      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')).
