-
Notifications
You must be signed in to change notification settings - Fork 478
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
节点如果是A->B,C->B,并且设置 expandHolderPosition 和 expanded,似乎树的渲染有问题 #259
Comments
确实是这样,我原意这样设置是想表示:如果该结点有子结点,就要expandHolderPosition:'right',没有则expandHolderPosition:false/hide,并且,该结点有子结点 expaned 设置为 true,没有子结点设置为 false。但是发现 |
图谱中的数据会被处理成每个节点必然只有一个父节点。
上面数据最终构建出的父子关系为:
建议你不要手动给节点单独设置expandHolderPosition属性和expaned属性,而是设置全局的defaultExpandHolderPosition='right',这样做图谱会自动根据节点是否有子节点来管理【展开/收起】按钮是否显示。 |
你好,rt 希望能解答一下,谢谢。示例如下
The text was updated successfully, but these errors were encountered: