792 lines
17 KiB
JSON
Generated
792 lines
17 KiB
JSON
Generated
{
|
|
"name": "",
|
|
"shapes": [
|
|
{
|
|
"id": "alice",
|
|
"type": "person",
|
|
"pos": {
|
|
"x": 24,
|
|
"y": 101
|
|
},
|
|
"width": 158,
|
|
"height": 158,
|
|
"opacity": 1,
|
|
"strokeDash": 0,
|
|
"strokeWidth": 2,
|
|
"borderRadius": 0,
|
|
"fill": "#EDF0FD",
|
|
"stroke": "red",
|
|
"shadow": false,
|
|
"3d": false,
|
|
"multiple": false,
|
|
"tooltip": "",
|
|
"link": "",
|
|
"icon": null,
|
|
"iconPosition": "",
|
|
"blend": false,
|
|
"fields": null,
|
|
"methods": null,
|
|
"columns": null,
|
|
"label": "Alice\nline\nbreaker",
|
|
"fontSize": 16,
|
|
"fontFamily": "DEFAULT",
|
|
"language": "",
|
|
"color": "#0A0F25",
|
|
"italic": false,
|
|
"bold": false,
|
|
"underline": false,
|
|
"labelWidth": 58,
|
|
"labelHeight": 58,
|
|
"labelPosition": "OUTSIDE_BOTTOM_CENTER",
|
|
"zIndex": 0,
|
|
"level": 1
|
|
},
|
|
{
|
|
"id": "bob",
|
|
"type": "person",
|
|
"pos": {
|
|
"x": 297,
|
|
"y": 165
|
|
},
|
|
"width": 150,
|
|
"height": 126,
|
|
"opacity": 1,
|
|
"strokeDash": 0,
|
|
"strokeWidth": 5,
|
|
"borderRadius": 0,
|
|
"fill": "#EDF0FD",
|
|
"stroke": "#0D32B2",
|
|
"shadow": false,
|
|
"3d": false,
|
|
"multiple": false,
|
|
"tooltip": "",
|
|
"link": "",
|
|
"icon": null,
|
|
"iconPosition": "",
|
|
"blend": false,
|
|
"fields": null,
|
|
"methods": null,
|
|
"columns": null,
|
|
"label": "Bob",
|
|
"fontSize": 16,
|
|
"fontFamily": "DEFAULT",
|
|
"language": "",
|
|
"color": "#0A0F25",
|
|
"italic": false,
|
|
"bold": false,
|
|
"underline": false,
|
|
"labelWidth": 32,
|
|
"labelHeight": 26,
|
|
"labelPosition": "OUTSIDE_BOTTOM_CENTER",
|
|
"zIndex": 0,
|
|
"level": 1
|
|
},
|
|
{
|
|
"id": "db",
|
|
"type": "cylinder",
|
|
"pos": {
|
|
"x": 614,
|
|
"y": 186
|
|
},
|
|
"width": 150,
|
|
"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": "",
|
|
"blend": false,
|
|
"fields": null,
|
|
"methods": null,
|
|
"columns": null,
|
|
"label": "db",
|
|
"fontSize": 16,
|
|
"fontFamily": "DEFAULT",
|
|
"language": "",
|
|
"color": "#0A0F25",
|
|
"italic": false,
|
|
"bold": false,
|
|
"underline": false,
|
|
"labelWidth": 23,
|
|
"labelHeight": 26,
|
|
"labelPosition": "INSIDE_MIDDLE_CENTER",
|
|
"zIndex": 0,
|
|
"level": 1
|
|
},
|
|
{
|
|
"id": "queue",
|
|
"type": "queue",
|
|
"pos": {
|
|
"x": 931,
|
|
"y": 186
|
|
},
|
|
"width": 150,
|
|
"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": "",
|
|
"blend": false,
|
|
"fields": null,
|
|
"methods": null,
|
|
"columns": null,
|
|
"label": "queue",
|
|
"fontSize": 16,
|
|
"fontFamily": "DEFAULT",
|
|
"language": "",
|
|
"color": "#0A0F25",
|
|
"italic": false,
|
|
"bold": false,
|
|
"underline": false,
|
|
"labelWidth": 48,
|
|
"labelHeight": 26,
|
|
"labelPosition": "INSIDE_MIDDLE_CENTER",
|
|
"zIndex": 0,
|
|
"level": 1
|
|
},
|
|
{
|
|
"id": "service",
|
|
"type": "",
|
|
"pos": {
|
|
"x": 1225,
|
|
"y": 74
|
|
},
|
|
"width": 197,
|
|
"height": 238,
|
|
"opacity": 1,
|
|
"strokeDash": 0,
|
|
"strokeWidth": 2,
|
|
"borderRadius": 0,
|
|
"fill": "#EDF0FD",
|
|
"stroke": "#0D32B2",
|
|
"shadow": false,
|
|
"3d": false,
|
|
"multiple": false,
|
|
"tooltip": "",
|
|
"link": "",
|
|
"icon": null,
|
|
"iconPosition": "",
|
|
"blend": false,
|
|
"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": false,
|
|
"underline": false,
|
|
"labelWidth": 97,
|
|
"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": "INSIDE_MIDDLE_CENTER",
|
|
"labelPercentage": 0,
|
|
"route": [
|
|
{
|
|
"x": 103,
|
|
"y": 442
|
|
},
|
|
{
|
|
"x": 372,
|
|
"y": 442
|
|
}
|
|
],
|
|
"animated": false,
|
|
"tooltip": "",
|
|
"icon": null,
|
|
"zIndex": 4
|
|
},
|
|
{
|
|
"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": "INSIDE_MIDDLE_CENTER",
|
|
"labelPercentage": 0,
|
|
"route": [
|
|
{
|
|
"x": 372,
|
|
"y": 572
|
|
},
|
|
{
|
|
"x": 1323.5,
|
|
"y": 572
|
|
}
|
|
],
|
|
"animated": false,
|
|
"tooltip": "",
|
|
"icon": null,
|
|
"zIndex": 4
|
|
},
|
|
{
|
|
"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": "INSIDE_MIDDLE_CENTER",
|
|
"labelPercentage": 0,
|
|
"route": [
|
|
{
|
|
"x": 1323.5,
|
|
"y": 702
|
|
},
|
|
{
|
|
"x": 689,
|
|
"y": 702
|
|
}
|
|
],
|
|
"animated": false,
|
|
"tooltip": "",
|
|
"icon": null,
|
|
"zIndex": 4
|
|
},
|
|
{
|
|
"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": 689,
|
|
"y": 832
|
|
},
|
|
{
|
|
"x": 1323.5,
|
|
"y": 832
|
|
}
|
|
],
|
|
"animated": false,
|
|
"tooltip": "",
|
|
"icon": null,
|
|
"zIndex": 4
|
|
},
|
|
{
|
|
"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": 1323.5,
|
|
"y": 962
|
|
},
|
|
{
|
|
"x": 372,
|
|
"y": 962
|
|
}
|
|
],
|
|
"animated": false,
|
|
"tooltip": "",
|
|
"icon": null,
|
|
"zIndex": 4
|
|
},
|
|
{
|
|
"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": "INSIDE_MIDDLE_CENTER",
|
|
"labelPercentage": 0,
|
|
"route": [
|
|
{
|
|
"x": 372,
|
|
"y": 1092
|
|
},
|
|
{
|
|
"x": 103,
|
|
"y": 1092
|
|
}
|
|
],
|
|
"animated": false,
|
|
"tooltip": "",
|
|
"icon": null,
|
|
"zIndex": 4
|
|
},
|
|
{
|
|
"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": "INSIDE_MIDDLE_CENTER",
|
|
"labelPercentage": 0,
|
|
"route": [
|
|
{
|
|
"x": 103,
|
|
"y": 1222
|
|
},
|
|
{
|
|
"x": 372,
|
|
"y": 1222
|
|
}
|
|
],
|
|
"animated": false,
|
|
"tooltip": "",
|
|
"icon": null,
|
|
"zIndex": 4
|
|
},
|
|
{
|
|
"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": "INSIDE_MIDDLE_CENTER",
|
|
"labelPercentage": 0,
|
|
"route": [
|
|
{
|
|
"x": 372,
|
|
"y": 1352
|
|
},
|
|
{
|
|
"x": 1006,
|
|
"y": 1352
|
|
}
|
|
],
|
|
"animated": false,
|
|
"tooltip": "",
|
|
"icon": null,
|
|
"zIndex": 4
|
|
},
|
|
{
|
|
"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": "INSIDE_MIDDLE_CENTER",
|
|
"labelPercentage": 0,
|
|
"route": [
|
|
{
|
|
"x": 1006,
|
|
"y": 1482
|
|
},
|
|
{
|
|
"x": 372,
|
|
"y": 1482
|
|
}
|
|
],
|
|
"animated": false,
|
|
"tooltip": "",
|
|
"icon": null,
|
|
"zIndex": 4
|
|
},
|
|
{
|
|
"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": "INSIDE_MIDDLE_CENTER",
|
|
"labelPercentage": 0,
|
|
"route": [
|
|
{
|
|
"x": 372,
|
|
"y": 1612
|
|
},
|
|
{
|
|
"x": 103,
|
|
"y": 1612
|
|
}
|
|
],
|
|
"animated": false,
|
|
"tooltip": "",
|
|
"icon": null,
|
|
"zIndex": 4
|
|
},
|
|
{
|
|
"id": "(alice -- )[0]",
|
|
"src": "alice",
|
|
"srcArrow": "none",
|
|
"srcLabel": "",
|
|
"dst": "alice-lifeline-end-3851299086",
|
|
"dstArrow": "none",
|
|
"dstLabel": "",
|
|
"opacity": 1,
|
|
"strokeDash": 6,
|
|
"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": 103,
|
|
"y": 317
|
|
},
|
|
{
|
|
"x": 103,
|
|
"y": 1742
|
|
}
|
|
],
|
|
"animated": false,
|
|
"tooltip": "",
|
|
"icon": null,
|
|
"zIndex": 1
|
|
},
|
|
{
|
|
"id": "(bob -- )[0]",
|
|
"src": "bob",
|
|
"srcArrow": "none",
|
|
"srcLabel": "",
|
|
"dst": "bob-lifeline-end-3036726343",
|
|
"dstArrow": "none",
|
|
"dstLabel": "",
|
|
"opacity": 1,
|
|
"strokeDash": 6,
|
|
"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": 372,
|
|
"y": 317
|
|
},
|
|
{
|
|
"x": 372,
|
|
"y": 1742
|
|
}
|
|
],
|
|
"animated": false,
|
|
"tooltip": "",
|
|
"icon": null,
|
|
"zIndex": 1
|
|
},
|
|
{
|
|
"id": "(db -- )[0]",
|
|
"src": "db",
|
|
"srcArrow": "none",
|
|
"srcLabel": "",
|
|
"dst": "db-lifeline-end-2675250554",
|
|
"dstArrow": "none",
|
|
"dstLabel": "",
|
|
"opacity": 1,
|
|
"strokeDash": 6,
|
|
"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": 689,
|
|
"y": 312
|
|
},
|
|
{
|
|
"x": 689,
|
|
"y": 1742
|
|
}
|
|
],
|
|
"animated": false,
|
|
"tooltip": "",
|
|
"icon": null,
|
|
"zIndex": 1
|
|
},
|
|
{
|
|
"id": "(queue -- )[0]",
|
|
"src": "queue",
|
|
"srcArrow": "none",
|
|
"srcLabel": "",
|
|
"dst": "queue-lifeline-end-1097346683",
|
|
"dstArrow": "none",
|
|
"dstLabel": "",
|
|
"opacity": 1,
|
|
"strokeDash": 6,
|
|
"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": 1006,
|
|
"y": 312
|
|
},
|
|
{
|
|
"x": 1006,
|
|
"y": 1742
|
|
}
|
|
],
|
|
"animated": false,
|
|
"tooltip": "",
|
|
"icon": null,
|
|
"zIndex": 1
|
|
},
|
|
{
|
|
"id": "(service -- )[0]",
|
|
"src": "service",
|
|
"srcArrow": "none",
|
|
"srcLabel": "",
|
|
"dst": "service-lifeline-end-22863415",
|
|
"dstArrow": "none",
|
|
"dstLabel": "",
|
|
"opacity": 1,
|
|
"strokeDash": 6,
|
|
"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": 1323.5,
|
|
"y": 312
|
|
},
|
|
{
|
|
"x": 1323.5,
|
|
"y": 1742
|
|
}
|
|
],
|
|
"animated": false,
|
|
"tooltip": "",
|
|
"icon": null,
|
|
"zIndex": 1
|
|
}
|
|
]
|
|
}
|