hookehuyr

fix

......@@ -65,7 +65,7 @@ export function dragNode(G6) {
});
// 只拖动当前节点
if (dragNodes.length === 1) {
if (dragNodes.length === 1 || nodes.length === 0) {
this.target = item;
this.target.origin = {
x: item._cfg.model.x,
......