修复不同group的结点不能连接的bug

This commit is contained in:
cjc
2022-03-18 20:37:02 +08:00
parent 62c7e91b97
commit d4066249c7
4 changed files with 207 additions and 56 deletions
+15
View File
@@ -36,6 +36,21 @@ SV.registerLayout('TriTree', {
}
}
},
parent: {
type: 'line',
sourceAnchor: 4,
targetAnchor: 6,
style: {
stroke: '#999',
lineAppendWidth: 10,
lineWidth: 1.6,
endArrow: 'default',
startArrow: {
path: G6.Arrow.circle(2, -1),
fill: '#999'
}
}
},
r_parent: {
type: 'quadratic',
sourceAnchor: 4,