From 8f578d69a0fbf85f51ca45d6dad29ac2c4c38aa7 Mon Sep 17 00:00:00 2001 From: Orion Reed Date: Mon, 16 Dec 2024 00:44:24 -0500 Subject: [PATCH] notes --- src/folk-graph.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/folk-graph.ts b/src/folk-graph.ts index 938faee..91cb77a 100644 --- a/src/folk-graph.ts +++ b/src/folk-graph.ts @@ -29,10 +29,12 @@ export class FolkGraph extends FolkBaseSet implements AnimationFrameControllerHo override update(changedProperties: PropertyValues) { super.update(changedProperties); + // TODO: we're recreating the graph every frame, need to.. not do that... this.createGraph(); } tick() { + // TODO: figure out how to let cola continue running. I was never able to do that in the past... this.graphSim.start(1, 0, 0, 0, true, false); this.graphSim.nodes().forEach((node: any) => {