Xuebin Dong

Results 78 comments of Xuebin Dong

Hi @Rezoppei You can change the styles of a specific node based on its id attribute. Please refer to **Custom Node Chart Demo** - https://stackblitz.com/edit/ng-orgchart-demo . I change the root...

Hi @bigopon, if you wanna enable the feature -- toggle the sibling nodes(left or right) respectively, you just need to set this option to **true**

As for the second question, you just need a little css trick to hide top arrow of every child node

When users click the top arrow of every child node, the patent node will be collapsed/expanded, so you just need to control the visibility of top arrow, then you can...

Hi @rickyhan , you know that there are many popular frameworks in current frontend field , like Angular.js, React, Vue.js, Ember.js. I believe that more similar suffs will emerge in...

Hi @NIZVA , you can make use of option "createNode" to customize the internal structure of node or do some event bindings stuff. Please refer to this [demo](https://dabeng.github.io/OrgChart.js/option-createNode/)

Hi @xgocn I have created a Demo for you -- https://codepen.io/dabeng-the-styleful/pen/KwKPzYO. I think this demo can illustrate enough detailed teach points of Family Tree.

In fact, you can always append custom properties(like the "gender", "adopted", "ex" mentioned above) in your own datasource, then feel free to build up the family tree based on these...