From b3480bdc49120010da8d2805df02cbf84ca08bdc Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Fri, 07 Jul 2023 02:18:18 +0000
Subject: [PATCH] fix styling for bullet points
---
quartz/components/Graph.tsx | 20 ++++++++++----------
1 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/quartz/components/Graph.tsx b/quartz/components/Graph.tsx
index 0146188..6d492f2 100644
--- a/quartz/components/Graph.tsx
+++ b/quartz/components/Graph.tsx
@@ -25,23 +25,23 @@
drag: true,
zoom: true,
depth: 1,
- scale: 1.2,
- repelForce: 2,
- centerForce: 1,
+ scale: 1.1,
+ repelForce: 0.5,
+ centerForce: 0.3,
linkDistance: 30,
fontSize: 0.6,
- opacityScale: 3
+ opacityScale: 1
},
globalGraph: {
drag: true,
zoom: true,
depth: -1,
- scale: 1.2,
- repelForce: 1,
- centerForce: 1,
+ scale: 0.9,
+ repelForce: 0.5,
+ centerForce: 0.3,
linkDistance: 30,
- fontSize: 0.5,
- opacityScale: 3
+ fontSize: 0.6,
+ opacityScale: 1
}
}
@@ -50,7 +50,7 @@
const localGraph = { ...opts?.localGraph, ...defaultOptions.localGraph }
const globalGraph = { ...opts?.globalGraph, ...defaultOptions.globalGraph }
return <div class="graph">
- <h3>Interactive Graph</h3>
+ <h3>Site Graph</h3>
<div class="graph-outer">
<div id="graph-container" data-cfg={JSON.stringify(localGraph)}></div>
<svg version="1.1" id="global-graph-icon" xmlns="http://www.w3.org/2000/svg" xmlnsXlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
--
Gitblit v1.10.0