|
@@ -1,6 +1,5 @@
|
|
|
export default {
|
|
|
- id: 'teg345g34-435634tg-2346245t-234tf345',
|
|
|
- cells: {
|
|
|
+ '76575g76t-8g678g-hu9we89-1212': {
|
|
|
cells: [
|
|
|
{
|
|
|
position: {
|
|
@@ -325,5 +324,541 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
]
|
|
|
+ },
|
|
|
+ 'teg345g34-435634tg-2346245t-234tf345': {
|
|
|
+ cells: [
|
|
|
+ {
|
|
|
+ position: {
|
|
|
+ x: 340,
|
|
|
+ y: 150
|
|
|
+ },
|
|
|
+ size: {
|
|
|
+ width: 80,
|
|
|
+ height: 42
|
|
|
+ },
|
|
|
+ attrs: {
|
|
|
+ text: {
|
|
|
+ text: '用例'
|
|
|
+ }
|
|
|
+ },
|
|
|
+ visible: true,
|
|
|
+ shape: 'flow-chart-rect',
|
|
|
+ ports: {
|
|
|
+ groups: {
|
|
|
+ top: {
|
|
|
+ position: 'top',
|
|
|
+ attrs: {
|
|
|
+ circle: {
|
|
|
+ r: 4,
|
|
|
+ magnet: true,
|
|
|
+ stroke: '#5F95FF',
|
|
|
+ strokeWidth: 1,
|
|
|
+ fill: '#fff',
|
|
|
+ style: {
|
|
|
+ visibility: 'hidden'
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ right: {
|
|
|
+ position: 'right',
|
|
|
+ attrs: {
|
|
|
+ circle: {
|
|
|
+ r: 4,
|
|
|
+ magnet: true,
|
|
|
+ stroke: '#5F95FF',
|
|
|
+ strokeWidth: 1,
|
|
|
+ fill: '#fff',
|
|
|
+ style: {
|
|
|
+ visibility: 'hidden'
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ bottom: {
|
|
|
+ position: 'bottom',
|
|
|
+ attrs: {
|
|
|
+ circle: {
|
|
|
+ r: 4,
|
|
|
+ magnet: true,
|
|
|
+ stroke: '#5F95FF',
|
|
|
+ strokeWidth: 1,
|
|
|
+ fill: '#fff',
|
|
|
+ style: {
|
|
|
+ visibility: 'hidden'
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ left: {
|
|
|
+ position: 'left',
|
|
|
+ attrs: {
|
|
|
+ circle: {
|
|
|
+ r: 4,
|
|
|
+ magnet: true,
|
|
|
+ stroke: '#5F95FF',
|
|
|
+ strokeWidth: 1,
|
|
|
+ fill: '#fff',
|
|
|
+ style: {
|
|
|
+ visibility: 'hidden'
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ items: [
|
|
|
+ {
|
|
|
+ group: 'top',
|
|
|
+ id: 'f0b911c3-18a6-4b4e-95cb-f43f358c32ab'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ group: 'right',
|
|
|
+ id: '61162dc4-d323-45b5-a2a4-266022a96b5c'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ group: 'bottom',
|
|
|
+ id: 'c2677c81-6baf-4cdb-9f72-60b288f543ff'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ group: 'left',
|
|
|
+ id: '69c6da1b-64c5-4d28-869a-7709209f22d3'
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ id: '3f9692c6-32e8-4aa6-80f5-103f49a7e680',
|
|
|
+ zIndex: 1,
|
|
|
+ data: {
|
|
|
+ status: '0',
|
|
|
+ pointCode: '52',
|
|
|
+ fieldName: 'fieldName1'
|
|
|
+ },
|
|
|
+ tools: {
|
|
|
+ items: [],
|
|
|
+ name: null
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ shape: 'edge',
|
|
|
+ attrs: {
|
|
|
+ line: {
|
|
|
+ stroke: '#5F95FF',
|
|
|
+ strokeWidth: 1,
|
|
|
+ targetMarker: {
|
|
|
+ name: 'classic',
|
|
|
+ size: 8
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ id: '6c100db1-0b67-4cbc-a4d9-7da9655659a1',
|
|
|
+ router: {
|
|
|
+ name: 'manhattan'
|
|
|
+ },
|
|
|
+ source: {
|
|
|
+ cell: '3f9692c6-32e8-4aa6-80f5-103f49a7e680',
|
|
|
+ port: 'c2677c81-6baf-4cdb-9f72-60b288f543ff'
|
|
|
+ },
|
|
|
+ target: {
|
|
|
+ cell: '734eccdb-3772-418b-a8a5-9ec2c4a2545d',
|
|
|
+ port: 'e04e03d5-f14a-4adb-b05d-63ba362eda40'
|
|
|
+ },
|
|
|
+ zIndex: 1
|
|
|
+ },
|
|
|
+ {
|
|
|
+ position: {
|
|
|
+ x: 340,
|
|
|
+ y: 56
|
|
|
+ },
|
|
|
+ size: {
|
|
|
+ width: 80,
|
|
|
+ height: 42
|
|
|
+ },
|
|
|
+ attrs: {
|
|
|
+ text: {
|
|
|
+ text: '开始'
|
|
|
+ },
|
|
|
+ body: {
|
|
|
+ rx: 24,
|
|
|
+ ry: 24
|
|
|
+ }
|
|
|
+ },
|
|
|
+ visible: true,
|
|
|
+ shape: 'flow-chart-rect',
|
|
|
+ ports: {
|
|
|
+ groups: {
|
|
|
+ top: {
|
|
|
+ position: 'top',
|
|
|
+ attrs: {
|
|
|
+ circle: {
|
|
|
+ r: 4,
|
|
|
+ magnet: true,
|
|
|
+ stroke: '#5F95FF',
|
|
|
+ strokeWidth: 1,
|
|
|
+ fill: '#fff',
|
|
|
+ style: {
|
|
|
+ visibility: 'hidden'
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ right: {
|
|
|
+ position: 'right',
|
|
|
+ attrs: {
|
|
|
+ circle: {
|
|
|
+ r: 4,
|
|
|
+ magnet: true,
|
|
|
+ stroke: '#5F95FF',
|
|
|
+ strokeWidth: 1,
|
|
|
+ fill: '#fff',
|
|
|
+ style: {
|
|
|
+ visibility: 'hidden'
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ bottom: {
|
|
|
+ position: 'bottom',
|
|
|
+ attrs: {
|
|
|
+ circle: {
|
|
|
+ r: 4,
|
|
|
+ magnet: true,
|
|
|
+ stroke: '#5F95FF',
|
|
|
+ strokeWidth: 1,
|
|
|
+ fill: '#fff',
|
|
|
+ style: {
|
|
|
+ visibility: 'hidden'
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ left: {
|
|
|
+ position: 'left',
|
|
|
+ attrs: {
|
|
|
+ circle: {
|
|
|
+ r: 4,
|
|
|
+ magnet: true,
|
|
|
+ stroke: '#5F95FF',
|
|
|
+ strokeWidth: 1,
|
|
|
+ fill: '#fff',
|
|
|
+ style: {
|
|
|
+ visibility: 'hidden'
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ items: [
|
|
|
+ {
|
|
|
+ group: 'top',
|
|
|
+ id: '1534952e-9a67-415f-900c-aa8b2e52f531'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ group: 'right',
|
|
|
+ id: '9e941fba-702f-4d30-a10c-ba8d6edbe152'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ group: 'bottom',
|
|
|
+ id: '4fc9f932-a58a-42d3-855e-5c527d3b5e3a'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ group: 'left',
|
|
|
+ id: 'f113795c-3774-401e-a93d-f5f86217bcf6'
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ id: '1a02a27d-d9f5-4d7f-a878-be6c9dd2c991',
|
|
|
+ zIndex: 2,
|
|
|
+ data: {
|
|
|
+ status: '0',
|
|
|
+ pointCode: '52',
|
|
|
+ fieldName: 'fieldName1'
|
|
|
+ },
|
|
|
+ tools: {
|
|
|
+ items: [],
|
|
|
+ name: null
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ angle: 45,
|
|
|
+ position: {
|
|
|
+ x: 354,
|
|
|
+ y: 234
|
|
|
+ },
|
|
|
+ size: {
|
|
|
+ width: 52,
|
|
|
+ height: 52
|
|
|
+ },
|
|
|
+ attrs: {
|
|
|
+ text: {
|
|
|
+ text: '判断',
|
|
|
+ transform: 'rotate(-45deg)'
|
|
|
+ }
|
|
|
+ },
|
|
|
+ visible: true,
|
|
|
+ shape: 'flow-chart-rect',
|
|
|
+ ports: {
|
|
|
+ groups: {
|
|
|
+ top: {
|
|
|
+ position: {
|
|
|
+ name: 'top',
|
|
|
+ args: {
|
|
|
+ dx: -26
|
|
|
+ }
|
|
|
+ },
|
|
|
+ attrs: {
|
|
|
+ circle: {
|
|
|
+ r: 4,
|
|
|
+ magnet: true,
|
|
|
+ stroke: '#5F95FF',
|
|
|
+ strokeWidth: 1,
|
|
|
+ fill: '#fff',
|
|
|
+ style: {
|
|
|
+ visibility: 'hidden'
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ right: {
|
|
|
+ position: {
|
|
|
+ name: 'right',
|
|
|
+ args: {
|
|
|
+ dy: -26
|
|
|
+ }
|
|
|
+ },
|
|
|
+ attrs: {
|
|
|
+ circle: {
|
|
|
+ r: 4,
|
|
|
+ magnet: true,
|
|
|
+ stroke: '#5F95FF',
|
|
|
+ strokeWidth: 1,
|
|
|
+ fill: '#fff',
|
|
|
+ style: {
|
|
|
+ visibility: 'hidden'
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ bottom: {
|
|
|
+ position: {
|
|
|
+ name: 'bottom',
|
|
|
+ args: {
|
|
|
+ dx: 26
|
|
|
+ }
|
|
|
+ },
|
|
|
+ attrs: {
|
|
|
+ circle: {
|
|
|
+ r: 4,
|
|
|
+ magnet: true,
|
|
|
+ stroke: '#5F95FF',
|
|
|
+ strokeWidth: 1,
|
|
|
+ fill: '#fff',
|
|
|
+ style: {
|
|
|
+ visibility: 'hidden'
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ left: {
|
|
|
+ position: {
|
|
|
+ name: 'left',
|
|
|
+ args: {
|
|
|
+ dy: 26
|
|
|
+ }
|
|
|
+ },
|
|
|
+ attrs: {
|
|
|
+ circle: {
|
|
|
+ r: 4,
|
|
|
+ magnet: true,
|
|
|
+ stroke: '#5F95FF',
|
|
|
+ strokeWidth: 1,
|
|
|
+ fill: '#fff',
|
|
|
+ style: {
|
|
|
+ visibility: 'hidden'
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ items: [
|
|
|
+ {
|
|
|
+ group: 'top',
|
|
|
+ id: '550b8226-4e15-41d5-9cf8-f4b9ad7c2e74'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ group: 'right',
|
|
|
+ id: '69c160f7-6d0b-49c5-bf37-8be5abaa003b'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ group: 'bottom',
|
|
|
+ id: '90eb295d-25c4-4b42-82ca-6e8965bc2b89'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ group: 'left',
|
|
|
+ id: 'a5422984-96ca-4bf9-9101-95c94e38575e'
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ id: 'ae309caf-3a78-4abc-9e76-d3864f93fc6d',
|
|
|
+ zIndex: 3
|
|
|
+ },
|
|
|
+ {
|
|
|
+ position: {
|
|
|
+ x: 280,
|
|
|
+ y: 359
|
|
|
+ },
|
|
|
+ size: {
|
|
|
+ width: 200,
|
|
|
+ height: 60
|
|
|
+ },
|
|
|
+ attrs: {
|
|
|
+ text: {
|
|
|
+ text: '测试xx流程'
|
|
|
+ },
|
|
|
+ title: {
|
|
|
+ text: 'XX子流程'
|
|
|
+ },
|
|
|
+ lip: {
|
|
|
+ transform: 'scale(0.01)'
|
|
|
+ }
|
|
|
+ },
|
|
|
+ visible: true,
|
|
|
+ shape: 'sub-flow-rect',
|
|
|
+ ports: {
|
|
|
+ groups: {
|
|
|
+ top: {
|
|
|
+ position: 'top',
|
|
|
+ attrs: {
|
|
|
+ circle: {
|
|
|
+ r: 4,
|
|
|
+ magnet: true,
|
|
|
+ stroke: '#5F95FF',
|
|
|
+ strokeWidth: 1,
|
|
|
+ fill: '#fff',
|
|
|
+ style: {
|
|
|
+ visibility: 'hidden'
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ right: {
|
|
|
+ position: 'right',
|
|
|
+ attrs: {
|
|
|
+ circle: {
|
|
|
+ r: 4,
|
|
|
+ magnet: true,
|
|
|
+ stroke: '#5F95FF',
|
|
|
+ strokeWidth: 1,
|
|
|
+ fill: '#fff',
|
|
|
+ style: {
|
|
|
+ visibility: 'hidden'
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ bottom: {
|
|
|
+ position: 'bottom',
|
|
|
+ attrs: {
|
|
|
+ circle: {
|
|
|
+ r: 4,
|
|
|
+ magnet: true,
|
|
|
+ stroke: '#5F95FF',
|
|
|
+ strokeWidth: 1,
|
|
|
+ fill: '#fff',
|
|
|
+ style: {
|
|
|
+ visibility: 'hidden'
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ left: {
|
|
|
+ position: 'left',
|
|
|
+ attrs: {
|
|
|
+ circle: {
|
|
|
+ r: 4,
|
|
|
+ magnet: true,
|
|
|
+ stroke: '#5F95FF',
|
|
|
+ strokeWidth: 1,
|
|
|
+ fill: '#fff',
|
|
|
+ style: {
|
|
|
+ visibility: 'hidden'
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ items: [
|
|
|
+ {
|
|
|
+ group: 'top',
|
|
|
+ id: '08bd3d75-92be-46c7-be66-c9d567bdf104'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ group: 'right',
|
|
|
+ id: 'e04e03d5-f14a-4adb-b05d-63ba362eda40'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ group: 'bottom',
|
|
|
+ id: '9f273323-7696-450d-9504-7d07907e3590'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ group: 'left',
|
|
|
+ id: 'd29ef11d-34fe-43ba-92af-29cc40949ccd'
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ id: '734eccdb-3772-418b-a8a5-9ec2c4a2545d',
|
|
|
+ zIndex: 4
|
|
|
+ },
|
|
|
+ {
|
|
|
+ shape: 'edge',
|
|
|
+ attrs: {
|
|
|
+ line: {
|
|
|
+ stroke: '#5F95FF',
|
|
|
+ strokeWidth: 1,
|
|
|
+ targetMarker: {
|
|
|
+ name: 'classic',
|
|
|
+ size: 8
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ id: '079a74cc-262b-443e-b4d9-9acbf2f81948',
|
|
|
+ router: {
|
|
|
+ name: 'manhattan'
|
|
|
+ },
|
|
|
+ source: {
|
|
|
+ cell: 'ae309caf-3a78-4abc-9e76-d3864f93fc6d',
|
|
|
+ port: '90eb295d-25c4-4b42-82ca-6e8965bc2b89'
|
|
|
+ },
|
|
|
+ target: {
|
|
|
+ cell: '734eccdb-3772-418b-a8a5-9ec2c4a2545d',
|
|
|
+ port: '08bd3d75-92be-46c7-be66-c9d567bdf104'
|
|
|
+ },
|
|
|
+ zIndex: 5
|
|
|
+ },
|
|
|
+ {
|
|
|
+ shape: 'edge',
|
|
|
+ attrs: {
|
|
|
+ line: {
|
|
|
+ stroke: '#5F95FF',
|
|
|
+ strokeWidth: 1,
|
|
|
+ targetMarker: {
|
|
|
+ name: 'classic',
|
|
|
+ size: 8
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ id: '244bf36e-c3bb-4213-a4cd-aa898273426f',
|
|
|
+ router: {
|
|
|
+ name: 'manhattan'
|
|
|
+ },
|
|
|
+ source: {
|
|
|
+ cell: '1a02a27d-d9f5-4d7f-a878-be6c9dd2c991',
|
|
|
+ port: '4fc9f932-a58a-42d3-855e-5c527d3b5e3a'
|
|
|
+ },
|
|
|
+ target: {
|
|
|
+ cell: '3f9692c6-32e8-4aa6-80f5-103f49a7e680',
|
|
|
+ port: 'f0b911c3-18a6-4b4e-95cb-f43f358c32ab'
|
|
|
+ },
|
|
|
+ zIndex: 6
|
|
|
+ }
|
|
|
+ ]
|
|
|
}
|
|
|
}
|