feat: 增加框选功能

This commit is contained in:
黎智洲
2021-12-22 21:56:52 +08:00
parent 3626a6eb19
commit 3d0f613811
30 changed files with 609 additions and 14483 deletions
+2 -2
View File
@@ -34,7 +34,7 @@ SV.registerLayout('ChainHashTable', {
start: {
type: 'line',
sourceAnchor: 1,
targetAnchor: 5,
targetAnchor: 6,
style: {
stroke: '#333',
endArrow: {
@@ -77,7 +77,7 @@ SV.registerLayout('ChainHashTable', {
xInterval: 50,
yInterval: 50
},
interaction: {
behavior: {
dragNode: ['node']
}
};
+3
View File
@@ -77,6 +77,9 @@ SV.registerLayout('LinkList', {
layout: {
xInterval: 50,
yInterval: 50
},
behavior: {
dragNode: false
}
};
},