diff --git a/README.md b/README.md index ef08806c..a00586a0 100644 --- a/README.md +++ b/README.md @@ -157,6 +157,8 @@ You need the solution based on new datasource structure with **levelOffset data **isVertical data property** is designed for your use case. Once a node has a "isVertical" prop with truthy value, its descendant nodes will be arranged vertically. +- [I want to replace built-in icons with Font Awesome icons](https://dabeng.github.io/OrgChart/drag-drop-hybrid-chart.html) + ### how to start up demos locally - you have to install node.js v6+ because our unit tests are based on jsdom v11 @@ -384,6 +386,28 @@ var oc = $('#chartContainerId').orgchart(options);
+
+ 'icons': {
+ 'theme': 'fa-solid fa-sm',
+ 'parentNode': 'fa-user-tie',
+ 'expandToUp': 'fa-angles-up',
+ 'collapseToDown': 'fa-angles-down',
+ 'collapseToLeft': 'fa-angles-left',
+ 'expandToRight': 'fa-angles-right',
+ 'collapsed': 'fa-circle-plus',
+ 'expanded': 'fa-circle-minus'
+ }
+
+
+