在V5.0.50版本中,多父节点,如何控制节点显示在哪个父节点的下面 #7528
Unanswered
yimogithub
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
在V5.0.50版本中,使用标准数据格式,多父节点(多个source指向同一个target),如何控制节点显示在哪个父节点的下面。
目前是显示在最图像的最右边那个节点,调整过edges 的顺序和节点的rank大小都改变不了。
edges = [......
{ source: 'A', target: 'C' },
{ source: 'B', target: 'C' }
.......
]
layout: {
type: 'compact-box',
direction: 'TB',
},
Beta Was this translation helpful? Give feedback.
All reactions