anchor.diff:      }
   
       function tick() {
  +        node.attr("transform", function(d) { return "translate(" + d.x + "," + d.y + ")"; });
  +
           link.attr("x1", function(d) { return d.source.x; })
                   .attr("y1", function(d) { return d.source.y; })
                   .attr("x2", function(d) { return d.target.x; })
                   .attr("y2", function(d) { return d.target.y; });
  -
  -        node.attr("transform", function(d) { return "translate(" + d.x + "," + d.y + ")"; });
       }
   
       function color(d) {
  
positive.code:         var nodeEnter = node.enter().append("g")
                  .attr("class", "node")
                  .on("click", click)
                  .call(force.drag);
  
          nodeEnter.on("dblclick.zoom", function(d) { d3.event.stopPropagation();
              var dcx = (window.innerWidth/2-d.x*zoom.scale());
              var dcy = (window.innerHeight/2-d.y*zoom.scale());
              zoom.translate([dcx,dcy]);
              node.attr("transform", "translate("+ dcx + "," + dcy  + ")scale(" + zoom.scale() + ")");
  
  
          });
  
          nodeEnter.append("circle")
                  .attr("r", 10);
  
negative.code:         update();
      });
  
      zoom.on("zoom", function() {
          g.attr("transform", "translate(" + d3.event.translate + ")scale(" + d3.event.scale + ")");
      });
  
      svg.call(zoom);
  
      resize();
  
      function update() {
          //console.log(root);
          var nodes = flatten(root),
                  links = d3.layout.tree().links(nodes);
  
          //console.log(nodes);
          // Restart the force layout.
          force
                  .nodes(nodes)
  