Xuebin Dong
Xuebin Dong
Hi @Layla-P . Default active menu item is used for display selected status. I think it's a part of design intention.
Do you mean exporting current structure to a json file?
Hi @kuzamuka . I have to say sorry. For various reasons, I only spared two days to update vue-orgchart during my Chinese New Year holiday. For now, there is the...
@godletfhand0 节点的单击事件是有效的,可以绑定的。可以参考codepen上的汇报路径demo -- https://codepen.io/dabeng/pen/eYBRPYN
Hi @flowerxuegao ,你可以基于这个例子https://dabeng.github.io/OrgChart/edit-hybrid-chart.html 改造一下,看看还有什么问题
sorry @Fairjustice . I can't get your points. Could you give more details ?
Hi @Fairjustice Does the following draft make sense ?  We can all it compact chart.
sorry @longunibbo , I don't think so. Maybe I need to release a reacti version of orgchart.
Hi @janice-xu 你说的是这个片段吧`'otherPro': anyValue // feel free to append any useful properties` 其实意思就是说你可以在数据源中追加任意的字段,只要你觉得对渲染组织结构图中的节点或任何其他业务逻辑有帮助。这些“otherPro”可以在你构造节点时读取到,或者创建完节点的callback时读取到,总之就是你想在和节点交互时,需要一些辅助信息,就可以放在数据源里备用。
可以看下这个例子(https://codepen.io/dabeng/pen/oNYwVQK) 中的代码片段: ```js { 'name': 'Hei Hei', 'title': 'senior engineer', 'specialProp': 123, 'children': [ ``` ```js 'createNode': function($node, data) { $node.on('click', function() { alert(data.name + ' - ' + data.title...