     c = (node.y < y)
     d = (nodeHeight + node.y > sY)
     result = (a and b and c and d)
-    # console.log "Node: ", node, selectBox, "→", result, a,b,c,d
     result
 
   handleLabelEdit: (title) ->

      selectBox.y = e.pageY - offset.top
      @setState selectBox: selectBox

  checkSelectBoxCollisions: ->
    for node in @state.nodes
      if this.checkSelectBoxCollision(node)
        @props.selectionManager.selectNodeForInspection(node, true)

  checkSelectBoxCollision: (node) ->
    nodeWidth = 45 # Width of node in px

      if @state.drawingMarquee
    # end of drawing Marquee, check what is selected
        @checkSelectBoxCollisions()
        @checkSelectBoxLinkCollisions()
        @setState drawingMarquee: false

  onMouseMove: (e) ->
