Open lipengming opened 1 year ago
@lipengming 很好的建议,目前看来,需要底层 Graphin 的支持:https://github.com/antvis/Graphin/blob/master/packages/graphin/src/shape/graphin-line.ts#L243
一条边上有3个labelShape,其中2个是在边的两端,当hover或者active的时候,visible设置为true