Update to Profectus 0.7 #1

Merged
thepaperpilot merged 110 commits from feat/board-feature-rewrite into main 2024-12-31 13:27:34 +00:00
Showing only changes of commit b1cbbc4f00 - Show all commits

View file

@ -337,7 +337,7 @@ const board = createLayer("board", () => {
</>
);
const links = computed(() => (
const links = () => (
<>
{nodes.value
.reduce(
@ -374,7 +374,7 @@ const board = createLayer("board", () => {
/>
))}
</>
));
);
const nextId = setupUniqueIds(() => nodes.value);
@ -403,7 +403,7 @@ const board = createLayer("board", () => {
>
<SVGNode>
{dNodes}
{links.value}
{links()}
</SVGNode>
{nodes.value.map(renderNode)}
{render(cNode)}