2020-03-23 16:38:41 -07:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
exports[`duplicate element on move when ALT is clicked rectangle 1`] = `
|
|
|
|
Object {
|
2020-04-02 17:40:26 +09:00
|
|
|
"angle": 0,
|
2020-03-23 16:38:41 -07:00
|
|
|
"backgroundColor": "transparent",
|
2020-08-08 21:04:15 -07:00
|
|
|
"boundElementIds": null,
|
2020-03-23 16:38:41 -07:00
|
|
|
"fillStyle": "hachure",
|
2020-05-26 13:07:46 -07:00
|
|
|
"groupIds": Array [],
|
2020-03-23 16:38:41 -07:00
|
|
|
"height": 50,
|
2020-09-11 17:06:07 +02:00
|
|
|
"id": "id0_copy",
|
2020-03-23 16:38:41 -07:00
|
|
|
"isDeleted": false,
|
|
|
|
"opacity": 100,
|
|
|
|
"roughness": 1,
|
2020-05-23 07:26:59 +02:00
|
|
|
"seed": 401146281,
|
2020-03-23 16:38:41 -07:00
|
|
|
"strokeColor": "#000000",
|
2020-08-15 00:59:43 +09:00
|
|
|
"strokeSharpness": "sharp",
|
2020-05-14 17:04:33 +02:00
|
|
|
"strokeStyle": "solid",
|
2020-03-23 16:38:41 -07:00
|
|
|
"strokeWidth": 1,
|
|
|
|
"type": "rectangle",
|
2020-04-11 13:37:43 +02:00
|
|
|
"version": 4,
|
2020-05-23 07:26:59 +02:00
|
|
|
"versionNonce": 2019559783,
|
2020-03-23 16:38:41 -07:00
|
|
|
"width": 30,
|
|
|
|
"x": 30,
|
|
|
|
"y": 20,
|
|
|
|
}
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`duplicate element on move when ALT is clicked rectangle 2`] = `
|
|
|
|
Object {
|
2020-04-02 17:40:26 +09:00
|
|
|
"angle": 0,
|
2020-03-23 16:38:41 -07:00
|
|
|
"backgroundColor": "transparent",
|
2020-08-08 21:04:15 -07:00
|
|
|
"boundElementIds": null,
|
2020-03-23 16:38:41 -07:00
|
|
|
"fillStyle": "hachure",
|
2020-05-26 13:07:46 -07:00
|
|
|
"groupIds": Array [],
|
2020-03-23 16:38:41 -07:00
|
|
|
"height": 50,
|
|
|
|
"id": "id0",
|
|
|
|
"isDeleted": false,
|
|
|
|
"opacity": 100,
|
|
|
|
"roughness": 1,
|
|
|
|
"seed": 337897,
|
|
|
|
"strokeColor": "#000000",
|
2020-08-15 00:59:43 +09:00
|
|
|
"strokeSharpness": "sharp",
|
2020-05-14 17:04:33 +02:00
|
|
|
"strokeStyle": "solid",
|
2020-03-23 16:38:41 -07:00
|
|
|
"strokeWidth": 1,
|
|
|
|
"type": "rectangle",
|
2020-05-28 09:50:56 +02:00
|
|
|
"version": 4,
|
|
|
|
"versionNonce": 1150084233,
|
2020-03-23 16:38:41 -07:00
|
|
|
"width": 30,
|
2020-04-11 13:37:43 +02:00
|
|
|
"x": -10,
|
|
|
|
"y": 60,
|
2020-03-23 16:38:41 -07:00
|
|
|
}
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`move element rectangle 1`] = `
|
|
|
|
Object {
|
2020-04-02 17:40:26 +09:00
|
|
|
"angle": 0,
|
2020-03-23 16:38:41 -07:00
|
|
|
"backgroundColor": "transparent",
|
2020-08-08 21:04:15 -07:00
|
|
|
"boundElementIds": null,
|
2020-03-23 16:38:41 -07:00
|
|
|
"fillStyle": "hachure",
|
2020-05-26 13:07:46 -07:00
|
|
|
"groupIds": Array [],
|
2020-03-23 16:38:41 -07:00
|
|
|
"height": 50,
|
|
|
|
"id": "id0",
|
|
|
|
"isDeleted": false,
|
|
|
|
"opacity": 100,
|
|
|
|
"roughness": 1,
|
|
|
|
"seed": 337897,
|
|
|
|
"strokeColor": "#000000",
|
2020-08-15 00:59:43 +09:00
|
|
|
"strokeSharpness": "sharp",
|
2020-05-14 17:04:33 +02:00
|
|
|
"strokeStyle": "solid",
|
2020-03-23 16:38:41 -07:00
|
|
|
"strokeWidth": 1,
|
|
|
|
"type": "rectangle",
|
|
|
|
"version": 3,
|
2020-05-23 07:26:59 +02:00
|
|
|
"versionNonce": 453191,
|
2020-03-23 16:38:41 -07:00
|
|
|
"width": 30,
|
|
|
|
"x": 0,
|
|
|
|
"y": 40,
|
|
|
|
}
|
|
|
|
`;
|
2020-08-29 15:12:28 +03:00
|
|
|
|
|
|
|
exports[`move element rectangles with binding arrow 1`] = `
|
|
|
|
Object {
|
|
|
|
"angle": 0,
|
|
|
|
"backgroundColor": "transparent",
|
|
|
|
"boundElementIds": Array [
|
|
|
|
"id2",
|
|
|
|
],
|
|
|
|
"fillStyle": "hachure",
|
|
|
|
"groupIds": Array [],
|
|
|
|
"height": 100,
|
|
|
|
"id": "id0",
|
|
|
|
"isDeleted": false,
|
|
|
|
"opacity": 100,
|
|
|
|
"roughness": 1,
|
|
|
|
"seed": 337897,
|
|
|
|
"strokeColor": "#000000",
|
|
|
|
"strokeSharpness": "sharp",
|
|
|
|
"strokeStyle": "solid",
|
|
|
|
"strokeWidth": 1,
|
|
|
|
"type": "rectangle",
|
|
|
|
"version": 3,
|
|
|
|
"versionNonce": 1014066025,
|
|
|
|
"width": 100,
|
|
|
|
"x": 0,
|
|
|
|
"y": 0,
|
|
|
|
}
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`move element rectangles with binding arrow 2`] = `
|
|
|
|
Object {
|
|
|
|
"angle": 0,
|
|
|
|
"backgroundColor": "transparent",
|
|
|
|
"boundElementIds": Array [
|
|
|
|
"id2",
|
|
|
|
],
|
|
|
|
"fillStyle": "hachure",
|
|
|
|
"groupIds": Array [],
|
|
|
|
"height": 300,
|
|
|
|
"id": "id1",
|
|
|
|
"isDeleted": false,
|
|
|
|
"opacity": 100,
|
|
|
|
"roughness": 1,
|
|
|
|
"seed": 449462985,
|
|
|
|
"strokeColor": "#000000",
|
|
|
|
"strokeSharpness": "sharp",
|
|
|
|
"strokeStyle": "solid",
|
|
|
|
"strokeWidth": 1,
|
|
|
|
"type": "rectangle",
|
|
|
|
"version": 6,
|
|
|
|
"versionNonce": 1723083209,
|
|
|
|
"width": 300,
|
|
|
|
"x": 201,
|
|
|
|
"y": 2,
|
|
|
|
}
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`move element rectangles with binding arrow 3`] = `
|
|
|
|
Object {
|
|
|
|
"angle": 0,
|
|
|
|
"backgroundColor": "transparent",
|
|
|
|
"boundElementIds": null,
|
2020-12-08 15:02:55 +00:00
|
|
|
"endArrowhead": null,
|
2020-08-29 15:12:28 +03:00
|
|
|
"endBinding": Object {
|
|
|
|
"elementId": "id1",
|
|
|
|
"focus": -0.46666666666666673,
|
|
|
|
"gap": 10,
|
|
|
|
},
|
|
|
|
"fillStyle": "hachure",
|
|
|
|
"groupIds": Array [],
|
|
|
|
"height": 81.48231043525051,
|
|
|
|
"id": "id2",
|
|
|
|
"isDeleted": false,
|
|
|
|
"lastCommittedPoint": null,
|
|
|
|
"opacity": 100,
|
|
|
|
"points": Array [
|
|
|
|
Array [
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
],
|
|
|
|
Array [
|
|
|
|
81,
|
|
|
|
81.48231043525051,
|
|
|
|
],
|
|
|
|
],
|
|
|
|
"roughness": 1,
|
|
|
|
"seed": 401146281,
|
2020-12-08 15:02:55 +00:00
|
|
|
"startArrowhead": null,
|
2020-08-29 15:12:28 +03:00
|
|
|
"startBinding": Object {
|
|
|
|
"elementId": "id0",
|
|
|
|
"focus": -0.6000000000000001,
|
|
|
|
"gap": 10,
|
|
|
|
},
|
|
|
|
"strokeColor": "#000000",
|
|
|
|
"strokeSharpness": "round",
|
|
|
|
"strokeStyle": "solid",
|
|
|
|
"strokeWidth": 1,
|
|
|
|
"type": "line",
|
|
|
|
"version": 11,
|
|
|
|
"versionNonce": 1006504105,
|
|
|
|
"width": 81,
|
|
|
|
"x": 110,
|
|
|
|
"y": 49.981789081137734,
|
|
|
|
}
|
|
|
|
`;
|