From 6b9ba217923d3e729eb11f600fe6a6e7d0f6d39d Mon Sep 17 00:00:00 2001 From: dabeng Date: Wed, 21 Jun 2023 07:39:13 +0800 Subject: [PATCH] update readme doc --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index fdf7dd13..01f5224f 100644 --- a/README.md +++ b/README.md @@ -159,6 +159,12 @@ You need the solution based on new datasource structure with **levelOffset data - [I want to replace built-in icons with Font Awesome icons](https://dabeng.github.io/OrgChart/custom-icons.html) +- [ I want to alternate layout if children is too many](https://dabeng.github.io/OrgChart/data-prop-compact.html) + +![data-prop-compact](http://dabeng.github.io/OrgChart/img/data-prop-compact.png) + +**compact data property** is designed for your use case. Once node data includes a "compact" prop with truthy value, itself and its descendant nodes will be arranged with compact mode. + ### how to start up demos locally - you have to install node.js v6+ because our unit tests are based on jsdom v11