aboutsummaryrefslogtreecommitdiff
path: root/src/App.vue
diff options
context:
space:
mode:
authorTerry Truong <terry06890@gmail.com>2022-03-27 20:39:40 +1100
committerTerry Truong <terry06890@gmail.com>2022-03-27 20:40:53 +1100
commitc16a0deca99dfa68e036c72bd4dc23441177db40 (patch)
treeb20a9aa5669afede30f0407aadc59309f063d40a /src/App.vue
parentbdc3bf69fae2e61aed8b3e41f46d2b0675a88231 (diff)
Add rect-layout leaves-to-start setting
Diffstat (limited to 'src/App.vue')
-rw-r--r--src/App.vue1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/App.vue b/src/App.vue
index 51e2f79..d93e327 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -45,6 +45,7 @@ const defaultLayoutOptions: LayoutOptions = {
maxTileSz: 200, //px
layoutType: 'sweep', //'sqr' | 'rect' | 'sweep'
rectMode: 'auto first-row', //'horz' | 'vert' | 'linear' | 'auto' | 'auto first-row'
+ rectSepLeaves: true,
sweepMode: 'left', //'left' | 'top' | 'shorter' | 'auto'
sweptNodesPrio: 'pow-2/3', //'linear' | 'sqrt' | 'pow-2/3'
sweepingToParent: true,