Improve graph display, options and ability to have a global graph on the home page, local graphs on subpage.
This commit is contained in:
		@@ -1,6 +1,35 @@
 | 
			
		||||
# if true, a Global Graph will be shown on home page with full width, no backlink.
 | 
			
		||||
# A different set of Local Graphs will be shown on sub pages.
 | 
			
		||||
# if false, Local Graph will be default on every page as usual
 | 
			
		||||
enableGlobalGraph: true
 | 
			
		||||
 | 
			
		||||
### Local Graph ###
 | 
			
		||||
 | 
			
		||||
enableLegend: false
 | 
			
		||||
enableDrag: true
 | 
			
		||||
enableZoom: true
 | 
			
		||||
depth: -1 # set to -1 to show full graph
 | 
			
		||||
depth: 1 # set to -1 to show full graph
 | 
			
		||||
scale: 1
 | 
			
		||||
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.2
 | 
			
		||||
repelForceGG: 1
 | 
			
		||||
centerForceGG: 1
 | 
			
		||||
linkDistanceGG: 1
 | 
			
		||||
fontSizeGG: 0.5
 | 
			
		||||
opacityScaleGG: 3
 | 
			
		||||
 | 
			
		||||
### Graphs ###
 | 
			
		||||
 | 
			
		||||
paths:
 | 
			
		||||
  - /moc: "#4388cc"
 | 
			
		||||
  - /moc: "#4388cc"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user