         d3.sum(@right_links, (d) -> d.value())
       )
 
+    should_show: =>
+      _.any(@left_links, (link) -> link.should_show()) ||
+        _.any(@right_links, (link) -> link.should_show())
+
     # returns an array of the other nodes that belong to the same column. This
     # is used by the +y_offset+ method to calculate the right node position
     siblings: =>
-      items = _.groupBy(@view.node_list, (node) -> node.get('column'))
+      items = _.groupBy(@view.nodes_excluding_loss, (node) -> node.get('column'))
       items[@get 'column']
 
     label: => @get('label') || @get('id')

        else
          @gquery.future_value()
      if _.isNumber(x) then x else 0.0

    color: => @get('color') || "steelblue"


        .attr("d", (link) => @link_line link.path_points())
        .style("stroke-width", (link) => @y(link.value()))
        .attr("display", (link) ->
          if link.should_show() then 'inline' else 'none'
        )
        .attr("data-tooltip", (d) => @value_formatter d.value())

