787 lines
17 KiB
JSON
Generated
787 lines
17 KiB
JSON
Generated
{
|
|
"name": "",
|
|
"shapes": [
|
|
{
|
|
"id": "alice",
|
|
"type": "person",
|
|
"pos": {
|
|
"x": 12,
|
|
"y": 142
|
|
},
|
|
"width": 163,
|
|
"height": 158,
|
|
"opacity": 1,
|
|
"strokeDash": 0,
|
|
"strokeWidth": 2,
|
|
"borderRadius": 0,
|
|
"fill": "#E3E9FD",
|
|
"stroke": "red",
|
|
"shadow": false,
|
|
"3d": false,
|
|
"multiple": false,
|
|
"tooltip": "",
|
|
"link": "",
|
|
"icon": null,
|
|
"iconPosition": "",
|
|
"fields": null,
|
|
"methods": null,
|
|
"columns": null,
|
|
"label": "Alice\nline\nbreaker",
|
|
"fontSize": 16,
|
|
"fontFamily": "DEFAULT",
|
|
"language": "",
|
|
"color": "#0A0F25",
|
|
"italic": false,
|
|
"bold": true,
|
|
"underline": false,
|
|
"labelWidth": 63,
|
|
"labelHeight": 58,
|
|
"labelPosition": "INSIDE_MIDDLE_CENTER",
|
|
"zIndex": 0,
|
|
"level": 1
|
|
},
|
|
{
|
|
"id": "bob",
|
|
"type": "person",
|
|
"pos": {
|
|
"x": 492,
|
|
"y": 174
|
|
},
|
|
"width": 132,
|
|
"height": 126,
|
|
"opacity": 1,
|
|
"strokeDash": 0,
|
|
"strokeWidth": 5,
|
|
"borderRadius": 0,
|
|
"fill": "#E3E9FD",
|
|
"stroke": "#0D32B2",
|
|
"shadow": false,
|
|
"3d": false,
|
|
"multiple": false,
|
|
"tooltip": "",
|
|
"link": "",
|
|
"icon": null,
|
|
"iconPosition": "",
|
|
"fields": null,
|
|
"methods": null,
|
|
"columns": null,
|
|
"label": "Bob",
|
|
"fontSize": 16,
|
|
"fontFamily": "DEFAULT",
|
|
"language": "",
|
|
"color": "#0A0F25",
|
|
"italic": false,
|
|
"bold": true,
|
|
"underline": false,
|
|
"labelWidth": 32,
|
|
"labelHeight": 26,
|
|
"labelPosition": "INSIDE_MIDDLE_CENTER",
|
|
"zIndex": 0,
|
|
"level": 1
|
|
},
|
|
{
|
|
"id": "db",
|
|
"type": "cylinder",
|
|
"pos": {
|
|
"x": 941,
|
|
"y": 174
|
|
},
|
|
"width": 124,
|
|
"height": 126,
|
|
"opacity": 1,
|
|
"strokeDash": 0,
|
|
"strokeWidth": 2,
|
|
"borderRadius": 0,
|
|
"fill": "#EDF0FD",
|
|
"stroke": "#0D32B2",
|
|
"shadow": false,
|
|
"3d": false,
|
|
"multiple": false,
|
|
"tooltip": "",
|
|
"link": "",
|
|
"icon": null,
|
|
"iconPosition": "",
|
|
"fields": null,
|
|
"methods": null,
|
|
"columns": null,
|
|
"label": "db",
|
|
"fontSize": 16,
|
|
"fontFamily": "DEFAULT",
|
|
"language": "",
|
|
"color": "#0A0F25",
|
|
"italic": false,
|
|
"bold": true,
|
|
"underline": false,
|
|
"labelWidth": 24,
|
|
"labelHeight": 26,
|
|
"labelPosition": "INSIDE_MIDDLE_CENTER",
|
|
"zIndex": 0,
|
|
"level": 1
|
|
},
|
|
{
|
|
"id": "queue",
|
|
"type": "queue",
|
|
"pos": {
|
|
"x": 1382,
|
|
"y": 174
|
|
},
|
|
"width": 149,
|
|
"height": 126,
|
|
"opacity": 1,
|
|
"strokeDash": 0,
|
|
"strokeWidth": 2,
|
|
"borderRadius": 0,
|
|
"fill": "#F0F3F9",
|
|
"stroke": "#0D32B2",
|
|
"shadow": false,
|
|
"3d": false,
|
|
"multiple": false,
|
|
"tooltip": "",
|
|
"link": "",
|
|
"icon": null,
|
|
"iconPosition": "",
|
|
"fields": null,
|
|
"methods": null,
|
|
"columns": null,
|
|
"label": "queue",
|
|
"fontSize": 16,
|
|
"fontFamily": "DEFAULT",
|
|
"language": "",
|
|
"color": "#0A0F25",
|
|
"italic": false,
|
|
"bold": true,
|
|
"underline": false,
|
|
"labelWidth": 49,
|
|
"labelHeight": 26,
|
|
"labelPosition": "INSIDE_MIDDLE_CENTER",
|
|
"zIndex": 0,
|
|
"level": 1
|
|
},
|
|
{
|
|
"id": "service",
|
|
"type": "",
|
|
"pos": {
|
|
"x": 1848,
|
|
"y": 62
|
|
},
|
|
"width": 202,
|
|
"height": 238,
|
|
"opacity": 1,
|
|
"strokeDash": 0,
|
|
"strokeWidth": 2,
|
|
"borderRadius": 0,
|
|
"fill": "#F7F8FE",
|
|
"stroke": "#0D32B2",
|
|
"shadow": false,
|
|
"3d": false,
|
|
"multiple": false,
|
|
"tooltip": "",
|
|
"link": "",
|
|
"icon": null,
|
|
"iconPosition": "",
|
|
"fields": null,
|
|
"methods": null,
|
|
"columns": null,
|
|
"label": "an\nodd\nservice\nwith\na\nname\nin\nmultiple lines",
|
|
"fontSize": 16,
|
|
"fontFamily": "DEFAULT",
|
|
"language": "",
|
|
"color": "#0A0F25",
|
|
"italic": false,
|
|
"bold": true,
|
|
"underline": false,
|
|
"labelWidth": 102,
|
|
"labelHeight": 138,
|
|
"labelPosition": "INSIDE_MIDDLE_CENTER",
|
|
"zIndex": 0,
|
|
"level": 1
|
|
}
|
|
],
|
|
"connections": [
|
|
{
|
|
"id": "(alice -> bob)[0]",
|
|
"src": "alice",
|
|
"srcArrow": "none",
|
|
"srcLabel": "",
|
|
"dst": "bob",
|
|
"dstArrow": "triangle",
|
|
"dstLabel": "",
|
|
"opacity": 1,
|
|
"strokeDash": 0,
|
|
"strokeWidth": 2,
|
|
"stroke": "#0D32B2",
|
|
"label": "Authentication Request",
|
|
"fontSize": 16,
|
|
"fontFamily": "DEFAULT",
|
|
"language": "",
|
|
"color": "#676C7E",
|
|
"italic": true,
|
|
"bold": false,
|
|
"underline": false,
|
|
"labelWidth": 155,
|
|
"labelHeight": 21,
|
|
"labelPosition": "OUTSIDE_TOP_CENTER",
|
|
"labelPercentage": 0,
|
|
"route": [
|
|
{
|
|
"x": 98.5,
|
|
"y": 450
|
|
},
|
|
{
|
|
"x": 553,
|
|
"y": 450
|
|
}
|
|
],
|
|
"animated": false,
|
|
"tooltip": "",
|
|
"icon": null,
|
|
"zIndex": 0
|
|
},
|
|
{
|
|
"id": "(bob -> service)[0]",
|
|
"src": "bob",
|
|
"srcArrow": "none",
|
|
"srcLabel": "",
|
|
"dst": "service",
|
|
"dstArrow": "triangle",
|
|
"dstLabel": "",
|
|
"opacity": 1,
|
|
"strokeDash": 0,
|
|
"strokeWidth": 2,
|
|
"stroke": "#0D32B2",
|
|
"label": "make request for something that is quite far away and requires a really long label to take all the space between the objects",
|
|
"fontSize": 16,
|
|
"fontFamily": "DEFAULT",
|
|
"language": "",
|
|
"color": "#676C7E",
|
|
"italic": true,
|
|
"bold": false,
|
|
"underline": false,
|
|
"labelWidth": 801,
|
|
"labelHeight": 21,
|
|
"labelPosition": "OUTSIDE_TOP_CENTER",
|
|
"labelPercentage": 0,
|
|
"route": [
|
|
{
|
|
"x": 563,
|
|
"y": 600
|
|
},
|
|
{
|
|
"x": 1944,
|
|
"y": 600
|
|
}
|
|
],
|
|
"animated": false,
|
|
"tooltip": "",
|
|
"icon": null,
|
|
"zIndex": 0
|
|
},
|
|
{
|
|
"id": "(service -> db)[0]",
|
|
"src": "service",
|
|
"srcArrow": "none",
|
|
"srcLabel": "",
|
|
"dst": "db",
|
|
"dstArrow": "triangle",
|
|
"dstLabel": "",
|
|
"opacity": 1,
|
|
"strokeDash": 0,
|
|
"strokeWidth": 2,
|
|
"stroke": "#0D32B2",
|
|
"label": "validate credentials",
|
|
"fontSize": 16,
|
|
"fontFamily": "DEFAULT",
|
|
"language": "",
|
|
"color": "#676C7E",
|
|
"italic": true,
|
|
"bold": false,
|
|
"underline": false,
|
|
"labelWidth": 131,
|
|
"labelHeight": 21,
|
|
"labelPosition": "OUTSIDE_BOTTOM_CENTER",
|
|
"labelPercentage": 0,
|
|
"route": [
|
|
{
|
|
"x": 1944,
|
|
"y": 750
|
|
},
|
|
{
|
|
"x": 1008,
|
|
"y": 750
|
|
}
|
|
],
|
|
"animated": false,
|
|
"tooltip": "",
|
|
"icon": null,
|
|
"zIndex": 0
|
|
},
|
|
{
|
|
"id": "(db -> service)[0]",
|
|
"src": "db",
|
|
"srcArrow": "none",
|
|
"srcLabel": "",
|
|
"dst": "service",
|
|
"dstArrow": "triangle",
|
|
"dstLabel": "",
|
|
"opacity": 1,
|
|
"strokeDash": 4,
|
|
"strokeWidth": 2,
|
|
"stroke": "#0D32B2",
|
|
"label": "",
|
|
"fontSize": 16,
|
|
"fontFamily": "DEFAULT",
|
|
"language": "",
|
|
"color": "#676C7E",
|
|
"italic": true,
|
|
"bold": false,
|
|
"underline": false,
|
|
"labelWidth": 0,
|
|
"labelHeight": 0,
|
|
"labelPosition": "",
|
|
"labelPercentage": 0,
|
|
"route": [
|
|
{
|
|
"x": 1008,
|
|
"y": 900
|
|
},
|
|
{
|
|
"x": 1944,
|
|
"y": 900
|
|
}
|
|
],
|
|
"animated": false,
|
|
"tooltip": "",
|
|
"icon": null,
|
|
"zIndex": 0
|
|
},
|
|
{
|
|
"id": "(service -> bob)[0]",
|
|
"src": "service",
|
|
"srcArrow": "none",
|
|
"srcLabel": "",
|
|
"dst": "bob",
|
|
"dstArrow": "triangle",
|
|
"dstLabel": "",
|
|
"opacity": 1,
|
|
"strokeDash": 4,
|
|
"strokeWidth": 2,
|
|
"stroke": "#0D32B2",
|
|
"label": "",
|
|
"fontSize": 16,
|
|
"fontFamily": "DEFAULT",
|
|
"language": "",
|
|
"color": "#676C7E",
|
|
"italic": true,
|
|
"bold": false,
|
|
"underline": false,
|
|
"labelWidth": 0,
|
|
"labelHeight": 0,
|
|
"labelPosition": "",
|
|
"labelPercentage": 0,
|
|
"route": [
|
|
{
|
|
"x": 1944,
|
|
"y": 1050
|
|
},
|
|
{
|
|
"x": 563,
|
|
"y": 1050
|
|
}
|
|
],
|
|
"animated": false,
|
|
"tooltip": "",
|
|
"icon": null,
|
|
"zIndex": 0
|
|
},
|
|
{
|
|
"id": "(bob -> alice)[0]",
|
|
"src": "bob",
|
|
"srcArrow": "none",
|
|
"srcLabel": "",
|
|
"dst": "alice",
|
|
"dstArrow": "triangle",
|
|
"dstLabel": "",
|
|
"opacity": 1,
|
|
"strokeDash": 0,
|
|
"strokeWidth": 2,
|
|
"stroke": "#0D32B2",
|
|
"label": "Authentication Response",
|
|
"fontSize": 16,
|
|
"fontFamily": "DEFAULT",
|
|
"language": "",
|
|
"color": "#676C7E",
|
|
"italic": true,
|
|
"bold": false,
|
|
"underline": false,
|
|
"labelWidth": 164,
|
|
"labelHeight": 21,
|
|
"labelPosition": "OUTSIDE_BOTTOM_CENTER",
|
|
"labelPercentage": 0,
|
|
"route": [
|
|
{
|
|
"x": 553,
|
|
"y": 1200
|
|
},
|
|
{
|
|
"x": 98.5,
|
|
"y": 1200
|
|
}
|
|
],
|
|
"animated": false,
|
|
"tooltip": "",
|
|
"icon": null,
|
|
"zIndex": 0
|
|
},
|
|
{
|
|
"id": "(alice -> bob)[1]",
|
|
"src": "alice",
|
|
"srcArrow": "none",
|
|
"srcLabel": "",
|
|
"dst": "bob",
|
|
"dstArrow": "triangle",
|
|
"dstLabel": "",
|
|
"opacity": 1,
|
|
"strokeDash": 0,
|
|
"strokeWidth": 2,
|
|
"stroke": "#0D32B2",
|
|
"label": "Another authentication Request",
|
|
"fontSize": 16,
|
|
"fontFamily": "DEFAULT",
|
|
"language": "",
|
|
"color": "#676C7E",
|
|
"italic": true,
|
|
"bold": false,
|
|
"underline": false,
|
|
"labelWidth": 210,
|
|
"labelHeight": 21,
|
|
"labelPosition": "OUTSIDE_TOP_CENTER",
|
|
"labelPercentage": 0,
|
|
"route": [
|
|
{
|
|
"x": 98.5,
|
|
"y": 1350
|
|
},
|
|
{
|
|
"x": 553,
|
|
"y": 1350
|
|
}
|
|
],
|
|
"animated": false,
|
|
"tooltip": "",
|
|
"icon": null,
|
|
"zIndex": 0
|
|
},
|
|
{
|
|
"id": "(bob -> queue)[0]",
|
|
"src": "bob",
|
|
"srcArrow": "none",
|
|
"srcLabel": "",
|
|
"dst": "queue",
|
|
"dstArrow": "triangle",
|
|
"dstLabel": "",
|
|
"opacity": 1,
|
|
"strokeDash": 0,
|
|
"strokeWidth": 2,
|
|
"stroke": "#0D32B2",
|
|
"label": "do it later",
|
|
"fontSize": 16,
|
|
"fontFamily": "DEFAULT",
|
|
"language": "",
|
|
"color": "#676C7E",
|
|
"italic": true,
|
|
"bold": false,
|
|
"underline": false,
|
|
"labelWidth": 65,
|
|
"labelHeight": 21,
|
|
"labelPosition": "OUTSIDE_TOP_CENTER",
|
|
"labelPercentage": 0,
|
|
"route": [
|
|
{
|
|
"x": 563,
|
|
"y": 1500
|
|
},
|
|
{
|
|
"x": 1451.5,
|
|
"y": 1500
|
|
}
|
|
],
|
|
"animated": false,
|
|
"tooltip": "",
|
|
"icon": null,
|
|
"zIndex": 0
|
|
},
|
|
{
|
|
"id": "(queue -> bob)[0]",
|
|
"src": "queue",
|
|
"srcArrow": "none",
|
|
"srcLabel": "",
|
|
"dst": "bob",
|
|
"dstArrow": "triangle",
|
|
"dstLabel": "",
|
|
"opacity": 1,
|
|
"strokeDash": 3,
|
|
"strokeWidth": 5,
|
|
"stroke": "green",
|
|
"label": "stored",
|
|
"fontSize": 16,
|
|
"fontFamily": "DEFAULT",
|
|
"language": "",
|
|
"color": "#676C7E",
|
|
"italic": true,
|
|
"bold": false,
|
|
"underline": false,
|
|
"labelWidth": 44,
|
|
"labelHeight": 21,
|
|
"labelPosition": "OUTSIDE_BOTTOM_CENTER",
|
|
"labelPercentage": 0,
|
|
"route": [
|
|
{
|
|
"x": 1451.5,
|
|
"y": 1650
|
|
},
|
|
{
|
|
"x": 563,
|
|
"y": 1650
|
|
}
|
|
],
|
|
"animated": false,
|
|
"tooltip": "",
|
|
"icon": null,
|
|
"zIndex": 0
|
|
},
|
|
{
|
|
"id": "(bob -> alice)[1]",
|
|
"src": "bob",
|
|
"srcArrow": "none",
|
|
"srcLabel": "",
|
|
"dst": "alice",
|
|
"dstArrow": "triangle",
|
|
"dstLabel": "",
|
|
"opacity": 1,
|
|
"strokeDash": 0,
|
|
"strokeWidth": 2,
|
|
"stroke": "#0D32B2",
|
|
"label": "Another authentication Response",
|
|
"fontSize": 16,
|
|
"fontFamily": "DEFAULT",
|
|
"language": "",
|
|
"color": "#676C7E",
|
|
"italic": true,
|
|
"bold": false,
|
|
"underline": false,
|
|
"labelWidth": 219,
|
|
"labelHeight": 21,
|
|
"labelPosition": "OUTSIDE_BOTTOM_CENTER",
|
|
"labelPercentage": 0,
|
|
"route": [
|
|
{
|
|
"x": 553,
|
|
"y": 1800
|
|
},
|
|
{
|
|
"x": 98.5,
|
|
"y": 1800
|
|
}
|
|
],
|
|
"animated": false,
|
|
"tooltip": "",
|
|
"icon": null,
|
|
"zIndex": 0
|
|
},
|
|
{
|
|
"id": "(alice -- )[0]",
|
|
"src": "alice",
|
|
"srcArrow": "none",
|
|
"srcLabel": "",
|
|
"dst": "alice-lifeline-end-3851299086",
|
|
"dstArrow": "none",
|
|
"dstLabel": "",
|
|
"opacity": 1,
|
|
"strokeDash": 10,
|
|
"strokeWidth": 2,
|
|
"stroke": "red",
|
|
"label": "",
|
|
"fontSize": 16,
|
|
"fontFamily": "DEFAULT",
|
|
"language": "",
|
|
"color": "#676C7E",
|
|
"italic": true,
|
|
"bold": false,
|
|
"underline": false,
|
|
"labelWidth": 0,
|
|
"labelHeight": 0,
|
|
"labelPosition": "",
|
|
"labelPercentage": 0,
|
|
"route": [
|
|
{
|
|
"x": 93.5,
|
|
"y": 300
|
|
},
|
|
{
|
|
"x": 93.5,
|
|
"y": 1950
|
|
}
|
|
],
|
|
"animated": false,
|
|
"tooltip": "",
|
|
"icon": null,
|
|
"zIndex": 0
|
|
},
|
|
{
|
|
"id": "(bob -- )[0]",
|
|
"src": "bob",
|
|
"srcArrow": "none",
|
|
"srcLabel": "",
|
|
"dst": "bob-lifeline-end-3036726343",
|
|
"dstArrow": "none",
|
|
"dstLabel": "",
|
|
"opacity": 1,
|
|
"strokeDash": 10,
|
|
"strokeWidth": 5,
|
|
"stroke": "#0D32B2",
|
|
"label": "",
|
|
"fontSize": 16,
|
|
"fontFamily": "DEFAULT",
|
|
"language": "",
|
|
"color": "#676C7E",
|
|
"italic": true,
|
|
"bold": false,
|
|
"underline": false,
|
|
"labelWidth": 0,
|
|
"labelHeight": 0,
|
|
"labelPosition": "",
|
|
"labelPercentage": 0,
|
|
"route": [
|
|
{
|
|
"x": 558,
|
|
"y": 300
|
|
},
|
|
{
|
|
"x": 558,
|
|
"y": 1950
|
|
}
|
|
],
|
|
"animated": false,
|
|
"tooltip": "",
|
|
"icon": null,
|
|
"zIndex": 0
|
|
},
|
|
{
|
|
"id": "(db -- )[0]",
|
|
"src": "db",
|
|
"srcArrow": "none",
|
|
"srcLabel": "",
|
|
"dst": "db-lifeline-end-2675250554",
|
|
"dstArrow": "none",
|
|
"dstLabel": "",
|
|
"opacity": 1,
|
|
"strokeDash": 10,
|
|
"strokeWidth": 2,
|
|
"stroke": "#0D32B2",
|
|
"label": "",
|
|
"fontSize": 16,
|
|
"fontFamily": "DEFAULT",
|
|
"language": "",
|
|
"color": "#676C7E",
|
|
"italic": true,
|
|
"bold": false,
|
|
"underline": false,
|
|
"labelWidth": 0,
|
|
"labelHeight": 0,
|
|
"labelPosition": "",
|
|
"labelPercentage": 0,
|
|
"route": [
|
|
{
|
|
"x": 1003,
|
|
"y": 300
|
|
},
|
|
{
|
|
"x": 1003,
|
|
"y": 1950
|
|
}
|
|
],
|
|
"animated": false,
|
|
"tooltip": "",
|
|
"icon": null,
|
|
"zIndex": 0
|
|
},
|
|
{
|
|
"id": "(queue -- )[0]",
|
|
"src": "queue",
|
|
"srcArrow": "none",
|
|
"srcLabel": "",
|
|
"dst": "queue-lifeline-end-1097346683",
|
|
"dstArrow": "none",
|
|
"dstLabel": "",
|
|
"opacity": 1,
|
|
"strokeDash": 10,
|
|
"strokeWidth": 2,
|
|
"stroke": "#0D32B2",
|
|
"label": "",
|
|
"fontSize": 16,
|
|
"fontFamily": "DEFAULT",
|
|
"language": "",
|
|
"color": "#676C7E",
|
|
"italic": true,
|
|
"bold": false,
|
|
"underline": false,
|
|
"labelWidth": 0,
|
|
"labelHeight": 0,
|
|
"labelPosition": "",
|
|
"labelPercentage": 0,
|
|
"route": [
|
|
{
|
|
"x": 1456.5,
|
|
"y": 300
|
|
},
|
|
{
|
|
"x": 1456.5,
|
|
"y": 1950
|
|
}
|
|
],
|
|
"animated": false,
|
|
"tooltip": "",
|
|
"icon": null,
|
|
"zIndex": 0
|
|
},
|
|
{
|
|
"id": "(service -- )[0]",
|
|
"src": "service",
|
|
"srcArrow": "none",
|
|
"srcLabel": "",
|
|
"dst": "service-lifeline-end-22863415",
|
|
"dstArrow": "none",
|
|
"dstLabel": "",
|
|
"opacity": 1,
|
|
"strokeDash": 10,
|
|
"strokeWidth": 2,
|
|
"stroke": "#0D32B2",
|
|
"label": "",
|
|
"fontSize": 16,
|
|
"fontFamily": "DEFAULT",
|
|
"language": "",
|
|
"color": "#676C7E",
|
|
"italic": true,
|
|
"bold": false,
|
|
"underline": false,
|
|
"labelWidth": 0,
|
|
"labelHeight": 0,
|
|
"labelPosition": "",
|
|
"labelPercentage": 0,
|
|
"route": [
|
|
{
|
|
"x": 1949,
|
|
"y": 300
|
|
},
|
|
{
|
|
"x": 1949,
|
|
"y": 1950
|
|
}
|
|
],
|
|
"animated": false,
|
|
"tooltip": "",
|
|
"icon": null,
|
|
"zIndex": 0
|
|
}
|
|
]
|
|
}
|