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 smooth and manhattan attributes #2438

Closed kumilingus closed 6 months ago

kumilingus commented 6 months ago

Description

Migration guide

Before:

link.set('smooth', true);
link.set('manhattan', true);

Now:

link.connector('smooth'); // or link.set('connector', { name: 'smooth' });
link.router('orthogonal'); // or link.set('router', { name: 'orthogonal' });