David-Desmaisons / Vue.D3.tree

Vue component to display tree based on D3.js layout.
https://david-desmaisons.github.io/Vue.D3.tree/tree
MIT License
874 stars 136 forks source link

How to extend custom behavior #58

Closed JavaMrYang closed 4 years ago

JavaMrYang commented 4 years ago

Do you have any detail examples

David-Desmaisons commented 4 years ago

I am not sure of what you are expecting here. What kind of example would you like to see? Do you have a specific doubt?

JavaMrYang commented 4 years ago

I don't quite understand the example of that behavior. image

David-Desmaisons commented 4 years ago

1) Check https://alligator.io/vuejs/renderless-behavior-slots/

2) This behavior will toggle the state of the node between collapse and expanded when clicling on it.

JavaMrYang commented 4 years ago

ok,thank you