fix: 修改linkList回环回指时的锚点

This commit is contained in:
廖威敬 2021-12-17 15:58:13 +08:00
parent 41041661c0
commit be2a50014e
2 changed files with 5 additions and 4 deletions

View File

@ -42,10 +42,10 @@ SV.registerLayout('LinkList', {
}
},
loopNext: {
type: 'arc',
curveOffset: 50,
type: 'quadratic',
curveOffset: -100,
sourceAnchor: 2,
targetAnchor: 4,
targetAnchor: 7,
style: {
stroke: '#333',
endArrow: 'default',

View File

@ -63,7 +63,8 @@ export default G6.registerNode('link-list-node', {
[1, 0.5],
[5 / 6, 1],
[0.5, 1],
[0, 0.5]
[0, 0.5],
[1 / 3, 1]
];
}
});