   Node: class extends Backbone.Model
     @width: 170
     @horizontal_spacing: 400
-    y_offset: => @get('row') * 100
+    
+    y_offset: =>
+      offset = 0
+      margin = 35
+      for n in @siblings()
+        break if n == this
+        offset += n.height() + margin
+      offset
+
     x_offset: => @get('column') * D3.sankey.Node.horizontal_spacing + 20
     x_center: => @x_offset() + D3.sankey.Node.width / 2
     y_center: => @y_offset() + @value() / 2

    refresh: =>
      @nodes.data(@module.nodes.models, (d) -> d.get('id')).
        transition().duration(500).
        attr("height", (d) => @y d.height())

      @labels.data(@module.nodes.models, (d) -> d.get('id')).
        transition().duration(500).


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

