New (temporary) colorscheme for new map
This commit is contained in:
		
							parent
							
								
									841e1d015a
								
							
						
					
					
						commit
						180e127fff
					
				| 
						 | 
					@ -180,13 +180,22 @@ d3.json("/api/v2/crawlrun/" + elem + "/?with_graph").then((data) => {
 | 
				
			||||||
        .attr("rx", d => d.stub ? 34 : (40 + (d.neighbors > 5 ? 5 : 0)))
 | 
					        .attr("rx", d => d.stub ? 34 : (40 + (d.neighbors > 5 ? 5 : 0)))
 | 
				
			||||||
        .attr("ry", d => d.stub ? 12 : (20 + (d.neighbors > 5 ? 2 : 0)))
 | 
					        .attr("ry", d => d.stub ? 12 : (20 + (d.neighbors > 5 ? 2 : 0)))
 | 
				
			||||||
        .attr("fill", function(d) {
 | 
					        .attr("fill", function(d) {
 | 
				
			||||||
 | 
					            //if(d.directly_crawled)
 | 
				
			||||||
 | 
					            //    return "#94FF70";
 | 
				
			||||||
 | 
					            //else if(!d.online)
 | 
				
			||||||
 | 
					            //    return "#FFCCCC";
 | 
				
			||||||
 | 
					            //else if(d.stub)
 | 
				
			||||||
 | 
					            //    return "#3291A8"
 | 
				
			||||||
 | 
					            //else
 | 
				
			||||||
 | 
					            //    return "#D1FFC2";
 | 
				
			||||||
            if(d.directly_crawled)
 | 
					            if(d.directly_crawled)
 | 
				
			||||||
 | 
									//return "#55bc32";
 | 
				
			||||||
                return "#94FF70";
 | 
					                return "#94FF70";
 | 
				
			||||||
            else if(!d.online)
 | 
					            else if(!d.online)
 | 
				
			||||||
                return "#FFCCCC";
 | 
					                return "#FFCCCC";
 | 
				
			||||||
                // return "#F0FFEB";
 | 
					 | 
				
			||||||
            else if(d.stub)
 | 
					            else if(d.stub)
 | 
				
			||||||
                return "#3291A8"
 | 
					                //return "#94FF70";
 | 
				
			||||||
 | 
					                return "#E1FFE2";
 | 
				
			||||||
            else
 | 
					            else
 | 
				
			||||||
                return "#D1FFC2";
 | 
					                return "#D1FFC2";
 | 
				
			||||||
        })
 | 
					        })
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue