From df3f3cfbd130e3fec4edfe9f1e2bcb041e349101 Mon Sep 17 00:00:00 2001
From: Terry Truong <terry06890@gmail.com>
Date: Wed, 16 Mar 2022 13:24:16 +1100
Subject: Add swept-nodes-priority option

---
 src/components/TileTree.vue | 1 +
 1 file changed, 1 insertion(+)

(limited to 'src/components/TileTree.vue')

diff --git a/src/components/TileTree.vue b/src/components/TileTree.vue
index 36180c0..4969c2c 100644
--- a/src/components/TileTree.vue
+++ b/src/components/TileTree.vue
@@ -26,6 +26,7 @@ let defaultLayoutOptions: LayoutOptions = {
 	rectMode: 'auto', //'horz' | 'vert' | 'linear' | 'auto'
 	rectSpaceShifting: true,
 	sweepMode: 'left', //'left' | 'top' | 'shorter' | 'auto'
+	sweptNodesPrio: 'sqrt', //'linear' | 'sqrt' | 'sqrt-when-high'
 	sweepingToParent: true,
 };
 let defaultOtherOptions = {
-- 
cgit v1.2.3

