# TilingSplitNode
Source: https://docs.maelstrom-ai.co/dev/reference/client/interfaces/tilingsplitnode/
Documentation revision: 89a8f5e9d10cedcf0b30376d7846113f06f26120
SDK manifests in this build: @maelstrom-co/react@0.2.1, @maelstrom-co/client@0.2.1, @maelstrom-co/connectors@0.2.1, @maelstrom-co/protocol@0.2.1, @maelstrom-co/engine@0.2.1
These docs follow this source revision. Manifest versions do not prove release compatibility; verify the installed package exports before using an API.

Defined in: [packages/client/src/lib/chart-manager/tiling.ts:36](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/client/src/lib/chart-manager/tiling.ts#L36)

Split node dividing the current rectangle along its axis, each child taking a share proportional to its weight.

[createTilingSplitNode](https://docs.maelstrom-ai.co/dev/reference/client/functions/createtilingsplitnode/) and [parseTilingTree](https://docs.maelstrom-ai.co/dev/reference/client/functions/parsetilingtree/) are the only ways to reach this type without an assertion, so a split that reaches layout has had its weights checked.

## Properties

### children

> `readonly` **children**: readonly \[[`TilingSplitChild`](https://docs.maelstrom-ai.co/dev/reference/client/interfaces/tilingsplitchild/), [`TilingSplitChild`](https://docs.maelstrom-ai.co/dev/reference/client/interfaces/tilingsplitchild/), [`TilingSplitChild`](https://docs.maelstrom-ai.co/dev/reference/client/interfaces/tilingsplitchild/)\]

Defined in: [packages/client/src/lib/chart-manager/tiling.ts:53](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/client/src/lib/chart-manager/tiling.ts#L53)

One entry per child slot the token declared, so `children.length` is the split’s arity. A bare `H` / `V` token yields two slots weighted `1` each, and a split of fewer than two slots is unconstructable.

* * *

### direction

> `readonly` **direction**: [`TilingSplit`](https://docs.maelstrom-ai.co/dev/reference/client/type-aliases/tilingsplit/)

Defined in: [packages/client/src/lib/chart-manager/tiling.ts:47](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/client/src/lib/chart-manager/tiling.ts#L47)

`H` divides top/bottom; `V` divides left/right.

* * *

### type

> `readonly` **type**: `"split"`

Defined in: [packages/client/src/lib/chart-manager/tiling.ts:45](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/client/src/lib/chart-manager/tiling.ts#L45)

Selects recursive weighted traversal of the child slots.
