+
+
+
+
+
+ {#if $graph.domains.some(domain => domainMatchesQuery(domain_query, domain))}
+
+
+
+
+
+
+
+
+
+
+
+ {:else}
+
+
+
No domains found
+
+ {/if}
+
+
+ {#each $graph.domains as domain}
+ {#if domainMatchesQuery(domain_query, domain)}
+
+
+ {domain.index + 1}
+ { await domain.delete(); update() }} />
+
+
+
+
+ {/if}
+ {/each}
+
+
+
+
+
+
+
+
+
+ {#if $graph.domain_relations.some(relation => relationMatchesQuery(relation_query, relation))}
+
+
+
+
+
+
+
+
+
+
+
+ {:else}
+
+
+
No relations found
+
+ {/if}
+
+
+ {#each $graph.domain_relations as relation}
+ {#if relationMatchesQuery(relation_query, relation)}
+
+
+ {relation.index + 1}
+ { relation.delete(); update() }} />
+
+
+
+
+
+ {/if}
+ {/each}
+
+
+
+
+
+
+
diff --git a/src/lib/styles/GraphSVG.svelte b/src/lib/styles/GraphSVG.svelte
new file mode 100644
index 0000000..d781e1d
--- /dev/null
+++ b/src/lib/styles/GraphSVG.svelte
@@ -0,0 +1,156 @@
+
+
+
+
+
+
+
+