dagre 自定义react组件用于node 宽高不一样的时候 布局会错乱未对齐 #1838
Answered
by
NewByVector
meikang123
asked this question in
Q&A
-
// 布局方向 上面和下面无法居中对齐 |
Beta Was this translation helpful? Give feedback.
Answered by
NewByVector
Feb 23, 2022
Replies: 1 comment
-
因为布局计算出来的是节点的中心点坐标,布局流程参考这里 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
NewByVector
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
因为布局计算出来的是节点的中心点坐标,布局流程参考这里