feat: initial design of parameter ui
This commit is contained in:
@ -1,8 +1,14 @@
|
||||
<script lang="ts">
|
||||
import App from "$lib/components/App.svelte";
|
||||
import { invoke } from "@tauri-apps/api/core";
|
||||
import { onMount } from "svelte";
|
||||
|
||||
import { Canvas } from "@threlte/core";
|
||||
import Scene from "$lib/components/Scene.svelte";
|
||||
import { GraphManager } from "$lib/graph-manager";
|
||||
|
||||
const graph = GraphManager.createEmptyGraph();
|
||||
graph.load();
|
||||
|
||||
onMount(async () => {
|
||||
try {
|
||||
const res = await invoke("greet", { name: "Dude" });
|
||||
@ -21,7 +27,9 @@
|
||||
</script>
|
||||
|
||||
<div>
|
||||
<App />
|
||||
<Canvas shadows={false}>
|
||||
<Scene {graph} />
|
||||
</Canvas>
|
||||
</div>
|
||||
|
||||
<style>
|
||||
|
Reference in New Issue
Block a user