react-org-chart icon indicating copy to clipboard operation
react-org-chart copied to clipboard

Customize node template

Open yunstanford opened this issue 5 years ago • 3 comments

Ideally, this lib can be used in a lot use cases with tree hierarchy structure data , if we can customize the node template. Currently, seems like it strongly ties to “org chart” context. It’d be great if the lib is more extensible.

yunstanford avatar Feb 24 '20 12:02 yunstanford

you can pass your custom node template with NodeTemplate prop

rahul-wos avatar Nov 30 '22 11:11 rahul-wos

Hello everyone @rahul-wos, can you show an example of using NodeTemplate please ? Thank you.

Sam-kroutchi avatar May 15 '23 06:05 Sam-kroutchi

Sorry. I confused this library with react-orgchart. You can try react-orgchart if you want to customize the node template

rahul-wos avatar Aug 09 '23 04:08 rahul-wos