diff --git a/README.md b/README.md index 86317353..11ae11f7 100644 --- a/README.md +++ b/README.md @@ -133,6 +133,10 @@ It's not a big deal. You just turn to the method init(). No problem. With the help of ES6 Template literals, we can customize the any complex node structure rather than the common title and content sections. +- [I want to position node in specific level. How can i do that ?](https://dabeng.github.io/OrgChart/level-offset.html) + +You need the solution based on new datasource structure with levelOffset prop + callback createNode() + CSS custom properties(variables) + ### how to start up demos locally - you have to install node.js v6+ because our unit tests are based on jsdom v11 diff --git a/demo/index.html b/demo/index.html index 38086eff..0a56c34f 100755 --- a/demo/index.html +++ b/demo/index.html @@ -141,6 +141,7 @@
diff --git a/demo/level-offset.html b/demo/level-offset.html new file mode 100755 index 00000000..bfaac546 --- /dev/null +++ b/demo/level-offset.html @@ -0,0 +1,57 @@ + + +
+ +
+ + + + +
+