We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5acec1f commit 0796316Copy full SHA for 0796316
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "react-visual-modeling",
3
- "version": "1.0.31",
+ "version": "1.0.32",
4
"description": "一个基于React的数据可视化建模的DAG图,适用于UML,数据库建模,数据仓库建设等业务",
5
"main": "dist/index.js",
6
"pack": "pack/index.js",
src/adaptor.js
@@ -3,17 +3,6 @@ import * as _ from 'lodash';
import Edge from './canvas/edge';
import TableNode from './canvas/node';
-export const BORDER_WIDTH = 2;
7
-export const OPER_ICON_WIDTH = 86;
8
-
9
-export const getWidth = (columns) => {
10
- let width = columns.reduce((cur, pre) => {
11
- cur = cur + pre.width;
12
- return cur;
13
- }, 0);
14
- return width;
15
-}
16
17
export const transformInitData = (info) => {
18
let {
19
columns, data, config,
0 commit comments