import{_ as e,c as t,o as r,N as a}from"./chunks/framework.0799945b.js";const b=JSON.parse('{"title":"Interface: TreeOptions","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/interfaces/features/trees/tree.TreeOptions.md","lastUpdated":null}'),o={name:"api/interfaces/features/trees/tree.TreeOptions.md"},s=a('
features/trees/tree.TreeOptions
An object that configures a Tree.
• Optional
branches: Computable
<TreeBranch
[]>
The branches between nodes within this tree.
profectus/src/features/trees/tree.ts:192
• Optional
leftSideNodes: Computable
<GenericTreeNode
[]>
Nodes to show on the left side of the tree.
profectus/src/features/trees/tree.ts:188
• nodes: Computable
<GenericTreeNode
[][]>
The nodes within the tree, in a 2D array.
profectus/src/features/trees/tree.ts:186
• Optional
onReset: (node
: GenericTreeNode
) => void
▸ (node
): void
A function that is called when a node within the tree is reset.
Name | Type |
---|---|
node | GenericTreeNode |
void
profectus/src/features/trees/tree.ts:196
• Optional
resetPropagation: ResetPropagation
How to propagate resets through the tree.
profectus/src/features/trees/tree.ts:194
• Optional
rightSideNodes: Computable
<GenericTreeNode
[]>
Nodes to show on the right side of the tree.
profectus/src/features/trees/tree.ts:190
• Optional
visibility: Computable
<boolean
| Visibility
>
Whether this clickable should be visible.