I want to add a custom node in org chart by using orgchart.js getting fromhttps://github.com/dabeng/OrgChart. A node which is to be create given in the .png file.enter image description here
I think you have two choices currently. One is callback "createNode". The other one is option "nodeTemplate". I'm sure you could be inspired by the following exampls on the OrgChart repo homepage(https://github.com/dabeng/OrgChart).
- I wanna customize the structure of node
- I want to use complex template to customize the internal structure of every node
来源:https://stackoverflow.com/questions/42806835/add-customized-node-in-orgchart-using-orgchart-js