anchor.diff:    
     nodes.forEach(function(d) {
       if (d.connlist) d.connlist.forEach(function(i) { 
  -      
  +      if (map[i._id.instanceId]){
         connlist.push({source: map[d.name.instanceId], target: map[i._id.instanceId]});
         bundlesmap[d.name.instanceId+"_"+i._id.instanceId]=i.size
  -      if (i.size>maxval) maxval=i.size
  +      if (i.size>maxval) maxval=i.size}
       });
     });
   
  
positive.code:       .attr("class", "link")
        .attr("d", line)
        .attr("stroke", function(d) { var size=bundlesmap[d.source.name.instanceId+"_"+d.target.name.instanceId]
        								console.log(d.source.name.instanceId+" "+size) 
        								if (size<100)
        									return 'rgb(255,0,0)'
  									if (size>=100 && size<500)
  
negative.code: 	//if(!d.name.worker) d.name.worker="login";
  	
      if (!map[d.name[gb]])
      	{//console.log(d.name[gb])
      	 parent = {name: { name: d.name[gb]}, children: []};
      	 parent.parent=root
      	 parent.parent.children.push(parent)
  