---
title: Custom Tree Items
order: 5
---

Thanks to the item's custom mechanism of G6, users can design their own tree with freedom.

## Usage

Combining with custom items, the complex tree visualization can be realized.

- Examples 1 : Customize the node and the edge with tree graph, support add or remove node.
- Examples 2 : Add labels for edges.
- Examples 3 : Customize the node with expand and collapse button.
