clientIO / joint

A proven SVG-based JavaScript diagramming library powering exceptional UIs
https://jointjs.com
Mozilla Public License 2.0
4.48k stars 839 forks source link

refactor(dia.LinkView)!: remove support for legacy link view #2446

Closed kumilingus closed 5 months ago

kumilingus commented 5 months ago

Description

Remove support for legacy features of joint.dia.LinkView (It has long been deprecated due to poor performance caused by built-in link tools that had to be rendered for each link at start-up (even though they are only visible when the user hovers over them).

The linkTools.Vertices tools now accept 2 new options: vertexAdding and vertextRemoving

Migration guide

Switch to joint.shapes.standard.Link and add link tools dynamically.

For the interactive options: