From 25ba1159ad5cabfe79c80a40ead158c389a68bef Mon Sep 17 00:00:00 2001 From: Youssif Shaaban Alsager <ysh-alsager@hotmail.com> Date: Wed, 24 Aug 2022 03:32:40 +0000 Subject: [PATCH] feat: Add internationalization (i18n) support (#182) --- 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