diff options
Diffstat (limited to 'pages')
-rw-r--r-- | pages/index.tsx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pages/index.tsx b/pages/index.tsx index ae3c048..3ecda92 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -708,6 +708,9 @@ export const Graph = forwardRef(function (props: GraphProps, graphRef: any) { if (!physics.labels) { return } + if (physics.labels === 2) { + return + } if (physics.labels === 1 && !highlightedNodes[node.id!]) { return } |