chart layout - added springy alg

This commit is contained in:
Jan Prochazka
2022-01-16 13:14:43 +01:00
parent cca0a6900e
commit 09f98c2442
3 changed files with 206 additions and 3 deletions

View File

@@ -481,7 +481,7 @@
graph.initialize();
const layout = GraphLayout.createCircle(graph).fixViewBox();
const layout = GraphLayout.createCircle(graph).springyAlg().fixViewBox();
callChange(current => {
return {