       @y = 0
       @parent = null
       @children = []
-      @link = 'testing'
-      @text = 'asdfasdf'
+      @notes = ''
+      @title = ''
       @on = false
       nodes.push @
 


  nodes = JSON.parse localStorage.getItem 'nodes' or '[]'
  links = JSON.parse localStorage.getItem 'links' or '[]'
  nodes = []
  links = []

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


        new Node().setParent node
        refresh()
      )

    node.append('circle')
      .on('mouseover', (d) ->
        d.over = true
      )
      .on('mouseout', (d) ->
        d.over = false
      )
      .on('click', (node) ->
        if selected
          selected.selected = false
        node.selected = true
        selected = node
        $('#notes').val selected.notes
        $('#title').val selected.title
        $('#panel a').html node.link
      )

    node.append('text')

    localStorage.setItem 'nodes', JSON.stringify nodes
