graph: attempt to use forceAtlas2 algo for layout

This commit is contained in:
Vašek Šraier 2020-09-26 18:46:21 +02:00
parent 7aba50fef3
commit 322204603c

View file

@ -1,5 +1,6 @@
<script>
import { sigma } from "sigma";
import "sigma/build/plugins/sigma.layout.forceAtlas2.min.js";
import { onMount } from "svelte";
/**
@ -45,6 +46,7 @@
graph: g,
container: "c",
});
s.startForceAtlas2();
});
</script>