fix: 修改linkList回环回指时的锚点
This commit is contained in:
parent
41041661c0
commit
be2a50014e
@ -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',
|
||||
|
||||
@ -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]
|
||||
];
|
||||
}
|
||||
});
|
||||
Loading…
Reference in New Issue
Block a user