From 1bf7e3d8b3966590ebfa3418d6fb2ce6a520c846 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Tue, 19 Sep 2023 17:22:39 +0000
Subject: [PATCH] fix(nit): make defaultOptions on explorer not a function
---
quartz/components/Graph.tsx | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/quartz/components/Graph.tsx b/quartz/components/Graph.tsx
index e159aa5..1b8071b 100644
--- a/quartz/components/Graph.tsx
+++ b/quartz/components/Graph.tsx
@@ -13,6 +13,8 @@
linkDistance: number
fontSize: number
opacityScale: number
+ removeTags: string[]
+ showTags: boolean
}
interface GraphOptions {
@@ -31,6 +33,8 @@
linkDistance: 30,
fontSize: 0.6,
opacityScale: 1,
+ showTags: true,
+ removeTags: [],
},
globalGraph: {
drag: true,
@@ -42,6 +46,8 @@
linkDistance: 30,
fontSize: 0.6,
opacityScale: 1,
+ showTags: true,
+ removeTags: [],
},
}
--
Gitblit v1.10.0