From 5fd707714faaaac5c3d39ec056ff88446fcb3cc2 Mon Sep 17 00:00:00 2001
From: Jon Erling Hustadnes <jonerling.hustadnes@gmail.com>
Date: Sun, 27 Nov 2022 18:55:43 +0000
Subject: [PATCH] feat: Added Norwegian localization (#242)

---
 data/graphConfig.yaml |   46 ++++++++++++++++++++++++++++++++++++----------
 1 files changed, 36 insertions(+), 10 deletions(-)

diff --git a/data/graphConfig.yaml b/data/graphConfig.yaml
index 67f481b..a6f916a 100644
--- a/data/graphConfig.yaml
+++ b/data/graphConfig.yaml
@@ -1,11 +1,37 @@
-enableLegend: false
-enableDrag: true
-enableZoom: true
-base:
-  node: "#284b63"
-  activeNode: "#f28482"
-  inactiveNode: "#a8b3bd"
-  link: "#babdbf"
-  activeLink: "#5a7282"
+# 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: false
+
+### Local Graph ###
+
+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 ###
+
+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
+
+### For all graphs ###
+
 paths:
-  - /moc: "#4388cc"
\ No newline at end of file
+  - /moc: "#4388cc"

--
Gitblit v1.10.0