|
|
@ -79,30 +79,16 @@
|
|
|
|
if (isHome && {{$.Site.Data.graphConfig.enableGlobalGraph}}) {
|
|
|
|
if (isHome && {{$.Site.Data.graphConfig.enableGlobalGraph}}) {
|
|
|
|
drawGraph(
|
|
|
|
drawGraph(
|
|
|
|
{{strings.TrimRight "/" .Site.BaseURL}},
|
|
|
|
{{strings.TrimRight "/" .Site.BaseURL}},
|
|
|
|
{{$.Site.Data.graphConfig.paths}},
|
|
|
|
|
|
|
|
{{$.Site.Data.graphConfig.depthGG}},
|
|
|
|
|
|
|
|
{{$.Site.Data.graphConfig.enableDragGG}},
|
|
|
|
|
|
|
|
{{$.Site.Data.graphConfig.enableLegendGG}},
|
|
|
|
|
|
|
|
{{$.Site.Data.graphConfig.enableZoomGG}},
|
|
|
|
|
|
|
|
true,
|
|
|
|
true,
|
|
|
|
{{$.Site.Data.graphConfig.opacityScaleGG}},
|
|
|
|
{{$.Site.Data.graphConfig.paths}},
|
|
|
|
{{$.Site.Data.graphConfig.scaleGG}},
|
|
|
|
{{$.Site.Data.graphConfig.globalGraph}}
|
|
|
|
{{$.Site.Data.graphConfig.repelForceGG}},
|
|
|
|
|
|
|
|
{{$.Site.Data.graphConfig.fontSizeGG}}
|
|
|
|
|
|
|
|
);
|
|
|
|
);
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
drawGraph(
|
|
|
|
drawGraph(
|
|
|
|
{{strings.TrimRight "/" .Site.BaseURL}},
|
|
|
|
{{strings.TrimRight "/" .Site.BaseURL}},
|
|
|
|
{{$.Site.Data.graphConfig.paths}},
|
|
|
|
|
|
|
|
{{$.Site.Data.graphConfig.depth}},
|
|
|
|
|
|
|
|
{{$.Site.Data.graphConfig.enableDrag}},
|
|
|
|
|
|
|
|
{{$.Site.Data.graphConfig.enableLegend}},
|
|
|
|
|
|
|
|
{{$.Site.Data.graphConfig.enableZoom}},
|
|
|
|
|
|
|
|
false,
|
|
|
|
false,
|
|
|
|
{{$.Site.Data.graphConfig.opacityScale}},
|
|
|
|
{{$.Site.Data.graphConfig.paths}},
|
|
|
|
{{$.Site.Data.graphConfig.scale}},
|
|
|
|
{{$.Site.Data.graphConfig.localGraph}}
|
|
|
|
{{$.Site.Data.graphConfig.repelForce}},
|
|
|
|
|
|
|
|
{{$.Site.Data.graphConfig.fontSize}}
|
|
|
|
|
|
|
|
);
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|