feat: initial working version of project manager

This commit is contained in:
2026-01-21 15:02:34 +01:00
parent 4c76c62a3e
commit bdbaab25a4
10 changed files with 267 additions and 34 deletions

View File

@@ -43,7 +43,4 @@
align-items: center;
padding-left: 1em;
}
h3 {
margin: 0px;
}
</style>

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>