 
   drawCommentChain : (decision, left, right, top, mode) ->
 
-    topChild = @calculateChildTreeTop(mode, decision.chainCount, top) - @nodeDistance
+    topChild = @calculateTop(decision.chainCount, top, mode)
     extent = @drawTreeWithWidths(decision.node, left, right, topChild, mode)
     return extent.middle
 

  drawBranch : (decision, left, right, top, mode) ->

    branchMiddle = @calculateBranchMiddle(decision, left, right)
    topChildren = @calculateChildTreeTop(mode, decision.chainCount, top)
    leftTree = @drawTreeWithWidths(decision.node.children[0], left,  branchMiddle, topChildren, mode)
    rightTree = @drawTreeWithWidths(decision.node.children[1], branchMiddle, right, topChildren, mode)


      chainCount,
      isBranch: tree.children.length > 1
      isLeaf: tree.children.length == 0
      isComment: @nodeIdHasComment(tree.id)
    }


