From 73308af061af5e17ac7d4a73fa027a2f303c70dd Mon Sep 17 00:00:00 2001
From: Kirill Rogovoy <kirill@rogovoy.me>
Date: Fri, 23 Jul 2021 11:02:26 +0300
Subject: Update graph data when Emacs node changes + minor improvements

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

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

diff --git a/app_expo/data/randomdata.tsx b/app_expo/data/randomdata.tsx
deleted file mode 100644
index 844f36f..0000000
--- a/app_expo/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

