chore: log some more stuff during registry
All checks were successful
Deploy to GitHub Pages / build_site (push) Successful in 2m31s

This commit is contained in:
Max Richter
2025-11-24 22:42:08 +01:00
parent 67a104ff84
commit 9c4554a1f0
2 changed files with 30 additions and 31 deletions

View File

@@ -197,12 +197,12 @@ export class GraphManager extends EventEmitter<{
this.status = "loading";
this.id = graph.id;
logger.info("loading graph", graph);
logger.info("loading graph", $state.snapshot(graph));
const nodeIds = Array.from(new Set([...graph.nodes.map((n) => n.type)]));
await this.registry.load(nodeIds);
logger.info("loaded node types", this.registry.status);
logger.info("loaded node types", this.registry.getAllNodes());
for (const node of this.graph.nodes) {
const nodeType = this.registry.getNode(node.type);