fix: 大量bug修复

This commit is contained in:
黎智洲
2021-12-09 16:59:44 +08:00
parent 0809d1fd53
commit 0291c74523
26 changed files with 14338 additions and 176 deletions
+1
View File
@@ -2,6 +2,7 @@ import { Util } from "./util";
import { BoundingRect, Bound } from "./boundingRect";
import { SVModel } from "../Model/SVModel";
import { ext } from '@antv/matrix-util';
import { SVLink } from "../Model/SVLink";
+2 -2
View File
@@ -2,7 +2,7 @@ import { EdgeConfig, GraphData, NodeConfig } from "@antv/g6-core";
import { LayoutGroup, LayoutGroupTable } from "../Model/modelConstructor";
import { SVLink } from "../Model/SVLink";
import { SVModel } from "../Model/SVModel";
import { SV } from "../StructV";
import { Util as G6Util } from '@antv/g6';
/**
@@ -132,7 +132,7 @@ export const Util = {
* @param rotation
*/
calcRotateMatrix(matrix: number[], rotation: number): number[] {
const Mat3 = SV.G6.Util.mat3;
const Mat3 = G6Util.mat3;
Mat3.rotate(matrix, matrix, rotation);
return matrix;
}