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('

Interface: TreeOptions

features/trees/tree.TreeOptions

An object that configures a Tree.

Properties

branches

Optional branches: Computable<TreeBranch[]>

The branches between nodes within this tree.

Defined in

profectus/src/features/trees/tree.ts:192


leftSideNodes

Optional leftSideNodes: Computable<GenericTreeNode[]>

Nodes to show on the left side of the tree.

Defined in

profectus/src/features/trees/tree.ts:188


nodes

nodes: Computable<GenericTreeNode[][]>

The nodes within the tree, in a 2D array.

Defined in

profectus/src/features/trees/tree.ts:186


onReset

Optional onReset: (node: GenericTreeNode) => void

Type declaration

▸ (node): void

A function that is called when a node within the tree is reset.

Parameters
NameType
nodeGenericTreeNode
Returns

void

Defined in

profectus/src/features/trees/tree.ts:196


resetPropagation

Optional resetPropagation: ResetPropagation

How to propagate resets through the tree.

Defined in

profectus/src/features/trees/tree.ts:194


rightSideNodes

Optional rightSideNodes: Computable<GenericTreeNode[]>

Nodes to show on the right side of the tree.

Defined in

profectus/src/features/trees/tree.ts:190


visibility

Optional visibility: Computable<boolean | Visibility>

Whether this clickable should be visible.

Defined in

profectus/src/features/trees/tree.ts:184

',51),i=[s];function n(d,c,h,l,f,u){return r(),t("div",null,i)}const m=e(o,[["render",n]]);export{b as __pageData,m as default};