Custom Tree Items

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 : Add labels for edges.
  • Examples 2 : Customize the node with expand and collapse button.
  • Examples 3 : Complex custom nodes and edges with custom behaviors.

Examples

树图边上的标签自定义复杂树图样式大数据树图及复杂样式