       @y = 0
       @parent = null
       @children = []
-      @link = null
+      @link = 'testing'
       @text = 'asdfasdf'
+      @on = false
       nodes.push @
 
     setParent: (parent) ->


  sx = null
  sy = null
  cx = 0
  cy = 0


      .enter()
      .append('g')
      .classed('node', true)
      .on('dblclick', (node) ->
        new Node().setParent node
        refresh()
      )
      .on('click', (node) ->
        $('#panel a').html node.link
      )
    node.append('circle')
    node.append('text')
