Add customized node in OrgChart using orgchart.js [closed]

笑着哭i 提交于 2019-12-08 05:30:33

问题


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


回答1:


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).

  1. I wanna customize the structure of node
  2. 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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!