change to object destructuring for drawGraph() arguments
This commit is contained in:
		
							parent
							
								
									d261655d96
								
							
						
					
					
						commit
						c88f31c364
					
				
					 3 changed files with 32 additions and 45 deletions
				
			
		| 
						 | 
				
			
			@ -5,31 +5,33 @@ enableGlobalGraph: true
 | 
			
		|||
 | 
			
		||||
### Local Graph ###
 | 
			
		||||
 | 
			
		||||
enableLegend: false
 | 
			
		||||
enableDrag: true
 | 
			
		||||
enableZoom: true
 | 
			
		||||
depth: 1 # set to -1 to show full graph
 | 
			
		||||
scale: 1.2
 | 
			
		||||
repelForce: 2
 | 
			
		||||
centerForce: 1
 | 
			
		||||
linkDistance: 1
 | 
			
		||||
fontSize: 0.6
 | 
			
		||||
opacityScale: 3
 | 
			
		||||
localGraph:
 | 
			
		||||
    enableLegend: false
 | 
			
		||||
    enableDrag: true
 | 
			
		||||
    enableZoom: true
 | 
			
		||||
    depth: 1 # set to -1 to show full graph
 | 
			
		||||
    scale: 1.2
 | 
			
		||||
    repelForce: 2
 | 
			
		||||
    centerForce: 1
 | 
			
		||||
    linkDistance: 1
 | 
			
		||||
    fontSize: 0.6
 | 
			
		||||
    opacityScale: 3
 | 
			
		||||
 | 
			
		||||
### Global Graph ###
 | 
			
		||||
 | 
			
		||||
enableLegendGG: false
 | 
			
		||||
enableDragGG: true
 | 
			
		||||
enableZoomGG: true
 | 
			
		||||
depthGG: -1 # set to -1 to show full graph
 | 
			
		||||
scaleGG: 1.4
 | 
			
		||||
repelForceGG: 1
 | 
			
		||||
centerForceGG: 1
 | 
			
		||||
linkDistanceGG: 1
 | 
			
		||||
fontSizeGG: 0.5
 | 
			
		||||
opacityScaleGG: 3
 | 
			
		||||
globalGraph:
 | 
			
		||||
    enableLegend: false
 | 
			
		||||
    enableDrag: true
 | 
			
		||||
    enableZoom: true
 | 
			
		||||
    depth: -1 # set to -1 to show full graph
 | 
			
		||||
    scale: 1.4
 | 
			
		||||
    repelForce: 1
 | 
			
		||||
    centerForce: 1
 | 
			
		||||
    linkDistance: 1
 | 
			
		||||
    fontSize: 0.5
 | 
			
		||||
    opacityScale: 3
 | 
			
		||||
 | 
			
		||||
### Graphs ###
 | 
			
		||||
### For all graphs ###
 | 
			
		||||
 | 
			
		||||
paths:
 | 
			
		||||
  - /moc: "#4388cc"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue