From 5f4611d65e40eae3ca6191a15f68d69ea5a1c4cb Mon Sep 17 00:00:00 2001
From: Kirill Rogovoy <kirill@rogovoy.me>
Date: Tue, 20 Jul 2021 21:24:52 +0300
Subject: WIP

---
 app/data/randomdata.tsx | 11 -----------
 1 file changed, 11 deletions(-)
 delete mode 100644 app/data/randomdata.tsx

(limited to 'app/data/randomdata.tsx')

diff --git a/app/data/randomdata.tsx b/app/data/randomdata.tsx
deleted file mode 100644
index 844f36f..0000000
--- a/app/data/randomdata.tsx
+++ /dev/null
@@ -1,11 +0,0 @@
-export default function genRandomTree(N = 300, reverse = false) {
-  return {
-    nodes: [...Array(N).keys()].map((i) => ({ id: i })),
-    links: [...Array(N).keys()]
-      .filter((id) => id)
-      .map((id) => ({
-        [reverse ? 'target' : 'source']: id,
-        [reverse ? 'source' : 'target']: Math.round(Math.random() * (id - 1)),
-      })),
-  }
-}
-- 
cgit v1.2.3

