From bf7ca1c0e7c0d5ec1575131b6ce53542d5d1408b Mon Sep 17 00:00:00 2001 From: vasco Date: Fri, 9 Feb 2024 00:41:50 +0000 Subject: [PATCH] Update examples to import three from esm. --- example/custom-node-geometry/index.html | 6 +- example/dag-yarn/index.html | 103 ++++++++++++------------ example/gradient-links/index.html | 5 +- example/html-nodes/index.html | 2 - example/img-nodes/index.html | 6 +- example/scene/index.html | 5 +- example/text-links/index.html | 8 +- example/text-nodes/index.html | 8 +- 8 files changed, 72 insertions(+), 71 deletions(-) diff --git a/example/custom-node-geometry/index.html b/example/custom-node-geometry/index.html index 06971ccf..b74084a0 100644 --- a/example/custom-node-geometry/index.html +++ b/example/custom-node-geometry/index.html @@ -1,8 +1,6 @@ - - @@ -10,7 +8,9 @@
- - - -
+
- + + + graph(document.getElementById('graph')) + .graphData({ nodes, links }); + }); + diff --git a/example/gradient-links/index.html b/example/gradient-links/index.html index 2f27843d..def26344 100644 --- a/example/gradient-links/index.html +++ b/example/gradient-links/index.html @@ -1,7 +1,6 @@ - @@ -11,7 +10,9 @@
- - diff --git a/example/img-nodes/index.html b/example/img-nodes/index.html index bb3b03e5..58616d5a 100644 --- a/example/img-nodes/index.html +++ b/example/img-nodes/index.html @@ -1,8 +1,6 @@ - - @@ -10,7 +8,9 @@
- @@ -9,7 +8,9 @@
- - - @@ -11,7 +8,10 @@
- + - - @@ -11,7 +8,10 @@
- +