mirror of
https://github.com/ParkerTenBroeck/automata.git
synced 2026-06-06 21:24:06 -04:00
fixed a few issues with auto resizing
This commit is contained in:
parent
806545aba6
commit
3d656d45de
6 changed files with 263 additions and 121 deletions
|
|
@ -129,6 +129,8 @@ function createGraph(): vis.Network {
|
|||
{ nodes, edges },
|
||||
{
|
||||
layout: { improvedLayout: true },
|
||||
autoResize: true,
|
||||
width: "99%",
|
||||
physics: {
|
||||
enabled: true,
|
||||
solver: "barnesHut",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue