Skip to content

dagre 自定义react组件用于node 宽高不一样的时候 布局会错乱未对齐 #1838

Answered by NewByVector
meikang123 asked this question in Q&A
Discussion options

You must be logged in to vote

因为布局计算出来的是节点的中心点坐标,布局流程参考这里

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by NewByVector
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants