react-lineage-dag
Advanced tools
Comparing version 2.1.0-beta.2 to 2.1.0-beta.3
@@ -5,128 +5,44 @@ 'use strict'; | ||
export let mockData = { | ||
tables: [ | ||
{ | ||
id: '1', | ||
name: 'table-1', | ||
// isCollapse: true, | ||
fields: [ | ||
{ | ||
name: 'id', | ||
title: 'id', | ||
}, | ||
{ | ||
name: 'age', | ||
title: 'age' | ||
} | ||
] | ||
}, | ||
{ | ||
id: '2', | ||
name: 'table-2', | ||
// isCollapse: true, | ||
fields: [ | ||
{ | ||
name: 'id', | ||
title: 'id', | ||
}, | ||
{ | ||
name: 'age', | ||
title: 'age' | ||
}, | ||
{ | ||
name: 'id2', | ||
title: 'id2', | ||
}, | ||
{ | ||
name: 'age2', | ||
title: 'age2' | ||
}, | ||
{ | ||
name: 'id3', | ||
title: 'id3', | ||
}, | ||
{ | ||
name: 'age3', | ||
title: 'age3' | ||
}, | ||
{ | ||
name: 'id4', | ||
title: 'id4', | ||
}, | ||
{ | ||
name: 'age4', | ||
title: 'age4' | ||
} | ||
] | ||
}, | ||
{ | ||
id: '3', | ||
name: 'table-3', | ||
isCollapse: true, | ||
fields: [ | ||
{ | ||
name: 'id', | ||
title: 'id', | ||
}, | ||
{ | ||
name: 'age', | ||
title: 'age' | ||
} | ||
] | ||
}, | ||
{ | ||
id: '4', | ||
name: 'table-4', | ||
isCollapse: true, | ||
fields: [ | ||
{ | ||
name: 'id', | ||
title: 'id', | ||
}, | ||
{ | ||
name: 'age', | ||
title: 'age' | ||
} | ||
] | ||
} | ||
], | ||
relations: [ | ||
{ | ||
srcTableId: '1', | ||
tgtTableId: '2', | ||
srcTableColName: 'id', | ||
tgtTableColName: 'age' | ||
}, | ||
{ | ||
srcTableId: '1', | ||
tgtTableId: '2', | ||
srcTableColName: 'id', | ||
tgtTableColName: 'id' | ||
}, | ||
{ | ||
srcTableId: '1', | ||
tgtTableId: '3', | ||
srcTableColName: 'id', | ||
tgtTableColName: 'age' | ||
}, | ||
{ | ||
srcTableId: '2', | ||
tgtTableId: '4', | ||
srcTableColName: 'id', | ||
tgtTableColName: 'age' | ||
}, | ||
{ | ||
srcTableId: '2', | ||
tgtTableId: '4', | ||
srcTableColName: 'id', | ||
tgtTableColName: 'id' | ||
}, | ||
{ | ||
srcTableId: '2', | ||
tgtTableId: '4' | ||
}, | ||
{ | ||
srcTableId: '4', | ||
tgtTableId: '2' | ||
} | ||
] | ||
tables: [{"id":"75174","name":"dws_tfc_state_tfcdline_tp_index_d","isCollapse":true,"nodeType":"PHYSICAL_TABLE","driverType":"odps"},{"id":"120450","name":"dws_tfc_state_tfcdline_tpwkd_multispeedindex_m","isCollapse":true,"nodeType":"PHYSICAL_TABLE","driverType":"odps"},{"id":"75145","name":"algtmp_rid_tpwkd_speedflow_m","isCollapse":true,"nodeType":"PHYSICAL_TABLE","driverType":"odps"},{"id":"75154","name":"dwd_tfc_bas_rdnet_rid_info","isCollapse":true,"nodeType":"PHYSICAL_TABLE","driverType":"odps"},{"id":"103434","name":"dws_tfc_state_rid_tp_multispeed_d","isCollapse":true,"nodeType":"PHYSICAL_TABLE","driverType":"odps"},{"id":"103421","name":"dws_tfc_state_rid_tp_index_d","isCollapse":true,"nodeType":"PHYSICAL_TABLE","driverType":"odps"},{"id":"75077","name":"dws_tfc_state_rid_nd_index_m","isCollapse":true,"nodeType":"PHYSICAL_TABLE","driverType":"odps"},{"id":"120467","name":"algtmp_trl_rid_tpwkd_multiflow_m","isCollapse":true,"nodeType":"PHYSICAL_TABLE","driverType":"odps"},{"id":"103657","name":"algtmp_fusion_tp_rid_speed_default_m","isCollapse":true,"nodeType":"PHYSICAL_TABLE","driverType":"odps"},{"id":"103693","name":"algtmp_fusion_tp_rid_multispeed_md_d","isCollapse":true,"nodeType":"PHYSICAL_TABLE","driverType":"odps"},{"id":"103645","name":"algtmp_fusion_tpwkd_rid_multispeed_m","isCollapse":true,"nodeType":"PHYSICAL_TABLE","driverType":"odps"},{"id":"120450","name":"dws_tfc_state_tfcdline_tpwkd_multispeedindex_m","isCollapse":true,"nodeType":"PHYSICAL_TABLE","driverType":"odps"},{"id":"64178","name":"service_tfc_tfcdline_dtvs_tp_wkd_linetypeno_index_m","isCollapse":true,"nodeType":"PHYSICAL_TABLE","driverType":"ots"},{"id":"79204","name":"交管_获取分方向道路区域月统计区分周几分时间片速度指标","isCollapse":true,"nodeType":"API"},{"id":"79197","name":"交管_获取通道区域月统计区分周几分时间片速度指标","isCollapse":true,"nodeType":"API"},{"id":"39730","name":"trafficproduct","isCollapse":true,"nodeType":"APP"}], | ||
relations: [{"srcTableId":"75174","tgtTableId":"120450","srcTableColName":null,"tgtTableColName":null},{"srcTableId":"75145","tgtTableId":"75174","srcTableColName":null,"tgtTableColName":null},{"srcTableId":"75154","tgtTableId":"75174","srcTableColName":null,"tgtTableColName":null},{"srcTableId":"103434","tgtTableId":"75174","srcTableColName":null,"tgtTableColName":null},{"srcTableId":"103421","tgtTableId":"75174","srcTableColName":null,"tgtTableColName":null},{"srcTableId":"75077","tgtTableId":"75145","srcTableColName":null,"tgtTableColName":null},{"srcTableId":"120467","tgtTableId":"75145","srcTableColName":null,"tgtTableColName":null},{"srcTableId":"75154","tgtTableId":"75154","srcTableColName":null,"tgtTableColName":null},{"srcTableId":"103657","tgtTableId":"103434","srcTableColName":null,"tgtTableColName":null},{"srcTableId":"103693","tgtTableId":"103434","srcTableColName":null,"tgtTableColName":null},{"srcTableId":"103645","tgtTableId":"103434","srcTableColName":null,"tgtTableColName":null},{"srcTableId":"75077","tgtTableId":"103421","srcTableColName":null,"tgtTableColName":null},{"srcTableId":"75154","tgtTableId":"103421","srcTableColName":null,"tgtTableColName":null},{"srcTableId":"103434","tgtTableId":"103421","srcTableColName":null,"tgtTableColName":null},{"srcTableId":"120450","tgtTableId":"64178","srcTableColName":null,"tgtTableColName":null},{"srcTableId":"64178","tgtTableId":"79204","srcTableColName":null,"tgtTableColName":null},{"srcTableId":"64178","tgtTableId":"79197","srcTableColName":null,"tgtTableColName":null},{"srcTableId":"79204","tgtTableId":"39730","srcTableColName":null,"tgtTableColName":null},{"srcTableId":"79197","tgtTableId":"39730","srcTableColName":null,"tgtTableColName":null}] | ||
// relations: [ | ||
// { | ||
// srcTableId: '1', | ||
// tgtTableId: '2', | ||
// srcTableColName: 'id', | ||
// tgtTableColName: 'age' | ||
// }, | ||
// { | ||
// srcTableId: '1', | ||
// tgtTableId: '2', | ||
// srcTableColName: 'id', | ||
// tgtTableColName: 'id' | ||
// }, | ||
// { | ||
// srcTableId: '1', | ||
// tgtTableId: '3', | ||
// srcTableColName: 'id', | ||
// tgtTableColName: 'age' | ||
// }, | ||
// { | ||
// srcTableId: '2', | ||
// tgtTableId: '4', | ||
// srcTableColName: 'id', | ||
// tgtTableColName: 'age' | ||
// }, | ||
// { | ||
// srcTableId: '2', | ||
// tgtTableId: '4', | ||
// srcTableColName: 'id', | ||
// tgtTableColName: 'id' | ||
// }, | ||
// { | ||
// srcTableId: '2', | ||
// tgtTableId: '4' | ||
// }, | ||
// { | ||
// srcTableId: '4', | ||
// tgtTableId: '2' | ||
// } | ||
// ] | ||
} |
{ | ||
"name": "react-lineage-dag", | ||
"version": "2.1.0-beta.2", | ||
"version": "2.1.0-beta.3", | ||
"description": "表格/字段血缘React组件", | ||
@@ -24,5 +24,2 @@ "main": "dist/index.js", | ||
"license": "MIT", | ||
"dependencies": { | ||
"butterfly-dag": "5.1.0-beta.6" | ||
}, | ||
"peerDependencies": { | ||
@@ -33,6 +30,7 @@ "react": ">15.6.1", | ||
"jquery": ">3.5.1", | ||
"butterfly-dag": "5.1.0-beta.6" | ||
"butterfly-dag": "5.1.0-beta.7" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "~7.12.0", | ||
"butterfly-dag": "5.1.0-beta.7", | ||
"@babel/plugin-proposal-class-properties": "~7.12.1", | ||
@@ -39,0 +37,0 @@ "@babel/plugin-proposal-object-rest-spread": "~7.12.0", |
3259011
5
26
4345
+ Addedbutterfly-dag@5.1.0-beta.7(transitive)
- Removedbutterfly-dag@5.1.0-beta.6
- Removedbutterfly-dag@5.1.0-beta.6(transitive)