clientIO / joint

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

refactor(dia.Link)!: remove legacy attributes from the default label d… #2436

Closed kumilingus closed 6 months ago

kumilingus commented 6 months ago

Description

Replace legacy attributes in the default label definition:

yAlignment -> textVerticalAnchor refX -> x refY ->y refWidth -> width refHeight -> height

Migration guide

If you were changing any of the label legacy attributes (left-side) in your application, you should change it to its new form (right-side).