From: Jérôme Benoit Date: Wed, 14 Mar 2018 21:44:41 +0000 (+0100) Subject: TD2: Add activity diagram to exo1. X-Git-Url: https://git.piment-noir.org/?p=TD_ACO.git;a=commitdiff_plain;h=a2105c0103ebc9953929ac5c08cbc0d29898fba2 TD2: Add activity diagram to exo1. Signed-off-by: Jérôme Benoit --- diff --git a/TD2/exo1.uxf b/TD2/exo1.uxf index 1b5da3c..8f82317 100644 --- a/TD2/exo1.uxf +++ b/TD2/exo1.uxf @@ -3,7 +3,7 @@ UMLGeneric - 320 + 270 0 510 570 @@ -15,7 +15,7 @@ halign=center UMLUseCase - 360 + 310 110 120 40 @@ -26,7 +26,7 @@ halign=center UMLUseCase - 360 + 310 180 120 40 @@ -37,7 +37,7 @@ halign=center UMLUseCase - 360 + 310 250 120 40 @@ -48,7 +48,7 @@ halign=center Relation - 110 + 60 110 270 40 @@ -59,7 +59,7 @@ halign=center UMLUseCase - 570 + 520 180 120 40 @@ -70,7 +70,7 @@ halign=center UMLActor - 80 + 30 480 60 100 @@ -81,7 +81,7 @@ halign=center UMLActor - 50 + 0 100 120 100 @@ -92,7 +92,7 @@ halign=center Relation - 100 + 50 180 30 320 @@ -103,7 +103,7 @@ halign=center UMLGeneric - 890 + 840 490 170 40 @@ -116,7 +116,7 @@ valign=center UMLGeneric - 890 + 840 150 130 40 @@ -129,7 +129,7 @@ valign=center UMLUseCase - 360 + 310 490 120 40 @@ -140,7 +140,7 @@ valign=center Relation - 470 + 420 120 130 90 @@ -152,7 +152,7 @@ valign=center Relation - 110 + 60 490 270 40 @@ -163,7 +163,7 @@ valign=center UMLUseCase - 570 + 520 110 120 40 @@ -174,7 +174,7 @@ valign=center Relation - 470 + 420 110 120 40 @@ -186,7 +186,7 @@ valign=center UMLNote - 360 + 310 40 320 50 @@ -198,7 +198,7 @@ bg=white Relation - 510 + 460 80 30 70 @@ -209,7 +209,7 @@ bg=white Relation - 410 + 360 120 400 390 @@ -221,7 +221,7 @@ bg=white UMLNote - 390 + 340 380 320 50 @@ -233,7 +233,7 @@ bg=white Relation - 550 + 500 420 30 60 @@ -244,7 +244,7 @@ bg=white Relation - 470 + 420 490 440 40 @@ -255,7 +255,7 @@ bg=white Relation - 470 + 420 180 120 40 @@ -267,7 +267,7 @@ bg=white Relation - 470 + 420 200 130 90 @@ -279,7 +279,7 @@ bg=white UMLUseCase - 330 + 280 320 120 40 @@ -290,7 +290,7 @@ bg=white UMLUseCase - 460 + 410 320 120 40 @@ -301,7 +301,7 @@ bg=white Relation - 380 + 330 290 160 50 @@ -312,7 +312,7 @@ bg=white Relation - 410 + 360 280 30 50 @@ -323,7 +323,7 @@ bg=white Relation - 460 + 410 190 370 330 @@ -335,7 +335,7 @@ bg=white Relation - 410 + 360 80 560 90 @@ -346,7 +346,7 @@ bg=white Relation - 470 + 420 180 500 110 @@ -357,7 +357,7 @@ bg=white Relation - 410 + 360 180 540 90 @@ -368,7 +368,7 @@ bg=white UMLNote - 210 + 160 590 760 240 @@ -393,7 +393,7 @@ bg=blue UMLNote - 210 + 160 860 760 340 @@ -424,7 +424,7 @@ bg=blue UMLGeneric - 210 + 160 1240 100 30 @@ -435,7 +435,7 @@ bg=blue UMLGeneric - 500 + 450 1240 100 30 @@ -446,18 +446,18 @@ bg=blue Relation - 250 + 200 1260 30 - 640 + 630 lt=. - 10.0;10.0;10.0;620.0 + 10.0;10.0;10.0;610.0 Relation - 540 + 490 1260 30 640 @@ -468,7 +468,7 @@ bg=blue Relation - 830 + 780 1260 30 640 @@ -479,7 +479,7 @@ bg=blue UMLGeneric - 770 + 720 1240 150 30 @@ -490,7 +490,7 @@ bg=blue Relation - 260 + 210 1290 300 40 @@ -502,7 +502,7 @@ Introduire carte UMLGeneric - 250 + 200 1280 20 60 @@ -513,7 +513,7 @@ Introduire carte UMLGeneric - 540 + 490 1300 20 70 @@ -524,7 +524,7 @@ Introduire carte Relation - 550 + 500 1300 200 80 @@ -536,7 +536,7 @@ Verification carte UMLGeneric - 250 + 200 1350 20 60 @@ -547,7 +547,7 @@ Verification carte Relation - 260 + 210 1340 300 40 @@ -559,7 +559,7 @@ Demande code UMLGeneric - 540 + 490 1390 20 70 @@ -570,7 +570,7 @@ Demande code Relation - 260 + 210 1380 300 40 @@ -582,7 +582,7 @@ Saisir code Relation - 550 + 500 1390 200 80 @@ -594,7 +594,7 @@ Verification code UMLGeneric - 250 + 200 1440 20 60 @@ -605,7 +605,7 @@ Verification code Relation - 260 + 210 1430 300 40 @@ -617,7 +617,7 @@ Demande montant UMLGeneric - 540 + 490 1480 20 70 @@ -628,7 +628,7 @@ Demande montant Relation - 260 + 210 1470 300 40 @@ -640,7 +640,7 @@ Saisir montant UMLGeneric - 830 + 780 1480 20 70 @@ -651,7 +651,7 @@ Saisir montant Relation - 550 + 500 1470 300 40 @@ -663,7 +663,7 @@ Montant retrait Relation - 840 + 790 1480 200 80 @@ -675,7 +675,7 @@ Verification solde Relation - 550 + 500 1520 300 40 @@ -687,7 +687,7 @@ Autorisation retrait UMLGeneric - 250 + 200 1530 20 60 @@ -698,7 +698,7 @@ Autorisation retrait Relation - 260 + 210 1520 300 40 @@ -710,7 +710,7 @@ Demande ticket Relation - 260 + 210 1560 300 40 @@ -722,7 +722,7 @@ Validation ticket UMLGeneric - 540 + 490 1570 20 60 @@ -733,7 +733,7 @@ Validation ticket Relation - 260 + 210 1600 300 40 @@ -745,7 +745,7 @@ Ejection carte UMLGeneric - 250 + 200 1610 20 60 @@ -756,7 +756,7 @@ Ejection carte UMLGeneric - 540 + 490 1650 20 60 @@ -767,7 +767,7 @@ Ejection carte Relation - 260 + 210 1640 300 40 @@ -779,7 +779,7 @@ Recuperation carte Relation - 260 + 210 1680 300 40 @@ -791,7 +791,7 @@ Ejection carte UMLGeneric - 250 + 200 1690 20 60 @@ -802,7 +802,7 @@ Ejection carte UMLGeneric - 540 + 490 1730 20 60 @@ -813,7 +813,7 @@ Ejection carte Relation - 260 + 210 1720 300 50 @@ -826,7 +826,7 @@ Récuperation carte UMLGeneric - 250 + 200 1770 20 60 @@ -837,7 +837,7 @@ Récuperation carte Relation - 260 + 210 1760 300 40 @@ -849,7 +849,7 @@ Ejection billet et ticket UMLGeneric - 540 + 490 1810 20 60 @@ -860,7 +860,7 @@ Ejection billet et ticket Relation - 260 + 210 1800 300 40 @@ -872,7 +872,7 @@ Recuperation billets et ticket UMLGeneric - 830 + 780 1810 20 60 @@ -883,7 +883,7 @@ Recuperation billets et ticket Relation - 550 + 500 1800 300 40 @@ -895,24 +895,583 @@ Transaction UMLObject - 240 + 190 1910 - 610 - 570 + 950 + 1790 DAB -valign=top +valign=top +layer=-1 UMLState - 490 + 430 1970 + 140 + 40 + + Verification carte + + + + UMLSpecialState + + 330 + 1980 + 20 + 20 + + type=initial + + + + Relation + + 340 + 1980 + 110 + 30 + + lt=<- + 90.0;10.0;10.0;10.0 + + + UMLSpecialState + + 480 + 2070 + 40 + 40 + + type=decision + + + + Relation + + 490 + 2000 + 30 + 90 + + lt=<- + 10.0;70.0;10.0;10.0 + + + UMLState + + 730 + 2070 + 160 + 40 + + Annuler transaction + + + + Relation + + 510 + 2070 + 240 + 40 + + lt=<- +[carte non valide] + 220.0;20.0;10.0;20.0 + + + UMLSpecialState + + 800 + 2210 + 20 + 20 + + type=final + + + + Relation + + 800 + 2100 + 30 + 130 + + lt=<- + 10.0;110.0;10.0;10.0 + + + UMLState + + 430 + 2200 + 140 + 40 + + Verification code + + + + Relation + + 490 + 2100 120 + 120 + + lt=<- +[carte valide] + 10.0;100.0;10.0;10.0 + + + UMLSpecialState + + 480 + 2350 + 40 + 40 + + type=decision + + + + Relation + + 490 + 2230 + 30 + 140 + + lt=<- + + 10.0;120.0;10.0;10.0 + + + Relation + + 320 + 2210 + 180 + 180 + + lt=<- +[Non Ok 1 ou 2 fois] + 110.0;10.0;10.0;10.0;10.0;160.0;160.0;160.0 + + + Relation + + 510 + 2350 + 240 + 50 + + lt=<- + +[Non Ok 3 fois] + 220.0;20.0;10.0;20.0 + + + UMLState + + 410 + 2470 + 180 + 40 + + Demande automatique + + + + Relation + + 490 + 2380 + 60 + 110 + + lt=<- +[Ok] + 10.0;90.0;10.0;10.0 + + + UMLSpecialState + + 730 + 2350 + 40 + 40 + + type=decision + + + + Relation + + 740 + 2100 + 30 + 270 + + lt=<- + 10.0;10.0;10.0;250.0 + + + UMLSpecialState + + 480 + 2570 + 40 40 - Insertion carte + type=decision + + Relation + + 490 + 2500 + 30 + 90 + + lt=<- + 10.0;70.0;10.0;10.0 + + + Relation + + 510 + 2380 + 350 + 230 + + lt=<- +[solde <= 0] + 240.0;10.0;240.0;210.0;10.0;210.0 + + + UMLState + + 450 + 2710 + 100 + 40 + + Faire retrait + + + + Relation + + 490 + 2600 + 100 + 130 + + lt=<- +[solde > 0] + 10.0;110.0;10.0;10.0 + + + Relation + + 280 + 2720 + 220 + 130 + + lt=<- +[solde > retrait 1 ou 2 fois] + 170.0;10.0;10.0;10.0;10.0;110.0;200.0;110.0 + + + UMLState + + 440 + 2920 + 130 + 40 + + Demande ticket + + + + UMLSpecialState + + 480 + 2810 + 40 + 40 + + type=decision + + + + Relation + + 490 + 2740 + 30 + 90 + + lt=<- + 10.0;70.0;10.0;10.0 + + + Relation + + 510 + 2360 + 530 + 490 + + lt=<- +[solde > retrait 3 fois] + 260.0;10.0;360.0;10.0;360.0;470.0;10.0;470.0 + + + Relation + + 490 + 2840 + 150 + 100 + + lt=<- +[retrait <= solde] + 10.0;80.0;10.0;10.0 + + + UMLState + + 450 + 3020 + 100 + 40 + + Ejecter carte + + + + Relation + + 490 + 2950 + 30 + 90 + + lt=<- + 10.0;70.0;10.0;10.0 + + + UMLSpecialState + + 480 + 3110 + 40 + 40 + + type=decision + + + + Relation + + 490 + 3050 + 30 + 80 + + lt=<- + 10.0;60.0;10.0;10.0 + + + Relation + + 510 + 3110 + 450 + 40 + + lt=<- +[carte non récupérée] + 430.0;20.0;10.0;20.0 + + + UMLSpecialState + + 940 + 3110 + 40 + 40 + + type=decision + + + + Relation + + 880 + 2080 + 100 + 1050 + + lt=<- +layer=0 + 10.0;10.0;80.0;10.0;80.0;1030.0 + + + UMLSyncBarHorizontal + + 370 + 3250 + 300 + 20 + + lw=5 + + + + + Relation + + 490 + 3140 + 150 + 140 + + lt=<- +[carte récupérée] + 10.0;120.0;10.0;10.0 + + + UMLState + + 350 + 3360 + 120 + 40 + + Imprimer ticket + + + + UMLState + + 570 + 3360 + 120 + 40 + + Ejecter billets + + + + Relation + + 400 + 3250 + 30 + 130 + + lt=<- + 10.0;110.0;10.0;10.0 + + + Relation + + 620 + 3250 + 30 + 130 + + lt=<- + 10.0;110.0;10.0;10.0 + + + UMLSpecialState + + 610 + 3460 + 40 + 40 + + type=decision + + + + Relation + + 620 + 3390 + 30 + 90 + + lt=<- + 10.0;70.0;10.0;10.0 + + + Relation + + 640 + 3140 + 490 + 360 + + lt=<- +[billets non récupérés] + 320.0;10.0;320.0;340.0;10.0;340.0 + + + UMLSyncBarHorizontal + + 370 + 3540 + 300 + 20 + + lw=5 + + + + + Relation + + 620 + 3490 + 150 + 80 + + lt=<- +[billets récupérés] + 10.0;60.0;10.0;10.0 + + + Relation + + 400 + 3390 + 30 + 180 + + lt=<- + 10.0;160.0;10.0;10.0 + + + Relation + + 490 + 2210 + 580 + 1430 + + lt=<- + 330.0;10.0;560.0;10.0;560.0;1410.0;10.0;1410.0;10.0;1340.0 +