diff options
| author | s-ol <s-ol@users.noreply.github.com> | 2021-01-26 11:23:16 +0000 |
|---|---|---|
| committer | s-ol <s-ol@users.noreply.github.com> | 2021-01-26 11:23:20 +0000 |
| commit | 76e19a04582cb3b72d398c1e895bed1029ca43c3 (patch) | |
| tree | 304339b42547575d9839f8bcae34e97ca60d6b61 /src/index.js | |
| parent | diegetic tombstone (diff) | |
| download | fedidag-76e19a04582cb3b72d398c1e895bed1029ca43c3.tar.gz fedidag-76e19a04582cb3b72d398c1e895bed1029ca43c3.zip | |
make things a little smaller
Diffstat (limited to 'src/index.js')
| -rw-r--r-- | src/index.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/index.js b/src/index.js index 104d145..7e9cdc6 100644 --- a/src/index.js +++ b/src/index.js @@ -57,7 +57,10 @@ loadData().then(data => { const canvas = document.createElement('canvas'); article.appendChild(canvas); - graph.setGraph({}); + graph.setGraph({ + rankSep: 20, + nodeSep: 40, + }); graph.setDefaultEdgeLabel(() => ({})); let rootId; |
