JointJS中链接之间的链接

Links between links in JointJS

有什么办法可以link一个link到另一个吗? 有 old question 但没有答案。也许有什么变化?

我们需要创建一个link截图中给出的

Answer in JointJS GitHub

This is not supported yet. We're working on this though and hopefully this will be ready for the next big release. Right now, you would need to create a tiny element between masterClass2 and LookUpClass2, which would be connected to the masterClass too.

更新: 在同一个 GitHub 问题中,开发人员回复说现在支持它。

It's now possible in v3.0.0.

// for instance
link1.target(link2, { anchor: { name: 'connectionPerpendicular' }});