|  |  |  | @ -317,13 +317,6 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |       var numberofModels = 6 | 
			
		
	
		
			
				
					|  |  |  |  |       var units = "Models"; | 
			
		
	
		
			
				
					|  |  |  |  |       var initialModels = this.RandomSearLoc * 5 | 
			
		
	
		
			
				
					|  |  |  |  |       var months = [{month:"RandSear",value:initialModels,loss:null}, | 
			
		
	
		
			
				
					|  |  |  |  |                     {month:"Crossover_S1",value:250,loss:null}, | 
			
		
	
		
			
				
					|  |  |  |  |                     {month:"Mutate_S1",value:250,loss:null}, | 
			
		
	
		
			
				
					|  |  |  |  |                     {month:"Crossover_S2",value:125,loss:null}, | 
			
		
	
		
			
				
					|  |  |  |  |                     {month:"Mutate_S2",value:125,loss:null}, | 
			
		
	
		
			
				
					|  |  |  |  |                     {month:"Crossover_S2_Prime'",value:125,loss:null}, | 
			
		
	
		
			
				
					|  |  |  |  |                     {month:"Mutate_S2_Prime",value:125,loss:null}]; | 
			
		
	
		
			
				
					|  |  |  |  |       //this is the svg canvas attributes: (not buidlign abything just seeting up varaibels) | 
			
		
	
		
			
				
					|  |  |  |  |       var margin = {top: 0, right: 40, bottom: 0, left: 40}, //comma is the equivalent of var :  | 
			
		
	
		
			
				
					|  |  |  |  |           width = 1250 - margin.left - margin.right, | 
			
		
	
	
		
			
				
					|  |  |  | @ -336,23 +329,6 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |         format = function(d) { return formatNumber(d) + " " + units; } | 
			
		
	
		
			
				
					|  |  |  |  |       var color = d3.scale.category20b() | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |       var startingAxis = this.RandomSearLoc | 
			
		
	
		
			
				
					|  |  |  |  |       var axisScale = d3.scale.linear() | 
			
		
	
		
			
				
					|  |  |  |  |                         .domain([startingAxis*6,0]) | 
			
		
	
		
			
				
					|  |  |  |  |                         .range([0, height]); | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |       //Create the Axis | 
			
		
	
		
			
				
					|  |  |  |  |       var yAxis = d3.svg.axis() | 
			
		
	
		
			
				
					|  |  |  |  |                     .scale(axisScale) | 
			
		
	
		
			
				
					|  |  |  |  |                     .orient("left") | 
			
		
	
		
			
				
					|  |  |  |  |                     .ticks(10); | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |       // var lossScale = d3.scale.linear() | 
			
		
	
		
			
				
					|  |  |  |  |       //                   .domain([.95,1,1.05]) | 
			
		
	
		
			
				
					|  |  |  |  |       //                   .range(["red","black","green"]); | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |       // append the svg canvas to the page | 
			
		
	
		
			
				
					|  |  |  |  |       var svg = d3.select("#SankeyInter").append("svg") //will select the id of cahrt from index.html ln:135 --> # looks for the id= from html | 
			
		
	
		
			
				
					|  |  |  |  |           .attr("width", width + margin.left + margin.right) | 
			
		
	
	
		
			
				
					|  |  |  | @ -369,124 +345,91 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |       var path = sankey.link(); //sankey.link() is something happening in sankey.js  | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |       // svg.selectAll("text.values") | 
			
		
	
		
			
				
					|  |  |  |  |       //   .data(months) | 
			
		
	
		
			
				
					|  |  |  |  |       //   .enter() | 
			
		
	
		
			
				
					|  |  |  |  |       //   .append("text") | 
			
		
	
		
			
				
					|  |  |  |  |       //   .text(function(d){return formatNumber(d.value)}) | 
			
		
	
		
			
				
					|  |  |  |  |       //   .attr("class", "innerText") | 
			
		
	
		
			
				
					|  |  |  |  |       //   .attr("x",function(d,i){return i*89-margin.left-5}) | 
			
		
	
		
			
				
					|  |  |  |  |       //   .attr("y",20) | 
			
		
	
		
			
				
					|  |  |  |  |       //   .attr("transform", function(d){  | 
			
		
	
		
			
				
					|  |  |  |  |       //           return "translate(" + margin.left + "," + margin.top + ") scale(1,-1) translate(" + 0 + "," + -(d.value/10+15) + ")";}); | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |       // svg.selectAll("text.loss") | 
			
		
	
		
			
				
					|  |  |  |  |       //   .data(months) | 
			
		
	
		
			
				
					|  |  |  |  |       //   .enter() | 
			
		
	
		
			
				
					|  |  |  |  |       //   .append("text") | 
			
		
	
		
			
				
					|  |  |  |  |       //   .text(function(d){return d.loss}) | 
			
		
	
		
			
				
					|  |  |  |  |       //   .attr("class", "innerText") | 
			
		
	
		
			
				
					|  |  |  |  |       //   .attr("x",function(d,i){return i*89-margin.left-5}) | 
			
		
	
		
			
				
					|  |  |  |  |       //   .attr("y",20) | 
			
		
	
		
			
				
					|  |  |  |  |       //   .attr("fill",function(d){ return lossScale(d.loss)}) | 
			
		
	
		
			
				
					|  |  |  |  |       //   .attr("transform", function(d){  | 
			
		
	
		
			
				
					|  |  |  |  |       //           return "translate(" + margin.left + "," + margin.top + ") scale(1,-1) translate(" + 0 + "," + -(d.value/10-5) + ")";}); | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |       // svg.selectAll("text.months") | 
			
		
	
		
			
				
					|  |  |  |  |       //   .data(months) | 
			
		
	
		
			
				
					|  |  |  |  |       //   .enter() | 
			
		
	
		
			
				
					|  |  |  |  |       //   .append("text") | 
			
		
	
		
			
				
					|  |  |  |  |       //   .attr("class", "innerText") | 
			
		
	
		
			
				
					|  |  |  |  |       //   .text(function(d){return d.month}) | 
			
		
	
		
			
				
					|  |  |  |  |       //   .attr("x",function(d,i){return i*89-margin.left-10}) | 
			
		
	
		
			
				
					|  |  |  |  |       //   .attr("y",20) | 
			
		
	
		
			
				
					|  |  |  |  |       //   .attr("transform",  | 
			
		
	
		
			
				
					|  |  |  |  |       //           "translate(" + margin.left + "," + margin.top + ") scale(1,-1) translate(" + 0 + "," + margin.bottom + ")"); | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |       // load the data | 
			
		
	
		
			
				
					|  |  |  |  |       var graph = { | 
			
		
	
		
			
				
					|  |  |  |  |         "nodes":[ | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"GradB","node":0,"month":"RandSear","color":"#a6cee3","dh":height/numberofModels}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"RF","node":1,"month":"RandSear","color":"#b15928","dh":height/numberofModels}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"MLP","node":2,"month":"RandSear","color":"#fb9a99","dh":height/numberofModels}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"LR","node":3,"month":"RandSear","color":"#fdbf6f","dh":height/numberofModels}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"KNN","node":4,"month":"RandSear","color":"#ff7f00","dh":height/numberofModels}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"Random search","node":5,"month":"RandSear","color":"#ffffff","dh":height/numberofModels}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"GradB","node":6,"month":"Crossover_S1","color":"#a6cee3","dh":height/(numberofModels*localStep)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"RF","node":7,"month":"Crossover_S1","color":"#b15928","dh":height/(numberofModels*localStep)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"MLP","node":8,"month":"Crossover_S1","color":"#fb9a99","dh":height/(numberofModels*localStep)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"LR","node":9,"month":"Crossover_S1","color":"#fdbf6f","dh":height/(numberofModels*localStep)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"KNN","node":10,"month":"Crossover_S1","color":"#ff7f00","dh":height/(numberofModels*localStep)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"Mutate (M) S1","node":11,"month":"Crossover_S1","color":"#ffffff","dh":height/(numberofModels*localStep)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"GradB","node":12,"month":"Mutate_S1","color":"#a6cee3","dh":height/(numberofModels*localStep)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"RF","node":13,"month":"Mutate_S1","color":"#b15928","dh":height/(numberofModels*localStep)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"MLP","node":14,"month":"Mutate_S1","color":"#fb9a99","dh":height/(numberofModels*localStep)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"LR","node":15,"month":"Mutate_S1","color":"#fdbf6f","dh":height/(numberofModels*localStep)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"KNN","node":16,"month":"Mutate_S1","color":"#ff7f00","dh":height/(numberofModels*localStep)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"Crossover (C) S1","node":17,"month":"Mutate_S1","color":"#ffffff","dh":height/(numberofModels*(localStep*2))}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"GradB","node":18,"month":"Crossover_S2","color":"#a6cee3","dh":height/(numberofModels*(localStep*2))}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"RF","node":19,"month":"Crossover_S2","color":"#b15928","dh":height/(numberofModels*(localStep*2))}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"MLP","node":20,"month":"Crossover_S2","color":"#fb9a99","dh":height/(numberofModels*(localStep*2))}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"LR","node":21,"month":"Crossover_S2","color":"#fdbf6f","dh":height/(numberofModels*(localStep*2))}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"KNN","node":22,"month":"Crossover_S2","color":"#ff7f00","dh":height/(numberofModels*(localStep*2))}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"Mutate S2 (M)","node":23,"month":"Crossover_S2","color":"#ffffff","dh":height/(numberofModels*(localStep*2))}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"GradB","node":24,"month":"Mutate_S2","color":"#a6cee3","dh":height/(numberofModels*(localStep*2))}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"RF","node":25,"month":"Mutate_S2","color":"#b15928","dh":height/(numberofModels*(localStep*2))}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"MLP","node":26,"month":"Mutate_S2","color":"#fb9a99","dh":height/(numberofModels*(localStep*2))}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"LR","node":27,"month":"Mutate_S2","color":"#fdbf6f","dh":height/(numberofModels*(localStep*2))}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"KNN","node":28,"month":"Mutate_S2","color":"#ff7f00","dh":height/(numberofModels*(localStep*2))}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"Crossover S2 (M)","node":29,"month":"Mutate_S2","color":"#ffffff","dh":height/(numberofModels*(localStep*2))}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"GradB","node":30,"month":"Crossover_S2_Prime","color":"#a6cee3","dh":height/(numberofModels*(localStep*2))}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"RF","node":31,"month":"Crossover_S2_Prime","color":"#b15928","dh":height/(numberofModels*(localStep*2))}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"MLP","node":32,"month":"Crossover_S2_Prime","color":"#fb9a99","dh":height/(numberofModels*(localStep*2))}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"LR","node":33,"month":"Crossover_S2_Prime","color":"#fdbf6f","dh":height/(numberofModels*(localStep*2))}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"KNN","node":34,"month":"Crossover_S2_Prime","color":"#ff7f00","dh":height/(numberofModels*(localStep*2))}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"Mutate S2 (C)","node":35,"month":"Crossover_S2_Prime","color":"#ffffff","dh":height/(numberofModels*(localStep*2))}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"GradB","node":36,"month":"Mutate_S2_Prime","color":"#a6cee3","dh":height/(numberofModels*(localStep*2))}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"RF","node":37,"month":"Mutate_S2_Prime","color":"#b15928","dh":height/(numberofModels*(localStep*2))}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"MLP","node":38,"month":"Mutate_S2_Prime","color":"#fb9a99","dh":height/(numberofModels*(localStep*2))}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"LR","node":39,"month":"Mutate_S2_Prime","color":"#fdbf6f","dh":height/(numberofModels*(localStep*2))}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"KNN","node":40,"month":"Mutate_S2_Prime","color":"#ff7f00","dh":height/(numberofModels*(localStep*2))}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"Crossover S2 (C)","node":41,"month":"Mutate_S2_Prime","color":"#ffffff","dh":height/(numberofModels*(localStep*2))}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"GradB","node":0,"month":"RandSear","color":"#a6cee3",valueN:this.RandomSearLoc}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"RF","node":1,"month":"RandSear","color":"#b15928",valueN:this.RandomSearLoc}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"MLP","node":2,"month":"RandSear","color":"#fb9a99",valueN:this.RandomSearLoc}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"LR","node":3,"month":"RandSear","color":"#fdbf6f",valueN:this.RandomSearLoc}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"KNN","node":4,"month":"RandSear","color":"#ff7f00",valueN:this.RandomSearLoc}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"Random search","node":5,"month":"RandSear","color":"#ffffff",valueN:this.RandomSearLoc}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"GradB","node":6,"month":"Crossover_S1","color":"#a6cee3",valueN:this.RandomSearLoc/2}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"RF","node":7,"month":"Crossover_S1","color":"#b15928",valueN:this.RandomSearLoc/2}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"MLP","node":8,"month":"Crossover_S1","color":"#fb9a99",valueN:this.RandomSearLoc/2}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"LR","node":9,"month":"Crossover_S1","color":"#fdbf6f",valueN:this.RandomSearLoc/2}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"KNN","node":10,"month":"Crossover_S1","color":"#ff7f00",valueN:this.RandomSearLoc/2}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"Mutate (M) S1","node":11,"month":"Crossover_S1","color":"#ffffff",valueN:this.RandomSearLoc/2}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"GradB","node":12,"month":"Mutate_S1","color":"#a6cee3",valueN:this.RandomSearLoc/2}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"RF","node":13,"month":"Mutate_S1","color":"#b15928",valueN:this.RandomSearLoc/2}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"MLP","node":14,"month":"Mutate_S1","color":"#fb9a99",valueN:this.RandomSearLoc/2}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"LR","node":15,"month":"Mutate_S1","color":"#fdbf6f",valueN:this.RandomSearLoc/2}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"KNN","node":16,"month":"Mutate_S1","color":"#ff7f00",valueN:this.RandomSearLoc/2}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"Crossover (C) S1","node":17,"month":"Mutate_S1","color":"#ffffff",valueN:this.RandomSearLoc/2}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"GradB","node":18,"month":"Crossover_S2","color":"#a6cee3",valueN:this.RandomSearLoc/4}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"RF","node":19,"month":"Crossover_S2","color":"#b15928",valueN:this.RandomSearLoc/4}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"MLP","node":20,"month":"Crossover_S2","color":"#fb9a99",valueN:this.RandomSearLoc/4}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"LR","node":21,"month":"Crossover_S2","color":"#fdbf6f",valueN:this.RandomSearLoc/4}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"KNN","node":22,"month":"Crossover_S2","color":"#ff7f00",valueN:this.RandomSearLoc/4}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"Mutate S2 (M)","node":23,"month":"Crossover_S2","color":"#ffffff",valueN:this.RandomSearLoc/4}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"GradB","node":24,"month":"Mutate_S2","color":"#a6cee3",valueN:this.RandomSearLoc/4}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"RF","node":25,"month":"Mutate_S2","color":"#b15928",valueN:this.RandomSearLoc/4}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"MLP","node":26,"month":"Mutate_S2","color":"#fb9a99",valueN:this.RandomSearLoc/4}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"LR","node":27,"month":"Mutate_S2","color":"#fdbf6f",valueN:this.RandomSearLoc/4}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"KNN","node":28,"month":"Mutate_S2","color":"#ff7f00",valueN:this.RandomSearLoc/4}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"Crossover S2 (M)","node":29,"month":"Mutate_S2","color":"#ffffff",valueN:this.RandomSearLoc/4}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"GradB","node":30,"month":"Crossover_S2_Prime","color":"#a6cee3",valueN:this.RandomSearLoc/4}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"RF","node":31,"month":"Crossover_S2_Prime","color":"#b15928",valueN:this.RandomSearLoc/4}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"MLP","node":32,"month":"Crossover_S2_Prime","color":"#fb9a99",valueN:this.RandomSearLoc/4}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"LR","node":33,"month":"Crossover_S2_Prime","color":"#fdbf6f",valueN:this.RandomSearLoc/4}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"KNN","node":34,"month":"Crossover_S2_Prime","color":"#ff7f00",valueN:this.RandomSearLoc/4}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"Mutate S2 (C)","node":35,"month":"Crossover_S2_Prime","color":"#ffffff",valueN:this.RandomSearLoc/4}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"GradB","node":36,"month":"Mutate_S2_Prime","color":"#a6cee3",valueN:this.RandomSearLoc/4}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"RF","node":37,"month":"Mutate_S2_Prime","color":"#b15928",valueN:this.RandomSearLoc/4}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"MLP","node":38,"month":"Mutate_S2_Prime","color":"#fb9a99",valueN:this.RandomSearLoc/4}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"LR","node":39,"month":"Mutate_S2_Prime","color":"#fdbf6f",valueN:this.RandomSearLoc/4}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"KNN","node":40,"month":"Mutate_S2_Prime","color":"#ff7f00",valueN:this.RandomSearLoc/4}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"Crossover S2 (C)","node":41,"month":"Mutate_S2_Prime","color":"#ffffff",valueN:this.RandomSearLoc/4}, | 
			
		
	
		
			
				
					|  |  |  |  |         ], | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         "links":[ | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":5,"target":11,"value":50,"dh":height/(numberofModels*localStep)*(250/(valuesLoc[6]+valuesLoc[7]+valuesLoc[8]+valuesLoc[9]+valuesLoc[10]))}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":5,"target":17,"value":50,"dh":height/(numberofModels*localStep)*(250/(valuesLoc[12]+valuesLoc[13]+valuesLoc[14]+valuesLoc[15]+valuesLoc[16]))}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":0,"target":6,"value":valuesLoc[6],"dh":height/(numberofModels*localStep)*(valuesLoc[6]/50)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":0,"target":12,"value":valuesLoc[12],"dh":height/(numberofModels*localStep)*(valuesLoc[12]/50)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":1,"target":7,"value":valuesLoc[7],"dh":height/(numberofModels*localStep)*(valuesLoc[7]/50)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":1,"target":13,"value":valuesLoc[13],"dh":height/(numberofModels*localStep)*(valuesLoc[13]/50)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":2,"target":8,"value":valuesLoc[8],"dh":height/(numberofModels*localStep)*(valuesLoc[8]/50)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":2,"target":14,"value":valuesLoc[14],"dh":height/(numberofModels*localStep)*(valuesLoc[14]/50)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":3,"target":9,"value":valuesLoc[9],"dh":height/(numberofModels*localStep)*(valuesLoc[9]/50)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":3,"target":15,"value":valuesLoc[15],"dh":height/(numberofModels*localStep)*(valuesLoc[15]/50)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":4,"target":10,"value":valuesLoc[10],"dh":height/(numberofModels*localStep)*(valuesLoc[10]/50)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":4,"target":16,"value":valuesLoc[16],"dh":height/(numberofModels*localStep)*(valuesLoc[16]/50)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":11,"target":23,"value":25,"dh":height/(numberofModels*(localStep*2))*(125/(valuesLoc[18]+valuesLoc[19]+valuesLoc[20]+valuesLoc[21]+valuesLoc[22]))}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":11,"target":35,"value":25,"dh":height/(numberofModels*(localStep*2))*(125/(valuesLoc[30]+valuesLoc[31]+valuesLoc[32]+valuesLoc[33]+valuesLoc[34]))}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":6,"target":18,"value":valuesLoc[18],"dh":height/(numberofModels*(localStep*2))*(valuesLoc[18]/25)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":6,"target":24,"value":valuesLoc[24],"dh":height/(numberofModels*(localStep*2))*(valuesLoc[24]/25)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":7,"target":19,"value":valuesLoc[19],"dh":height/(numberofModels*(localStep*2))*(valuesLoc[19]/25)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":7,"target":25,"value":valuesLoc[25],"dh":height/(numberofModels*(localStep*2))*(valuesLoc[25]/25)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":8,"target":20,"value":valuesLoc[20],"dh":height/(numberofModels*(localStep*2))*(valuesLoc[20]/25)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":8,"target":26,"value":valuesLoc[26],"dh":height/(numberofModels*(localStep*2))*(valuesLoc[26]/25)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":9,"target":21,"value":valuesLoc[21],"dh":height/(numberofModels*(localStep*2))*(valuesLoc[21]/25)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":9,"target":27,"value":valuesLoc[27],"dh":height/(numberofModels*(localStep*2))*(valuesLoc[27]/25)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":10,"target":22,"value":valuesLoc[22],"dh":height/(numberofModels*(localStep*2))*(valuesLoc[22]/25)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":10,"target":28,"value":valuesLoc[28],"dh":height/(numberofModels*(localStep*2))*(valuesLoc[28]/25)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":17,"target":29,"value":25,"dh":height/(numberofModels*(localStep*2))*(125/(valuesLoc[24]+valuesLoc[25]+valuesLoc[26]+valuesLoc[27]+valuesLoc[28]))}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":17,"target":41,"value":25,"dh":height/(numberofModels*(localStep*2))*(125/(valuesLoc[36]+valuesLoc[37]+valuesLoc[38]+valuesLoc[39]+valuesLoc[40]))}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":12,"target":30,"value":valuesLoc[30],"dh":height/(numberofModels*(localStep*2))*(valuesLoc[30]/25)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":12,"target":36,"value":valuesLoc[36],"dh":height/(numberofModels*(localStep*2))*(valuesLoc[36]/25)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":13,"target":31,"value":valuesLoc[31],"dh":height/(numberofModels*(localStep*2))*(valuesLoc[31]/25)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":13,"target":37,"value":valuesLoc[37],"dh":height/(numberofModels*(localStep*2))*(valuesLoc[37]/25)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":14,"target":32,"value":valuesLoc[32],"dh":height/(numberofModels*(localStep*2))*(valuesLoc[32]/25)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":14,"target":38,"value":valuesLoc[38],"dh":height/(numberofModels*(localStep*2))*(valuesLoc[38]/25)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":15,"target":33,"value":valuesLoc[33],"dh":height/(numberofModels*(localStep*2))*(valuesLoc[33]/25)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":15,"target":39,"value":valuesLoc[39],"dh":height/(numberofModels*(localStep*2))*(valuesLoc[39]/25)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":16,"target":34,"value":valuesLoc[34],"dh":height/(numberofModels*(localStep*2))*(valuesLoc[34]/25)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":16,"target":40,"value":valuesLoc[40],"dh":height/(numberofModels*(localStep*2))*(valuesLoc[40]/25)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":5,"target":11,"value":0}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":5,"target":17,"value":0}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":0,"target":6,"value":valuesLoc[6]}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":0,"target":12,"value":valuesLoc[12]}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":1,"target":7,"value":valuesLoc[7]}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":1,"target":13,"value":valuesLoc[13]}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":2,"target":8,"value":valuesLoc[8]}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":2,"target":14,"value":valuesLoc[14]}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":3,"target":9,"value":valuesLoc[9]}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":3,"target":15,"value":valuesLoc[15]}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":4,"target":10,"value":valuesLoc[10]}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":4,"target":16,"value":valuesLoc[16]}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":11,"target":23,"value":0}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":11,"target":35,"value":0}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":6,"target":18,"value":valuesLoc[18]}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":6,"target":24,"value":valuesLoc[24]}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":7,"target":19,"value":valuesLoc[19]}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":7,"target":25,"value":valuesLoc[25]}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":8,"target":20,"value":valuesLoc[20]}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":8,"target":26,"value":valuesLoc[26]}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":9,"target":21,"value":valuesLoc[21]}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":9,"target":27,"value":valuesLoc[27]}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":10,"target":22,"value":valuesLoc[22]}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":10,"target":28,"value":valuesLoc[28]}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":17,"target":29,"value":0}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":17,"target":41,"value":0}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":12,"target":30,"value":valuesLoc[30]}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":12,"target":36,"value":valuesLoc[36]}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":13,"target":31,"value":valuesLoc[31]}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":13,"target":37,"value":valuesLoc[37]}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":14,"target":32,"value":valuesLoc[32]}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":14,"target":38,"value":valuesLoc[38]}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":15,"target":33,"value":valuesLoc[33]}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":15,"target":39,"value":valuesLoc[39]}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":16,"target":34,"value":valuesLoc[34]}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":16,"target":40,"value":valuesLoc[40]}, | 
			
		
	
		
			
				
					|  |  |  |  |       ]} | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         sankey.nodes(graph.nodes) | 
			
		
	
	
		
			
				
					|  |  |  | @ -578,8 +521,8 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |                 return "#808080" | 
			
		
	
		
			
				
					|  |  |  |  |               } | 
			
		
	
		
			
				
					|  |  |  |  |             })  | 
			
		
	
		
			
				
					|  |  |  |  |             .style("stroke-width", function(d) { return Math.max(.5, d.dh); })   //setting the stroke length by the data . d.dh is defined in sankey.js | 
			
		
	
		
			
				
					|  |  |  |  |             .sort(function(a, b) { return b.dh - a.dh; }) | 
			
		
	
		
			
				
					|  |  |  |  |             .style("stroke-width", function(d) { return Math.max(.5, d.dy); })   //setting the stroke length by the data . d.dy is defined in sankey.js | 
			
		
	
		
			
				
					|  |  |  |  |             .sort(function(a, b) { return b.dy - a.dy; }) | 
			
		
	
		
			
				
					|  |  |  |  |             .on("mouseover",linkmouseover) | 
			
		
	
		
			
				
					|  |  |  |  |             .on("mouseout",linkmouseout);   | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
	
		
			
				
					|  |  |  | @ -596,15 +539,10 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |             .attr("transform", function(d) {  | 
			
		
	
		
			
				
					|  |  |  |  |                 return "translate(" + d.x + "," + d.y + ")"; | 
			
		
	
		
			
				
					|  |  |  |  |             }); | 
			
		
	
		
			
				
					|  |  |  |  |           //.call(d3.behavior.drag()   <---------- THIS IS THE DRAG THING TO REMOVE!! | 
			
		
	
		
			
				
					|  |  |  |  |             //.origin(function(d) { return d; }) | 
			
		
	
		
			
				
					|  |  |  |  |             // .on("dragstart", function() {  //<-------- THIS IS MOUSEOVER DRAG CAPABILITIES .on(mousemove) called pointer events, look it up! | 
			
		
	
		
			
				
					|  |  |  |  |             // this.parentNode.appendChild(this); })  | 
			
		
	
		
			
				
					|  |  |  |  |             // .on("drag", dragmove); | 
			
		
	
		
			
				
					|  |  |  |  |          | 
			
		
	
		
			
				
					|  |  |  |  |       // add the rectangles for the nodes | 
			
		
	
		
			
				
					|  |  |  |  |         node.append("rect") | 
			
		
	
		
			
				
					|  |  |  |  |             .attr("height", function(d) { return d.dh; }) | 
			
		
	
		
			
				
					|  |  |  |  |             .attr("height", function(d) { return d.dy; }) | 
			
		
	
		
			
				
					|  |  |  |  |             .attr("width", sankey.nodeWidth(  )) | 
			
		
	
		
			
				
					|  |  |  |  |             .style("fill", function(d) { return d.color; }) //matches name with the colors here! inside the replace is some sort of regex | 
			
		
	
		
			
				
					|  |  |  |  |             // .style("stroke",function(d) { return d3.rgb(d.color).darker(1); }) //line around the box formatting | 
			
		
	
	
		
			
				
					|  |  |  | @ -617,11 +555,11 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |             .attr("x", -6) | 
			
		
	
		
			
				
					|  |  |  |  |             .attr("y", function(d) { | 
			
		
	
		
			
				
					|  |  |  |  |               if (d.node <= 5) { | 
			
		
	
		
			
				
					|  |  |  |  |                 return d.dh - 81;  | 
			
		
	
		
			
				
					|  |  |  |  |                 return d.dy - 81;  | 
			
		
	
		
			
				
					|  |  |  |  |               } else if (d.node <= 17) { | 
			
		
	
		
			
				
					|  |  |  |  |                 return d.dh - 41;  | 
			
		
	
		
			
				
					|  |  |  |  |                 return d.dy - 41;  | 
			
		
	
		
			
				
					|  |  |  |  |               } else { | 
			
		
	
		
			
				
					|  |  |  |  |                 return d.dh - 21;  | 
			
		
	
		
			
				
					|  |  |  |  |                 return d.dy - 21;  | 
			
		
	
		
			
				
					|  |  |  |  |               } | 
			
		
	
		
			
				
					|  |  |  |  |             }) | 
			
		
	
		
			
				
					|  |  |  |  |             .attr("dy", ".35em") | 
			
		
	
	
		
			
				
					|  |  |  | @ -641,15 +579,6 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |           .filter(function(d) { return d.x < width / 2; })//positioning left or right of node | 
			
		
	
		
			
				
					|  |  |  |  |             .attr("x", 6 + sankey.nodeWidth()) | 
			
		
	
		
			
				
					|  |  |  |  |             .attr("text-anchor", "start"); | 
			
		
	
		
			
				
					|  |  |  |  |         // // the function for moving the nodes | 
			
		
	
		
			
				
					|  |  |  |  |         //   function dragmove(d) { | 
			
		
	
		
			
				
					|  |  |  |  |         //     d3.select(this).attr("transform",  | 
			
		
	
		
			
				
					|  |  |  |  |         //         "translate(" + d.x + "," + ( | 
			
		
	
		
			
				
					|  |  |  |  |         //                 d.y = Math.max(0, Math.min(height/2 - d.dy, d3.event.y)) | 
			
		
	
		
			
				
					|  |  |  |  |         //             ) + ")"); | 
			
		
	
		
			
				
					|  |  |  |  |         //     sankey.relayout(); | 
			
		
	
		
			
				
					|  |  |  |  |         //     link.attr("d", path); | 
			
		
	
		
			
				
					|  |  |  |  |         //   } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |       var status=null; | 
			
		
	
	
		
			
				
					|  |  |  | @ -696,12 +625,6 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |         .attr("transform",  | 
			
		
	
		
			
				
					|  |  |  |  |                 "translate(" + -45 + "," + 0 + ") scale(1,-1) translate(" + 0 + "," + -(height) + ") rotate(-90 150 150)"); | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |       //y axis | 
			
		
	
		
			
				
					|  |  |  |  |         // svg.append("g") | 
			
		
	
		
			
				
					|  |  |  |  |         //     .call(yAxis) | 
			
		
	
		
			
				
					|  |  |  |  |         //     .attr("class", "axis") | 
			
		
	
		
			
				
					|  |  |  |  |         //     .attr("transform",  | 
			
		
	
		
			
				
					|  |  |  |  |         //       "translate(" + -45 + "," + 0 + ") scale(1,-1) translate(" + 0 + "," + -(height) + ")"); | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |  |     computePerformanceDiff () { | 
			
		
	
	
		
			
				
					|  |  |  | @ -865,13 +788,6 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |       var numberofModels = 6 | 
			
		
	
		
			
				
					|  |  |  |  |       var units = "Models"; | 
			
		
	
		
			
				
					|  |  |  |  |       var initialModels = this.RandomSearLoc * 5 | 
			
		
	
		
			
				
					|  |  |  |  |       var months = [{month:"RandSear",value:initialModels,loss:null}, | 
			
		
	
		
			
				
					|  |  |  |  |                     {month:"Crossover_S1",value:250,loss:null}, | 
			
		
	
		
			
				
					|  |  |  |  |                     {month:"Mutate_S1",value:250,loss:null}, | 
			
		
	
		
			
				
					|  |  |  |  |                     {month:"Crossover_S2",value:125,loss:null}, | 
			
		
	
		
			
				
					|  |  |  |  |                     {month:"Mutate_S2",value:125,loss:null}, | 
			
		
	
		
			
				
					|  |  |  |  |                     {month:"Crossover_S2_Prime'",value:125,loss:null}, | 
			
		
	
		
			
				
					|  |  |  |  |                     {month:"Mutate_S2_Prime",value:125,loss:null}]; | 
			
		
	
		
			
				
					|  |  |  |  |       //this is the svg canvas attributes: (not buidlign abything just seeting up varaibels) | 
			
		
	
		
			
				
					|  |  |  |  |       var margin = {top: 0, right: 40, bottom: 0, left: 40}, //comma is the equivalent of var :  | 
			
		
	
		
			
				
					|  |  |  |  |           width = 1230 - margin.left - margin.right, | 
			
		
	
	
		
			
				
					|  |  |  | @ -885,15 +801,15 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |       var color = d3.scale.category20b() | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |       var startingAxis = this.RandomSearLoc | 
			
		
	
		
			
				
					|  |  |  |  |       var axisScale = d3.scale.linear() | 
			
		
	
		
			
				
					|  |  |  |  |                         .domain([startingAxis*6,0]) | 
			
		
	
		
			
				
					|  |  |  |  |                         .range([0, height]); | 
			
		
	
		
			
				
					|  |  |  |  |       // var axisScale = d3.scale.linear() | 
			
		
	
		
			
				
					|  |  |  |  |       //                   .domain([startingAxis*6,0]) | 
			
		
	
		
			
				
					|  |  |  |  |       //                   .range([0, height]); | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |       //Create the Axis | 
			
		
	
		
			
				
					|  |  |  |  |       var yAxis = d3.svg.axis() | 
			
		
	
		
			
				
					|  |  |  |  |                     .scale(axisScale) | 
			
		
	
		
			
				
					|  |  |  |  |                     .orient("left") | 
			
		
	
		
			
				
					|  |  |  |  |                     .ticks(10); | 
			
		
	
		
			
				
					|  |  |  |  |       // //Create the Axis | 
			
		
	
		
			
				
					|  |  |  |  |       // var yAxis = d3.svg.axis() | 
			
		
	
		
			
				
					|  |  |  |  |       //               .scale(axisScale) | 
			
		
	
		
			
				
					|  |  |  |  |       //               .orient("left") | 
			
		
	
		
			
				
					|  |  |  |  |       //               .ticks(10); | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
	
		
			
				
					|  |  |  | @ -917,124 +833,90 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |       var path = sankey.link(); //sankey.link() is something happening in sankey.js  | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |       // svg.selectAll("text.values") | 
			
		
	
		
			
				
					|  |  |  |  |       //   .data(months) | 
			
		
	
		
			
				
					|  |  |  |  |       //   .enter() | 
			
		
	
		
			
				
					|  |  |  |  |       //   .append("text") | 
			
		
	
		
			
				
					|  |  |  |  |       //   .text(function(d){return formatNumber(d.value)}) | 
			
		
	
		
			
				
					|  |  |  |  |       //   .attr("class", "innerText") | 
			
		
	
		
			
				
					|  |  |  |  |       //   .attr("x",function(d,i){return i*89-margin.left-5}) | 
			
		
	
		
			
				
					|  |  |  |  |       //   .attr("y",20) | 
			
		
	
		
			
				
					|  |  |  |  |       //   .attr("transform", function(d){  | 
			
		
	
		
			
				
					|  |  |  |  |       //           return "translate(" + margin.left + "," + margin.top + ") scale(1,-1) translate(" + 0 + "," + -(d.value/10+15) + ")";}); | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |       // svg.selectAll("text.loss") | 
			
		
	
		
			
				
					|  |  |  |  |       //   .data(months) | 
			
		
	
		
			
				
					|  |  |  |  |       //   .enter() | 
			
		
	
		
			
				
					|  |  |  |  |       //   .append("text") | 
			
		
	
		
			
				
					|  |  |  |  |       //   .text(function(d){return d.loss}) | 
			
		
	
		
			
				
					|  |  |  |  |       //   .attr("class", "innerText") | 
			
		
	
		
			
				
					|  |  |  |  |       //   .attr("x",function(d,i){return i*89-margin.left-5}) | 
			
		
	
		
			
				
					|  |  |  |  |       //   .attr("y",20) | 
			
		
	
		
			
				
					|  |  |  |  |       //   .attr("fill",function(d){ return lossScale(d.loss)}) | 
			
		
	
		
			
				
					|  |  |  |  |       //   .attr("transform", function(d){  | 
			
		
	
		
			
				
					|  |  |  |  |       //           return "translate(" + margin.left + "," + margin.top + ") scale(1,-1) translate(" + 0 + "," + -(d.value/10-5) + ")";}); | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |       // svg.selectAll("text.months") | 
			
		
	
		
			
				
					|  |  |  |  |       //   .data(months) | 
			
		
	
		
			
				
					|  |  |  |  |       //   .enter() | 
			
		
	
		
			
				
					|  |  |  |  |       //   .append("text") | 
			
		
	
		
			
				
					|  |  |  |  |       //   .attr("class", "innerText") | 
			
		
	
		
			
				
					|  |  |  |  |       //   .text(function(d){return d.month}) | 
			
		
	
		
			
				
					|  |  |  |  |       //   .attr("x",function(d,i){return i*89-margin.left-10}) | 
			
		
	
		
			
				
					|  |  |  |  |       //   .attr("y",20) | 
			
		
	
		
			
				
					|  |  |  |  |       //   .attr("transform",  | 
			
		
	
		
			
				
					|  |  |  |  |       //           "translate(" + margin.left + "," + margin.top + ") scale(1,-1) translate(" + 0 + "," + margin.bottom + ")"); | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |       // load the data | 
			
		
	
		
			
				
					|  |  |  |  |       var graph = { | 
			
		
	
		
			
				
					|  |  |  |  |         "nodes":[ | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"GradB","node":0,"month":"RandSear","color":"#a6cee3","dh":height/numberofModels}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"RF","node":1,"month":"RandSear","color":"#b15928","dh":height/numberofModels}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"MLP","node":2,"month":"RandSear","color":"#fb9a99","dh":height/numberofModels}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"LR","node":3,"month":"RandSear","color":"#fdbf6f","dh":height/numberofModels}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"KNN","node":4,"month":"RandSear","color":"#ff7f00","dh":height/numberofModels}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"Random search","node":5,"month":"RandSear","color":"#ffffff","dh":height/numberofModels}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"GradB","node":6,"month":"Crossover_S1","color":"#a6cee3","dh":height/(numberofModels*localStep)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"RF","node":7,"month":"Crossover_S1","color":"#b15928","dh":height/(numberofModels*localStep)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"MLP","node":8,"month":"Crossover_S1","color":"#fb9a99","dh":height/(numberofModels*localStep)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"LR","node":9,"month":"Crossover_S1","color":"#fdbf6f","dh":height/(numberofModels*localStep)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"KNN","node":10,"month":"Crossover_S1","color":"#ff7f00","dh":height/(numberofModels*localStep)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"Mutate (M) S1","node":11,"month":"Crossover_S1","color":"#ffffff","dh":height/(numberofModels*localStep)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"GradB","node":12,"month":"Mutate_S1","color":"#a6cee3","dh":height/(numberofModels*localStep)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"RF","node":13,"month":"Mutate_S1","color":"#b15928","dh":height/(numberofModels*localStep)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"MLP","node":14,"month":"Mutate_S1","color":"#fb9a99","dh":height/(numberofModels*localStep)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"LR","node":15,"month":"Mutate_S1","color":"#fdbf6f","dh":height/(numberofModels*localStep)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"KNN","node":16,"month":"Mutate_S1","color":"#ff7f00","dh":height/(numberofModels*localStep)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"Crossover (C) S1","node":17,"month":"Mutate_S1","color":"#ffffff","dh":height/(numberofModels*(localStep*2))}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"GradB","node":18,"month":"Crossover_S2","color":"#a6cee3","dh":height/(numberofModels*(localStep*2))}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"RF","node":19,"month":"Crossover_S2","color":"#b15928","dh":height/(numberofModels*(localStep*2))}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"MLP","node":20,"month":"Crossover_S2","color":"#fb9a99","dh":height/(numberofModels*(localStep*2))}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"LR","node":21,"month":"Crossover_S2","color":"#fdbf6f","dh":height/(numberofModels*(localStep*2))}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"KNN","node":22,"month":"Crossover_S2","color":"#ff7f00","dh":height/(numberofModels*(localStep*2))}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"Mutate S2 (M)","node":23,"month":"Crossover_S2","color":"#ffffff","dh":height/(numberofModels*(localStep*2))}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"GradB","node":24,"month":"Mutate_S2","color":"#a6cee3","dh":height/(numberofModels*(localStep*2))}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"RF","node":25,"month":"Mutate_S2","color":"#b15928","dh":height/(numberofModels*(localStep*2))}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"MLP","node":26,"month":"Mutate_S2","color":"#fb9a99","dh":height/(numberofModels*(localStep*2))}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"LR","node":27,"month":"Mutate_S2","color":"#fdbf6f","dh":height/(numberofModels*(localStep*2))}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"KNN","node":28,"month":"Mutate_S2","color":"#ff7f00","dh":height/(numberofModels*(localStep*2))}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"Crossover S2 (M)","node":29,"month":"Mutate_S2","color":"#ffffff","dh":height/(numberofModels*(localStep*2))}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"GradB","node":30,"month":"Crossover_S2_Prime","color":"#a6cee3","dh":height/(numberofModels*(localStep*2))}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"RF","node":31,"month":"Crossover_S2_Prime","color":"#b15928","dh":height/(numberofModels*(localStep*2))}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"MLP","node":32,"month":"Crossover_S2_Prime","color":"#fb9a99","dh":height/(numberofModels*(localStep*2))}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"LR","node":33,"month":"Crossover_S2_Prime","color":"#fdbf6f","dh":height/(numberofModels*(localStep*2))}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"KNN","node":34,"month":"Crossover_S2_Prime","color":"#ff7f00","dh":height/(numberofModels*(localStep*2))}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"Mutate S2 (C)","node":35,"month":"Crossover_S2_Prime","color":"#ffffff","dh":height/(numberofModels*(localStep*2))}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"GradB","node":36,"month":"Mutate_S2_Prime","color":"#a6cee3","dh":height/(numberofModels*(localStep*2))}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"RF","node":37,"month":"Mutate_S2_Prime","color":"#b15928","dh":height/(numberofModels*(localStep*2))}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"MLP","node":38,"month":"Mutate_S2_Prime","color":"#fb9a99","dh":height/(numberofModels*(localStep*2))}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"LR","node":39,"month":"Mutate_S2_Prime","color":"#fdbf6f","dh":height/(numberofModels*(localStep*2))}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"KNN","node":40,"month":"Mutate_S2_Prime","color":"#ff7f00","dh":height/(numberofModels*(localStep*2))}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"Crossover S2 (C)","node":41,"month":"Mutate_S2_Prime","color":"#ffffff","dh":height/(numberofModels*(localStep*2))}, | 
			
		
	
		
			
				
					|  |  |  |  |       "nodes":[ | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"GradB","node":0,"month":"RandSear","color":"#a6cee3",valueN:this.RandomSearLoc}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"RF","node":1,"month":"RandSear","color":"#b15928",valueN:this.RandomSearLoc}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"MLP","node":2,"month":"RandSear","color":"#fb9a99",valueN:this.RandomSearLoc}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"LR","node":3,"month":"RandSear","color":"#fdbf6f",valueN:this.RandomSearLoc}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"KNN","node":4,"month":"RandSear","color":"#ff7f00",valueN:this.RandomSearLoc}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"Random search","node":5,"month":"RandSear","color":"#ffffff",valueN:this.RandomSearLoc}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"GradB","node":6,"month":"Crossover_S1","color":"#a6cee3",valueN:this.RandomSearLoc/2}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"RF","node":7,"month":"Crossover_S1","color":"#b15928",valueN:this.RandomSearLoc/2}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"MLP","node":8,"month":"Crossover_S1","color":"#fb9a99",valueN:this.RandomSearLoc/2}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"LR","node":9,"month":"Crossover_S1","color":"#fdbf6f",valueN:this.RandomSearLoc/2}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"KNN","node":10,"month":"Crossover_S1","color":"#ff7f00",valueN:this.RandomSearLoc/2}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"Mutate (M) S1","node":11,"month":"Crossover_S1","color":"#ffffff",valueN:this.RandomSearLoc/2}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"GradB","node":12,"month":"Mutate_S1","color":"#a6cee3",valueN:this.RandomSearLoc/2}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"RF","node":13,"month":"Mutate_S1","color":"#b15928",valueN:this.RandomSearLoc/2}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"MLP","node":14,"month":"Mutate_S1","color":"#fb9a99",valueN:this.RandomSearLoc/2}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"LR","node":15,"month":"Mutate_S1","color":"#fdbf6f",valueN:this.RandomSearLoc/2}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"KNN","node":16,"month":"Mutate_S1","color":"#ff7f00",valueN:this.RandomSearLoc/2}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"Crossover (C) S1","node":17,"month":"Mutate_S1","color":"#ffffff",valueN:this.RandomSearLoc/2}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"GradB","node":18,"month":"Crossover_S2","color":"#a6cee3",valueN:this.RandomSearLoc/4}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"RF","node":19,"month":"Crossover_S2","color":"#b15928",valueN:this.RandomSearLoc/4}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"MLP","node":20,"month":"Crossover_S2","color":"#fb9a99",valueN:this.RandomSearLoc/4}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"LR","node":21,"month":"Crossover_S2","color":"#fdbf6f",valueN:this.RandomSearLoc/4}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"KNN","node":22,"month":"Crossover_S2","color":"#ff7f00",valueN:this.RandomSearLoc/4}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"Mutate S2 (M)","node":23,"month":"Crossover_S2","color":"#ffffff",valueN:this.RandomSearLoc/4}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"GradB","node":24,"month":"Mutate_S2","color":"#a6cee3",valueN:this.RandomSearLoc/4}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"RF","node":25,"month":"Mutate_S2","color":"#b15928",valueN:this.RandomSearLoc/4}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"MLP","node":26,"month":"Mutate_S2","color":"#fb9a99",valueN:this.RandomSearLoc/4}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"LR","node":27,"month":"Mutate_S2","color":"#fdbf6f",valueN:this.RandomSearLoc/4}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"KNN","node":28,"month":"Mutate_S2","color":"#ff7f00",valueN:this.RandomSearLoc/4}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"Crossover S2 (M)","node":29,"month":"Mutate_S2","color":"#ffffff",valueN:this.RandomSearLoc/4}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"GradB","node":30,"month":"Crossover_S2_Prime","color":"#a6cee3",valueN:this.RandomSearLoc/4}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"RF","node":31,"month":"Crossover_S2_Prime","color":"#b15928",valueN:this.RandomSearLoc/4}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"MLP","node":32,"month":"Crossover_S2_Prime","color":"#fb9a99",valueN:this.RandomSearLoc/4}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"LR","node":33,"month":"Crossover_S2_Prime","color":"#fdbf6f",valueN:this.RandomSearLoc/4}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"KNN","node":34,"month":"Crossover_S2_Prime","color":"#ff7f00",valueN:this.RandomSearLoc/4}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"Mutate S2 (C)","node":35,"month":"Crossover_S2_Prime","color":"#ffffff",valueN:this.RandomSearLoc/4}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"GradB","node":36,"month":"Mutate_S2_Prime","color":"#a6cee3",valueN:this.RandomSearLoc/4}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"RF","node":37,"month":"Mutate_S2_Prime","color":"#b15928",valueN:this.RandomSearLoc/4}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"MLP","node":38,"month":"Mutate_S2_Prime","color":"#fb9a99",valueN:this.RandomSearLoc/4}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"LR","node":39,"month":"Mutate_S2_Prime","color":"#fdbf6f",valueN:this.RandomSearLoc/4}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"KNN","node":40,"month":"Mutate_S2_Prime","color":"#ff7f00",valueN:this.RandomSearLoc/4}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"Crossover S2 (C)","node":41,"month":"Mutate_S2_Prime","color":"#ffffff",valueN:this.RandomSearLoc/4}, | 
			
		
	
		
			
				
					|  |  |  |  |         ], | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         "links":[ | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":5,"target":11,"value":50,"dh":height/(numberofModels*localStep)*(250/(valuesLoc[6]+valuesLoc[7]+valuesLoc[8]+valuesLoc[9]+valuesLoc[10]))}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":5,"target":17,"value":50,"dh":height/(numberofModels*localStep)*(250/(valuesLoc[12]+valuesLoc[13]+valuesLoc[14]+valuesLoc[15]+valuesLoc[16]))}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":0,"target":6,"value":valuesLoc[6],"dh":height/(numberofModels*localStep)*(valuesLoc[6]/50)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":0,"target":12,"value":valuesLoc[12],"dh":height/(numberofModels*localStep)*(valuesLoc[12]/50)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":1,"target":7,"value":valuesLoc[7],"dh":height/(numberofModels*localStep)*(valuesLoc[7]/50)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":1,"target":13,"value":valuesLoc[13],"dh":height/(numberofModels*localStep)*(valuesLoc[13]/50)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":2,"target":8,"value":valuesLoc[8],"dh":height/(numberofModels*localStep)*(valuesLoc[8]/50)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":2,"target":14,"value":valuesLoc[14],"dh":height/(numberofModels*localStep)*(valuesLoc[14]/50)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":3,"target":9,"value":valuesLoc[9],"dh":height/(numberofModels*localStep)*(valuesLoc[9]/50)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":3,"target":15,"value":valuesLoc[15],"dh":height/(numberofModels*localStep)*(valuesLoc[15]/50)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":4,"target":10,"value":valuesLoc[10],"dh":height/(numberofModels*localStep)*(valuesLoc[10]/50)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":4,"target":16,"value":valuesLoc[16],"dh":height/(numberofModels*localStep)*(valuesLoc[16]/50)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":11,"target":23,"value":25,"dh":height/(numberofModels*(localStep*2))*(125/(valuesLoc[18]+valuesLoc[19]+valuesLoc[20]+valuesLoc[21]+valuesLoc[22]))}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":11,"target":35,"value":25,"dh":height/(numberofModels*(localStep*2))*(125/(valuesLoc[30]+valuesLoc[31]+valuesLoc[32]+valuesLoc[33]+valuesLoc[34]))}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":6,"target":18,"value":valuesLoc[18],"dh":height/(numberofModels*(localStep*2))*(valuesLoc[18]/25)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":6,"target":24,"value":valuesLoc[24],"dh":height/(numberofModels*(localStep*2))*(valuesLoc[24]/25)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":7,"target":19,"value":valuesLoc[19],"dh":height/(numberofModels*(localStep*2))*(valuesLoc[19]/25)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":7,"target":25,"value":valuesLoc[25],"dh":height/(numberofModels*(localStep*2))*(valuesLoc[25]/25)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":8,"target":20,"value":valuesLoc[20],"dh":height/(numberofModels*(localStep*2))*(valuesLoc[20]/25)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":8,"target":26,"value":valuesLoc[26],"dh":height/(numberofModels*(localStep*2))*(valuesLoc[26]/25)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":9,"target":21,"value":valuesLoc[21],"dh":height/(numberofModels*(localStep*2))*(valuesLoc[21]/25)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":9,"target":27,"value":valuesLoc[27],"dh":height/(numberofModels*(localStep*2))*(valuesLoc[27]/25)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":10,"target":22,"value":valuesLoc[22],"dh":height/(numberofModels*(localStep*2))*(valuesLoc[22]/25)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":10,"target":28,"value":valuesLoc[28],"dh":height/(numberofModels*(localStep*2))*(valuesLoc[28]/25)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":17,"target":29,"value":25,"dh":height/(numberofModels*(localStep*2))*(125/(valuesLoc[24]+valuesLoc[25]+valuesLoc[26]+valuesLoc[27]+valuesLoc[28]))}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":17,"target":41,"value":25,"dh":height/(numberofModels*(localStep*2))*(125/(valuesLoc[36]+valuesLoc[37]+valuesLoc[38]+valuesLoc[39]+valuesLoc[40]))}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":12,"target":30,"value":valuesLoc[30],"dh":height/(numberofModels*(localStep*2))*(valuesLoc[30]/25)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":12,"target":36,"value":valuesLoc[36],"dh":height/(numberofModels*(localStep*2))*(valuesLoc[36]/25)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":13,"target":31,"value":valuesLoc[31],"dh":height/(numberofModels*(localStep*2))*(valuesLoc[31]/25)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":13,"target":37,"value":valuesLoc[37],"dh":height/(numberofModels*(localStep*2))*(valuesLoc[37]/25)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":14,"target":32,"value":valuesLoc[32],"dh":height/(numberofModels*(localStep*2))*(valuesLoc[32]/25)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":14,"target":38,"value":valuesLoc[38],"dh":height/(numberofModels*(localStep*2))*(valuesLoc[38]/25)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":15,"target":33,"value":valuesLoc[33],"dh":height/(numberofModels*(localStep*2))*(valuesLoc[33]/25)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":15,"target":39,"value":valuesLoc[39],"dh":height/(numberofModels*(localStep*2))*(valuesLoc[39]/25)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":16,"target":34,"value":valuesLoc[34],"dh":height/(numberofModels*(localStep*2))*(valuesLoc[34]/25)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":16,"target":40,"value":valuesLoc[40],"dh":height/(numberofModels*(localStep*2))*(valuesLoc[40]/25)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":5,"target":11,"value":0}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":5,"target":17,"value":0}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":0,"target":6,"value":valuesLoc[6]}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":0,"target":12,"value":valuesLoc[12]}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":1,"target":7,"value":valuesLoc[7]}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":1,"target":13,"value":valuesLoc[13]}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":2,"target":8,"value":valuesLoc[8]}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":2,"target":14,"value":valuesLoc[14]}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":3,"target":9,"value":valuesLoc[9]}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":3,"target":15,"value":valuesLoc[15]}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":4,"target":10,"value":valuesLoc[10]}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":4,"target":16,"value":valuesLoc[16]}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":11,"target":23,"value":0}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":11,"target":35,"value":0}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":6,"target":18,"value":valuesLoc[18]}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":6,"target":24,"value":valuesLoc[24]}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":7,"target":19,"value":valuesLoc[19]}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":7,"target":25,"value":valuesLoc[25]}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":8,"target":20,"value":valuesLoc[20]}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":8,"target":26,"value":valuesLoc[26]}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":9,"target":21,"value":valuesLoc[21]}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":9,"target":27,"value":valuesLoc[27]}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":10,"target":22,"value":valuesLoc[22]}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":10,"target":28,"value":valuesLoc[28]}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":17,"target":29,"value":0}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":17,"target":41,"value":0}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":12,"target":30,"value":valuesLoc[30]}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":12,"target":36,"value":valuesLoc[36]}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":13,"target":31,"value":valuesLoc[31]}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":13,"target":37,"value":valuesLoc[37]}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":14,"target":32,"value":valuesLoc[32]}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":14,"target":38,"value":valuesLoc[38]}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":15,"target":33,"value":valuesLoc[33]}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":15,"target":39,"value":valuesLoc[39]}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":16,"target":34,"value":valuesLoc[34]}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":16,"target":40,"value":valuesLoc[40]}, | 
			
		
	
		
			
				
					|  |  |  |  |       ]} | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         sankey.nodes(graph.nodes) | 
			
		
	
	
		
			
				
					|  |  |  | @ -1084,8 +966,8 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |                 return "#808080" | 
			
		
	
		
			
				
					|  |  |  |  |               } | 
			
		
	
		
			
				
					|  |  |  |  |             })  | 
			
		
	
		
			
				
					|  |  |  |  |             .style("stroke-width", function(d) { return Math.max(.5, d.dh); })   //setting the stroke length by the data . d.dh is defined in sankey.js | 
			
		
	
		
			
				
					|  |  |  |  |             .sort(function(a, b) { return b.dh - a.dh; }) | 
			
		
	
		
			
				
					|  |  |  |  |             .style("stroke-width", function(d) { return Math.max(.5, d.dy); })   //setting the stroke length by the data . d.dy is defined in sankey.js | 
			
		
	
		
			
				
					|  |  |  |  |             .sort(function(a, b) { return b.dy - a.dy; }) | 
			
		
	
		
			
				
					|  |  |  |  |             .on("mouseover",linkmouseover) | 
			
		
	
		
			
				
					|  |  |  |  |             .on("mouseout",linkmouseout);   | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
	
		
			
				
					|  |  |  | @ -1110,7 +992,7 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |          | 
			
		
	
		
			
				
					|  |  |  |  |       // add the rectangles for the nodes | 
			
		
	
		
			
				
					|  |  |  |  |         node.append("rect") | 
			
		
	
		
			
				
					|  |  |  |  |             .attr("height", function(d) { return d.dh; }) | 
			
		
	
		
			
				
					|  |  |  |  |             .attr("height", function(d) { return d.dy; }) | 
			
		
	
		
			
				
					|  |  |  |  |             .attr("width", sankey.nodeWidth(  )) | 
			
		
	
		
			
				
					|  |  |  |  |             .style("fill", function(d) { return d.color; }) //matches name with the colors here! inside the replace is some sort of regex | 
			
		
	
		
			
				
					|  |  |  |  |             // .style("stroke",function(d) { return d3.rgb(d.color).darker(1); }) //line around the box formatting | 
			
		
	
	
		
			
				
					|  |  |  | @ -1134,7 +1016,7 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |             $("input[type='number']").change( function(d) { | 
			
		
	
		
			
				
					|  |  |  |  |               valuesLoc[d.target.id] = parseInt(d.target.value) | 
			
		
	
		
			
				
					|  |  |  |  |               EventBus.$emit('changeValues2', valuesLoc) | 
			
		
	
		
			
				
					|  |  |  |  |               EventBus.$emit('changeValues2Run', valuesLoc) | 
			
		
	
		
			
				
					|  |  |  |  |             }); | 
			
		
	
		
			
				
					|  |  |  |  |         } | 
			
		
	
		
			
				
					|  |  |  |  |             // .append("title") | 
			
		
	
	
		
			
				
					|  |  |  | @ -1146,11 +1028,11 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |             .attr("x", -6) | 
			
		
	
		
			
				
					|  |  |  |  |             .attr("y", function(d) { | 
			
		
	
		
			
				
					|  |  |  |  |               if (d.node <= 5) { | 
			
		
	
		
			
				
					|  |  |  |  |                 return d.dh - 81;  | 
			
		
	
		
			
				
					|  |  |  |  |                 return d.dy - 81;  | 
			
		
	
		
			
				
					|  |  |  |  |               } else if (d.node <= 17) { | 
			
		
	
		
			
				
					|  |  |  |  |                 return d.dh - 41;  | 
			
		
	
		
			
				
					|  |  |  |  |                 return d.dy - 41;  | 
			
		
	
		
			
				
					|  |  |  |  |               } else { | 
			
		
	
		
			
				
					|  |  |  |  |                 return d.dh - 21;  | 
			
		
	
		
			
				
					|  |  |  |  |                 return d.dy - 21;  | 
			
		
	
		
			
				
					|  |  |  |  |               } | 
			
		
	
		
			
				
					|  |  |  |  |             }) | 
			
		
	
		
			
				
					|  |  |  |  |             .attr("dy", ".35em") | 
			
		
	
	
		
			
				
					|  |  |  | @ -1235,13 +1117,11 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |  |     SankeyView () { | 
			
		
	
		
			
				
					|  |  |  |  |       var valuesLoc = this.values | 
			
		
	
		
			
				
					|  |  |  |  |       var valuesLocSt2 = this.valuesStage2 | 
			
		
	
		
			
				
					|  |  |  |  |       var localStep = 2 | 
			
		
	
		
			
				
					|  |  |  |  |       var numberofModels = 6 | 
			
		
	
		
			
				
					|  |  |  |  |       var units = "Models"; | 
			
		
	
		
			
				
					|  |  |  |  |       var initialModels = this.RandomSearLoc * 5 | 
			
		
	
		
			
				
					|  |  |  |  |       var months = [{month:"RandSear",value:initialModels,loss:null}, | 
			
		
	
		
			
				
					|  |  |  |  |                     {month:"Crossover_S1",value:250,loss:null}, | 
			
		
	
		
			
				
					|  |  |  |  |                     {month:"Mutate_S1",value:250,loss:null}]; | 
			
		
	
		
			
				
					|  |  |  |  |       //this is the svg canvas attributes: (not buidlign abything just seeting up varaibels) | 
			
		
	
		
			
				
					|  |  |  |  |       var margin = {top: 0, right: 40, bottom: 0, left: 40}, //comma is the equivalent of var :  | 
			
		
	
		
			
				
					|  |  |  |  |           width = 1230 - margin.left - margin.right, | 
			
		
	
	
		
			
				
					|  |  |  | @ -1287,76 +1167,41 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |       var path = sankey.link(); //sankey.link() is something happening in sankey.js  | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |       // svg.selectAll("text.values") | 
			
		
	
		
			
				
					|  |  |  |  |       //   .data(months) | 
			
		
	
		
			
				
					|  |  |  |  |       //   .enter() | 
			
		
	
		
			
				
					|  |  |  |  |       //   .append("text") | 
			
		
	
		
			
				
					|  |  |  |  |       //   .text(function(d){return formatNumber(d.value)}) | 
			
		
	
		
			
				
					|  |  |  |  |       //   .attr("class", "innerText") | 
			
		
	
		
			
				
					|  |  |  |  |       //   .attr("x",function(d,i){return i*89-margin.left-5}) | 
			
		
	
		
			
				
					|  |  |  |  |       //   .attr("y",20) | 
			
		
	
		
			
				
					|  |  |  |  |       //   .attr("transform", function(d){  | 
			
		
	
		
			
				
					|  |  |  |  |       //           return "translate(" + margin.left + "," + margin.top + ") scale(1,-1) translate(" + 0 + "," + -(d.value/10+15) + ")";}); | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |       // svg.selectAll("text.loss") | 
			
		
	
		
			
				
					|  |  |  |  |       //   .data(months) | 
			
		
	
		
			
				
					|  |  |  |  |       //   .enter() | 
			
		
	
		
			
				
					|  |  |  |  |       //   .append("text") | 
			
		
	
		
			
				
					|  |  |  |  |       //   .text(function(d){return d.loss}) | 
			
		
	
		
			
				
					|  |  |  |  |       //   .attr("class", "innerText") | 
			
		
	
		
			
				
					|  |  |  |  |       //   .attr("x",function(d,i){return i*89-margin.left-5}) | 
			
		
	
		
			
				
					|  |  |  |  |       //   .attr("y",20) | 
			
		
	
		
			
				
					|  |  |  |  |       //   .attr("fill",function(d){ return lossScale(d.loss)}) | 
			
		
	
		
			
				
					|  |  |  |  |       //   .attr("transform", function(d){  | 
			
		
	
		
			
				
					|  |  |  |  |       //           return "translate(" + margin.left + "," + margin.top + ") scale(1,-1) translate(" + 0 + "," + -(d.value/10-5) + ")";}); | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |       // svg.selectAll("text.months") | 
			
		
	
		
			
				
					|  |  |  |  |       //   .data(months) | 
			
		
	
		
			
				
					|  |  |  |  |       //   .enter() | 
			
		
	
		
			
				
					|  |  |  |  |       //   .append("text") | 
			
		
	
		
			
				
					|  |  |  |  |       //   .attr("class", "innerText") | 
			
		
	
		
			
				
					|  |  |  |  |       //   .text(function(d){return d.month}) | 
			
		
	
		
			
				
					|  |  |  |  |       //   .attr("x",function(d,i){return i*89-margin.left-10}) | 
			
		
	
		
			
				
					|  |  |  |  |       //   .attr("y",20) | 
			
		
	
		
			
				
					|  |  |  |  |       //   .attr("transform",  | 
			
		
	
		
			
				
					|  |  |  |  |       //           "translate(" + margin.left + "," + margin.top + ") scale(1,-1) translate(" + 0 + "," + margin.bottom + ")"); | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |       // load the data | 
			
		
	
		
			
				
					|  |  |  |  |       var graph = { | 
			
		
	
		
			
				
					|  |  |  |  |         "nodes":[ | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"GradB","node":0,"month":"RandSear","color":"#a6cee3","dh":height/numberofModels}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"RF","node":1,"month":"RandSear","color":"#b15928","dh":height/numberofModels}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"MLP","node":2,"month":"RandSear","color":"#fb9a99","dh":height/numberofModels}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"LR","node":3,"month":"RandSear","color":"#fdbf6f","dh":height/numberofModels}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"KNN","node":4,"month":"RandSear","color":"#ff7f00","dh":height/numberofModels}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"Random search","node":5,"month":"RandSear","color":"#ffffff","dh":height/numberofModels}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"GradB","node":6,"month":"Crossover_S1","color":"#a6cee3","dh":height/(numberofModels*localStep)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"RF","node":7,"month":"Crossover_S1","color":"#b15928","dh":height/(numberofModels*localStep)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"MLP","node":8,"month":"Crossover_S1","color":"#fb9a99","dh":height/(numberofModels*localStep)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"LR","node":9,"month":"Crossover_S1","color":"#fdbf6f","dh":height/(numberofModels*localStep)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"KNN","node":10,"month":"Crossover_S1","color":"#ff7f00","dh":height/(numberofModels*localStep)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"Mutate (M) S1","node":11,"month":"Crossover_S1","color":"#ffffff","dh":height/(numberofModels*localStep)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"GradB","node":12,"month":"Mutate_S1","color":"#a6cee3","dh":height/(numberofModels*localStep)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"RF","node":13,"month":"Mutate_S1","color":"#b15928","dh":height/(numberofModels*localStep)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"MLP","node":14,"month":"Mutate_S1","color":"#fb9a99","dh":height/(numberofModels*localStep)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"LR","node":15,"month":"Mutate_S1","color":"#fdbf6f","dh":height/(numberofModels*localStep)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"KNN","node":16,"month":"Mutate_S1","color":"#ff7f00","dh":height/(numberofModels*localStep)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"Crossover (C) S1","node":17,"month":"Mutate_S1","color":"#ffffff","dh":height/(numberofModels*localStep)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"GradB","node":0,"month":"RandSear","color":"#a6cee3", valueN: this.RandomSearLoc}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"RF","node":1,"month":"RandSear","color":"#b15928", valueN: this.RandomSearLoc}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"MLP","node":2,"month":"RandSear","color":"#fb9a99", valueN: this.RandomSearLoc}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"LR","node":3,"month":"RandSear","color":"#fdbf6f", valueN: this.RandomSearLoc}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"KNN","node":4,"month":"RandSear","color":"#ff7f00", valueN: this.RandomSearLoc}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"Random search","node":5,"month":"RandSear","color":"#ffffff", valueN: this.RandomSearLoc}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"GradB","node":6,"month":"Crossover_S1","color":"#a6cee3", valueN: this.RandomSearLoc/2}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"RF","node":7,"month":"Crossover_S1","color":"#b15928", valueN: this.RandomSearLoc/2}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"MLP","node":8,"month":"Crossover_S1","color":"#fb9a99", valueN: this.RandomSearLoc/2}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"LR","node":9,"month":"Crossover_S1","color":"#fdbf6f", valueN: this.RandomSearLoc/2}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"KNN","node":10,"month":"Crossover_S1","color":"#ff7f00", valueN: this.RandomSearLoc/2}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"Mutate (M) S1","node":11,"month":"Crossover_S1","color":"#ffffff", valueN: this.RandomSearLoc/2}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"GradB","node":12,"month":"Mutate_S1","color":"#a6cee3", valueN: this.RandomSearLoc/2}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"RF","node":13,"month":"Mutate_S1","color":"#b15928", valueN: this.RandomSearLoc/2}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"MLP","node":14,"month":"Mutate_S1","color":"#fb9a99", valueN: this.RandomSearLoc/2}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"LR","node":15,"month":"Mutate_S1","color":"#fdbf6f", valueN: this.RandomSearLoc/2}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"KNN","node":16,"month":"Mutate_S1","color":"#ff7f00", valueN: this.RandomSearLoc/2}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"name":"Crossover (C) S1","node":17,"month":"Mutate_S1","color":"#ffffff", valueN: this.RandomSearLoc/2}, | 
			
		
	
		
			
				
					|  |  |  |  |         ], | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         "links":[ | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":5,"target":11,"value":50,"dh":height/(numberofModels*localStep)*(250/(valuesLoc[6]+valuesLoc[7]+valuesLoc[8]+valuesLoc[9]+valuesLoc[10]))}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":5,"target":17,"value":50,"dh":height/(numberofModels*localStep)*(250/(valuesLoc[12]+valuesLoc[13]+valuesLoc[14]+valuesLoc[15]+valuesLoc[16]))}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":0,"target":6,"value":valuesLoc[6],"dh":height/(numberofModels*localStep)*(valuesLoc[6]/50)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":0,"target":12,"value":valuesLoc[12],"dh":height/(numberofModels*localStep)*(valuesLoc[12]/50)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":1,"target":7,"value":valuesLoc[7],"dh":height/(numberofModels*localStep)*(valuesLoc[7]/50)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":1,"target":13,"value":valuesLoc[13],"dh":height/(numberofModels*localStep)*(valuesLoc[13]/50)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":2,"target":8,"value":valuesLoc[8],"dh":height/(numberofModels*localStep)*(valuesLoc[8]/50)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":2,"target":14,"value":valuesLoc[14],"dh":height/(numberofModels*localStep)*(valuesLoc[14]/50)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":3,"target":9,"value":valuesLoc[9],"dh":height/(numberofModels*localStep)*(valuesLoc[9]/50)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":3,"target":15,"value":valuesLoc[15],"dh":height/(numberofModels*localStep)*(valuesLoc[15]/50)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":4,"target":10,"value":valuesLoc[10],"dh":height/(numberofModels*localStep)*(valuesLoc[10]/50)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":4,"target":16,"value":valuesLoc[16],"dh":height/(numberofModels*localStep)*(valuesLoc[16]/50)}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":5,"target":11,"value":0}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":5,"target":17,"value":0}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":0,"target":6,"value":valuesLoc[6]}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":0,"target":12,"value":valuesLoc[12]}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":1,"target":7,"value":valuesLoc[7]}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":1,"target":13,"value":valuesLoc[13]}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":2,"target":8,"value":valuesLoc[8]}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":2,"target":14,"value":valuesLoc[14]}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":3,"target":9,"value":valuesLoc[9]}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":3,"target":15,"value":valuesLoc[15]}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":4,"target":10,"value":valuesLoc[10]}, | 
			
		
	
		
			
				
					|  |  |  |  |         {"source":4,"target":16,"value":valuesLoc[16]}, | 
			
		
	
		
			
				
					|  |  |  |  |       ]} | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         sankey.nodes(graph.nodes) | 
			
		
	
	
		
			
				
					|  |  |  | @ -1376,8 +1221,8 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |               return "#808080" | 
			
		
	
		
			
				
					|  |  |  |  |             } | 
			
		
	
		
			
				
					|  |  |  |  |             }) | 
			
		
	
		
			
				
					|  |  |  |  |             .style("stroke-width", function(d) { return Math.max(.5, d.dh); })   //setting the stroke length by the data . d.dh is defined in sankey.js | 
			
		
	
		
			
				
					|  |  |  |  |             .sort(function(a, b) { return b.dh - a.dh; }) | 
			
		
	
		
			
				
					|  |  |  |  |             .style("stroke-width", function(d) { return Math.max(.5, d.dy); })   //setting the stroke length by the data . d.dy is defined in sankey.js | 
			
		
	
		
			
				
					|  |  |  |  |             .sort(function(a, b) { return b.dy - a.dy; }) | 
			
		
	
		
			
				
					|  |  |  |  |             .on("mouseover",linkmouseover) | 
			
		
	
		
			
				
					|  |  |  |  |             .on("mouseout",linkmouseout);   | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
	
		
			
				
					|  |  |  | @ -1402,7 +1247,7 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |          | 
			
		
	
		
			
				
					|  |  |  |  |       // add the rectangles for the nodes | 
			
		
	
		
			
				
					|  |  |  |  |         node.append("rect") | 
			
		
	
		
			
				
					|  |  |  |  |             .attr("height", function(d) { return d.dh; }) | 
			
		
	
		
			
				
					|  |  |  |  |             .attr("height", function(d) { return d.dy; }) | 
			
		
	
		
			
				
					|  |  |  |  |             .attr("width", sankey.nodeWidth(  )) | 
			
		
	
		
			
				
					|  |  |  |  |             .style("fill", function(d) { return d.color; }) //matches name with the colors here! inside the replace is some sort of regex | 
			
		
	
		
			
				
					|  |  |  |  |             // .style("stroke",function(d) { return d3.rgb(d.color).darker(1); }) //line around the box formatting | 
			
		
	
	
		
			
				
					|  |  |  | @ -1426,7 +1271,9 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |             $("input[type='number']").change( function(d) { | 
			
		
	
		
			
				
					|  |  |  |  |               valuesLoc[d.target.id] = parseInt(d.target.value) | 
			
		
	
		
			
				
					|  |  |  |  |               valuesLocSt2[d.target.id] = parseInt(d.target.value) | 
			
		
	
		
			
				
					|  |  |  |  |               EventBus.$emit('changeValues', valuesLoc) | 
			
		
	
		
			
				
					|  |  |  |  |               EventBus.$emit('changeValues2', valuesLocSt2) | 
			
		
	
		
			
				
					|  |  |  |  |             }); | 
			
		
	
		
			
				
					|  |  |  |  |         } | 
			
		
	
		
			
				
					|  |  |  |  |             // .append("title") | 
			
		
	
	
		
			
				
					|  |  |  | @ -1438,9 +1285,9 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |             .attr("x", -6) | 
			
		
	
		
			
				
					|  |  |  |  |             .attr("y", function(d) { | 
			
		
	
		
			
				
					|  |  |  |  |               if (d.node <= 5) { | 
			
		
	
		
			
				
					|  |  |  |  |                 return d.dh - 81;  | 
			
		
	
		
			
				
					|  |  |  |  |                 return d.dy - 81;  | 
			
		
	
		
			
				
					|  |  |  |  |               } else { | 
			
		
	
		
			
				
					|  |  |  |  |                 return d.dh - 41;  | 
			
		
	
		
			
				
					|  |  |  |  |                 return d.dy - 41;  | 
			
		
	
		
			
				
					|  |  |  |  |               } | 
			
		
	
		
			
				
					|  |  |  |  |             }) | 
			
		
	
		
			
				
					|  |  |  |  |             .attr("dy", ".35em") | 
			
		
	
	
		
			
				
					|  |  |  | @ -1456,16 +1303,6 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |             .attr("x", 6 + sankey.nodeWidth()) | 
			
		
	
		
			
				
					|  |  |  |  |             .attr("text-anchor", "start"); | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         // // the function for moving the nodes | 
			
		
	
		
			
				
					|  |  |  |  |         //   function dragmove(d) { | 
			
		
	
		
			
				
					|  |  |  |  |         //     d3.select(this).attr("transform",  | 
			
		
	
		
			
				
					|  |  |  |  |         //         "translate(" + d.x + "," + ( | 
			
		
	
		
			
				
					|  |  |  |  |         //                 d.y = Math.max(0, Math.min(height/2 - d.dy, d3.event.y)) | 
			
		
	
		
			
				
					|  |  |  |  |         //             ) + ")"); | 
			
		
	
		
			
				
					|  |  |  |  |         //     sankey.relayout(); | 
			
		
	
		
			
				
					|  |  |  |  |         //     link.attr("d", path); | 
			
		
	
		
			
				
					|  |  |  |  |         //   } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |       var status=null; | 
			
		
	
		
			
				
					|  |  |  |  |       function nodemouseover(d){ | 
			
		
	
	
		
			
				
					|  |  |  | @ -1511,79 +1348,8 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |         .attr("transform",  | 
			
		
	
		
			
				
					|  |  |  |  |                 "translate(" + -45 + "," + 0 + ") scale(1,-1) translate(" + 0 + "," + -(height) + ") rotate(-90 150 150)"); | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |       //y axis | 
			
		
	
		
			
				
					|  |  |  |  |         // svg.append("g") | 
			
		
	
		
			
				
					|  |  |  |  |         //     .call(yAxis) | 
			
		
	
		
			
				
					|  |  |  |  |         //     .attr("class", "axis") | 
			
		
	
		
			
				
					|  |  |  |  |         //     .attr("transform",  | 
			
		
	
		
			
				
					|  |  |  |  |         //       "translate(" + -45 + "," + 0 + ") scale(1,-1) translate(" + 0 + "," + -(height) + ")"); | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |  |     // LegendStable() { | 
			
		
	
		
			
				
					|  |  |  |  |     //   var viewerWidth = this.responsiveWidthHeight[0]*7 | 
			
		
	
		
			
				
					|  |  |  |  |     //   var viewerHeight = this.responsiveWidthHeight[1]*1.6 | 
			
		
	
		
			
				
					|  |  |  |  |     //   var viewerPosTop = viewerWidth * 0.01; | 
			
		
	
		
			
				
					|  |  |  |  |     //   var cellSizeHeat = 20 | 
			
		
	
		
			
				
					|  |  |  |  |     //   var legendElementWidth = cellSizeHeat * 3; | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     //   // http://bl.ocks.org/mbostock/5577023 | 
			
		
	
		
			
				
					|  |  |  |  |     //   var colors = colorbrewer.PRGn[this.classesNumber]; | 
			
		
	
		
			
				
					|  |  |  |  |     //   var svgLeg = d3.select("#LegendHeat"); | 
			
		
	
		
			
				
					|  |  |  |  |     //   svgLeg.selectAll("*").remove(); | 
			
		
	
		
			
				
					|  |  |  |  |          | 
			
		
	
		
			
				
					|  |  |  |  |     //   var svgLeg = d3.select("#LegendHeat").append("svg") | 
			
		
	
		
			
				
					|  |  |  |  |     //     .attr("width", viewerWidth/2) | 
			
		
	
		
			
				
					|  |  |  |  |     //     .attr("height", viewerHeight*0.10) | 
			
		
	
		
			
				
					|  |  |  |  |     //     .style("margin-top", "12px") | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     //   var legend = svgLeg.append('g') | 
			
		
	
		
			
				
					|  |  |  |  |     //       .attr("class", "legend") | 
			
		
	
		
			
				
					|  |  |  |  |     //       .attr("transform", "translate(0,0)") | 
			
		
	
		
			
				
					|  |  |  |  |     //       .selectAll(".legendElement") | 
			
		
	
		
			
				
					|  |  |  |  |     //       .data([1.00, 0.75, 0.50, 0.25, 0.00, 0.25, 0.50, 0.75, 1.00]) | 
			
		
	
		
			
				
					|  |  |  |  |     //       .enter().append("g") | 
			
		
	
		
			
				
					|  |  |  |  |     //       .attr("class", "legendElement"); | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     //   legend.append("svg:rect") | 
			
		
	
		
			
				
					|  |  |  |  |     //       .attr("x", viewerPosTop) | 
			
		
	
		
			
				
					|  |  |  |  |     //       .attr("y", function(d, i) { | 
			
		
	
		
			
				
					|  |  |  |  |     //           return (legendElementWidth * i) + 35; | 
			
		
	
		
			
				
					|  |  |  |  |     //       }) | 
			
		
	
		
			
				
					|  |  |  |  |     //       .attr("class", "cellLegend bordered") | 
			
		
	
		
			
				
					|  |  |  |  |     //       .attr("width", legendElementWidth) | 
			
		
	
		
			
				
					|  |  |  |  |     //       .attr("height", cellSizeHeat / 2) | 
			
		
	
		
			
				
					|  |  |  |  |     //       .style("fill", function(d, i) { | 
			
		
	
		
			
				
					|  |  |  |  |     //         console.log(colors[i]) | 
			
		
	
		
			
				
					|  |  |  |  |     //           return colors[i]; | 
			
		
	
		
			
				
					|  |  |  |  |     //       }); | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     //   legend.append("text") | 
			
		
	
		
			
				
					|  |  |  |  |     //       .attr("class", "mono legendElement") | 
			
		
	
		
			
				
					|  |  |  |  |     //       .text(function(d, i) { | 
			
		
	
		
			
				
					|  |  |  |  |     //         console.log(i) | 
			
		
	
		
			
				
					|  |  |  |  |     //         if (i < 4) { | 
			
		
	
		
			
				
					|  |  |  |  |     //           return "-" + (d * 100) + "%"; | 
			
		
	
		
			
				
					|  |  |  |  |     //         } else if (i > 4) { | 
			
		
	
		
			
				
					|  |  |  |  |     //           return "+" + (d * 100) + "%"; | 
			
		
	
		
			
				
					|  |  |  |  |     //         } else { | 
			
		
	
		
			
				
					|  |  |  |  |     //           return "" + (d * 100) + "%"; | 
			
		
	
		
			
				
					|  |  |  |  |     //         } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     //       }) | 
			
		
	
		
			
				
					|  |  |  |  |     //       .attr("x", function(d, i) { | 
			
		
	
		
			
				
					|  |  |  |  |     //         if (i > 4) { | 
			
		
	
		
			
				
					|  |  |  |  |     //           return (legendElementWidth * i) + 45; | 
			
		
	
		
			
				
					|  |  |  |  |     //         } else if (i == 4) { | 
			
		
	
		
			
				
					|  |  |  |  |     //           return (legendElementWidth * i) + 55; | 
			
		
	
		
			
				
					|  |  |  |  |     //         } else { | 
			
		
	
		
			
				
					|  |  |  |  |     //           return (legendElementWidth * i) + 40; | 
			
		
	
		
			
				
					|  |  |  |  |     //         } | 
			
		
	
		
			
				
					|  |  |  |  |                | 
			
		
	
		
			
				
					|  |  |  |  |     //       }) | 
			
		
	
		
			
				
					|  |  |  |  |     //       .attr("y", (viewerPosTop + cellSizeHeat) + 5); | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     //   svgLeg.append("text").attr("x", 220).attr("y", 32).text("Difference in PD (solution space vs. ensemble").style("font-size", "16px").attr("alignment-baseline","top").attr('transform', 'translate(0,10) rotate(90)') | 
			
		
	
		
			
				
					|  |  |  |  |     // } | 
			
		
	
		
			
				
					|  |  |  |  |      | 
			
		
	
		
			
				
					|  |  |  |  |   }, | 
			
		
	
		
			
				
					|  |  |  |  |   mounted() { | 
			
		
	
		
			
				
					|  |  |  |  |     //EventBus.$on('emittedEventCallingSankeyLegend', this.LegendStable) | 
			
		
	
	
		
			
				
					|  |  |  | @ -1591,11 +1357,11 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |     EventBus.$on('emittedEventCallingSankeyStage2', this.SankeyViewStage2) | 
			
		
	
		
			
				
					|  |  |  |  |     EventBus.$on('emittedEventCallingSankeyStage3', this.SankeyViewStage3) | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     EventBus.$on('changeValues', data => { this.values = data }) | 
			
		
	
		
			
				
					|  |  |  |  |     EventBus.$on('changeValues', data => { this.values = data; }) | 
			
		
	
		
			
				
					|  |  |  |  |     EventBus.$on('changeValues', this.SankeyView ) | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     EventBus.$on('changeValues2', data => { this.valuesStage2 = data}) | 
			
		
	
		
			
				
					|  |  |  |  |     EventBus.$on('changeValues2', this.SankeyViewStage2) | 
			
		
	
		
			
				
					|  |  |  |  |     EventBus.$on('changeValues2Run', this.SankeyViewStage2) | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     EventBus.$on('SendtheChangeinRangePos', data => { this.RandomSearLoc = data }) | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
	
		
			
				
					|  |  |  | 
 |