From ccbe62c0d98228e73360b4f9ce6a10d2e7c99214 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Lov=C3=A9n?= Date: Fri, 26 Mar 2021 21:05:13 +0000 Subject: [PATCH] Script-to-graph functions added for new method --- .vscode/tasks.json | 31 +++++ index.html | 32 +----- package.json | 2 +- rollup.config.js | 16 ++- src/hat-graph/hat-graph-node.ts | 118 +++++++++++++++++++ src/hat-graph/hat-graph.ts | 162 +++++++++++++++++++++++++++ src/hat-graph/make-graph.ts | 193 ++++++++++++++++++++++++++++++++ src/main.js | 75 +++++++++++-- tsconfig.json | 19 +--- 9 files changed, 585 insertions(+), 63 deletions(-) create mode 100644 .vscode/tasks.json create mode 100644 src/hat-graph/hat-graph-node.ts create mode 100644 src/hat-graph/hat-graph.ts create mode 100644 src/hat-graph/make-graph.ts diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..5f30d07 --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,31 @@ +{ + "version": "2.0.0", + "tasks": [ + { + "label": "npm: build", + "type": "npm", + "script": "build", + "problemMatcher": [] + }, + { + "label": "npm: watch", + "type": "npm", + "script": "watch", + "problemMatcher": [], + "presentation": { + "panel": "shared", + "group": "test" + } + }, + { + "label": "npm: serve", + "type": "npm", + "script": "serve", + "problemMatcher": [], + "presentation": { + "panel": "shared", + "group": "test" + } + } + ] +} diff --git a/index.html b/index.html index 5ff9191..de2c606 100644 --- a/index.html +++ b/index.html @@ -3,7 +3,7 @@ Script graph demo - +