summaryrefslogtreecommitdiff
path: root/pages
diff options
context:
space:
mode:
authorThomas F. K. Jorna <[email protected]>2021-07-28 15:03:38 +0200
committerThomas F. K. Jorna <[email protected]>2021-07-28 15:03:38 +0200
commit8b9d53389fe346259f4288f341abc2df5d5679aa (patch)
tree933c5b4980f23bbbeb854de71492347a67dd17bc /pages
parent49aee30dccde55e331b06232703dcd386efd72f3 (diff)
added more node/link opacity and resolution options
Diffstat (limited to 'pages')
-rw-r--r--pages/index.tsx3
1 files changed, 3 insertions, 0 deletions
diff --git a/pages/index.tsx b/pages/index.tsx
index d197ae5..00e87d8 100644
--- a/pages/index.tsx
+++ b/pages/index.tsx
@@ -598,6 +598,9 @@ export const Graph = function (props: GraphProps) {
{...graphCommonProps}
nodeThreeObjectExtend={true}
backgroundColor={theme.colors.white}
+ nodeOpacity={physics.nodeOpacity}
+ nodeResolution={physics.nodeResolution}
+ linkOpacity={physics.linkOpacity}
/>
) : (
<ForceGraph2D ref={graph2dRef} {...graphCommonProps} />