Merge pull request 'feat: project manager' (#21) from feat/project-manager into main
Some checks failed
Deploy to GitHub Pages / build_site (push) Has been cancelled

Reviewed-on: #21
This commit was merged in pull request #21.
This commit is contained in:
2026-01-21 16:35:03 +01:00
15 changed files with 293 additions and 62 deletions

View File

@@ -1,7 +1,7 @@
<script lang="ts">
import type { Graph } from "$lib/types";
const { graph }: { graph: Graph } = $props();
const { graph }: { graph?: Graph } = $props();
function convert(g: Graph): string {
return JSON.stringify(
@@ -16,5 +16,5 @@
</script>
<pre>
{convert(graph)}
{graph ? convert(graph) : 'No graph loaded'}
</pre>