---
url: https://lit-ui-router.dev/reference/ui-router-devtools/index/interfaces/ViewNode.md
---
[ui-router-devtools](../../index.md) / [ui-router-devtools](../index.md) / ViewNode

# Interface: ViewNode

Defined in: [ui-router-devtools/src/views.ts:4](https://github.com/simshanith/lit-ui-router/blob/31f3b09934f0d5fb680137a7c51356c2acec408d/packages/ui-router-devtools/src/views.ts#L4)

A `ui-view` in the nesting `fqn` describes, with the views registered inside it.

## Properties

| Property | Type | Description | Defined in |
| ------ | ------ | ------ | ------ |
|  `children` | `ViewNode`\[] | The views registered inside this one. | [ui-router-devtools/src/views.ts:12](https://github.com/simshanith/lit-ui-router/blob/31f3b09934f0d5fb680137a7c51356c2acec408d/packages/ui-router-devtools/src/views.ts#L12) |
|  `depth` | `number` | From 1 at the top. | [ui-router-devtools/src/views.ts:10](https://github.com/simshanith/lit-ui-router/blob/31f3b09934f0d5fb680137a7c51356c2acec408d/packages/ui-router-devtools/src/views.ts#L10) |
|  `parent` | `number` | `null` | The enclosing view's id; null for a view at the top. | [ui-router-devtools/src/views.ts:8](https://github.com/simshanith/lit-ui-router/blob/31f3b09934f0d5fb680137a7c51356c2acec408d/packages/ui-router-devtools/src/views.ts#L8) |
|  `view` | [`ViewInfo`](ViewInfo.md) | The view as the snapshot records it. | [ui-router-devtools/src/views.ts:6](https://github.com/simshanith/lit-ui-router/blob/31f3b09934f0d5fb680137a7c51356c2acec408d/packages/ui-router-devtools/src/views.ts#L6) |
