From 9b9d28e267f88d1fe491fb781fa6893d21cde540 Mon Sep 17 00:00:00 2001
From: "Thomas F. K. Jorna" <thomasfkjorna@gmail.com>
Date: Sun, 25 Jul 2021 14:04:59 +0200
Subject: make toggle work with filenods

---
 pages/index.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'pages/index.tsx')

diff --git a/pages/index.tsx b/pages/index.tsx
index 3e8e3dd..8c97a79 100644
--- a/pages/index.tsx
+++ b/pages/index.tsx
@@ -82,7 +82,7 @@ export function GraphPage() {
           return headingNodes.map((headingNode) => ({
             source: headingNode.id,
             target: fileNode.id,
-            type: 'id',
+            type: 'parent',
           }))
         })
 
-- 
cgit v1.2.3

