コンテンツへスキップ

pivotick v3.0.0


ピボット / LayoutOptions / EgoTreeLayoutOptions

インターフェース: EgoTreeLayoutOptions ​

定義: interfaces/LayoutOptions.ts:107

伸びる ​

プロパティ ​

horizontal? ​

optional horizontal: boolean

定義: interfaces/LayoutOptions.ts:72

ノードは垂直ではなく水平に配置する必要がありますか

デフォルト ​

ts
false

継承元 ​

TreeLayoutOptions.horizontal


levelSpacing? ​

optional levelSpacing: number

定義: interfaces/LayoutOptions.ts:98

連続したレベル間の距離、つまりツリーの深さ軸を乗算します。または radial モードのリング間のギャップ。 1 では、ツリーがキャンバスいっぱいに拡大縮小されます。

デフォルト ​

ts
1

継承元 ​

TreeLayoutOptions.levelSpacing


radial? ​

optional radial: boolean

定義: interfaces/LayoutOptions.ts:67

ノードを垂直ではなく放射状に配置する必要があるか

デフォルト ​

ts
false

継承元 ​

TreeLayoutOptions.radial


radialGap ​

radialGap: number

定義: interfaces/LayoutOptions.ts:82

放射状モードで使用される各レイヤー間のギャップ

デフォルト ​

ts
750

継承元 ​

TreeLayoutOptions.radialGap


rootId ​

rootId: string

定義: interfaces/LayoutOptions.ts:110


rootIdAlgorithmFinder ​

rootIdAlgorithmFinder: TreeLayoutAlgorithm

定義: interfaces/LayoutOptions.ts:77

ツリーのルートを見つけるために使用するアルゴリズム

デフォルト ​

ts
'MaxReachability'

継承元 ​

TreeLayoutOptions.rootIdAlgorithmFinder


siblingSpacing? ​

optional siblingSpacing: number

定義: interfaces/LayoutOptions.ts:104

レベル内内のノード間の距離、つまり幅軸を乗算します。 radial モードでは無視され、レベルは常に円全体に広がります。

デフォルト ​

ts
1

継承元 ​

TreeLayoutOptions.siblingSpacing


spacing? ​

optional spacing: "manual" | "auto"

定義: interfaces/LayoutOptions.ts:92

2 つの間隔乗数がノードのサイズに応じて調整されるかどうか 木の形に合わせたり、置かれた場所に正確に留まったりします。

'auto' がデフォルトです。ただし、levelSpacing または siblingSpacing 明確に、決心をしたものとみなされます。旋回 その後手動で乗算を行っても、永久に自動のままになります。

デフォルト ​

ts
'auto'

継承元 ​

TreeLayoutOptions.spacing


strength? ​

optional strength: number

定義: interfaces/LayoutOptions.ts:62

ツリーを形成するために配置されたノードを所定の位置に維持する力の強さ

デフォルト ​

ts
0.1

継承元 ​

TreeLayoutOptions.strength


type ​

type: "egoTree"

定義: interfaces/LayoutOptions.ts:109