TD1: Fix UML links.
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Wed, 7 Mar 2018 16:20:51 +0000 (17:20 +0100)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Wed, 7 Mar 2018 16:20:51 +0000 (17:20 +0100)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
TD1/exo1.uxf
TD1/exo2.uxf
TD1/exo3.uxf
TD1/exo4.uxf

index 8da98fd8efa6765fe0a665ec8bdb7c2c08049858..a78e9e439f1e19d91a2eaf607c0c0f3aa88f1637 100644 (file)
@@ -1,14 +1,17 @@
-<?xml version="1.0" encoding="UTF-8"?><diagram program="umlet" version="13.3">
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<diagram program="umlet" version="14.2">
   <zoom_level>10</zoom_level>
   <element>
     <id>UMLClass</id>
     <coordinates>
   <zoom_level>10</zoom_level>
   <element>
     <id>UMLClass</id>
     <coordinates>
-      <x>450</x>
+      <x>440</x>
       <y>360</y>
       <y>360</y>
-      <w>100</w>
-      <h>40</h>
+      <w>120</w>
+      <h>50</h>
     </coordinates>
     </coordinates>
-    <panel_attributes>Cercle</panel_attributes>
+    <panel_attributes>Cercle
+--
+-rayon:double</panel_attributes>
     <additional_attributes/>
   </element>
   <element>
     <additional_attributes/>
   </element>
   <element>
       <x>620</x>
       <y>360</y>
       <w>100</w>
       <x>620</x>
       <y>360</y>
       <w>100</w>
-      <h>40</h>
+      <h>50</h>
     </coordinates>
     </coordinates>
-    <panel_attributes>Segment</panel_attributes>
+    <panel_attributes>Segment
+--
+-pDest:Point</panel_attributes>
     <additional_attributes/>
   </element>
   <element>
     <additional_attributes/>
   </element>
   <element>
@@ -76,7 +81,7 @@
     </coordinates>
     <panel_attributes>/Forme/
 --
     </coordinates>
     <panel_attributes>/Forme/
 --
--pOri
+-pOri:Point
 --
 +getpOri():Point
 +deplacer(Point p)
 --
 +getpOri():Point
 +deplacer(Point p)
@@ -193,29 +198,6 @@ m2=1
 &lt; finit</panel_attributes>
     <additional_attributes>10.0;100.0;200.0;100.0;200.0;10.0</additional_attributes>
   </element>
 &lt; finit</panel_attributes>
     <additional_attributes>10.0;100.0;200.0;100.0;200.0;10.0</additional_attributes>
   </element>
-  <element>
-    <id>Relation</id>
-    <coordinates>
-      <x>640</x>
-      <y>120</y>
-      <w>170</w>
-      <h>30</h>
-    </coordinates>
-    <panel_attributes>lt=&lt;&lt;.</panel_attributes>
-    <additional_attributes>150.0;10.0;10.0;10.0</additional_attributes>
-  </element>
-  <element>
-    <id>Relation</id>
-    <coordinates>
-      <x>300</x>
-      <y>160</y>
-      <w>90</w>
-      <h>220</h>
-    </coordinates>
-    <panel_attributes>lt=&lt;&lt;&lt;&lt;-
-m2=*</panel_attributes>
-    <additional_attributes>10.0;200.0;10.0;10.0;70.0;10.0</additional_attributes>
-  </element>
   <element>
     <id>UMLClass</id>
     <coordinates>
   <element>
     <id>UMLClass</id>
     <coordinates>
@@ -227,18 +209,6 @@ m2=*</panel_attributes>
     <panel_attributes>Maillon</panel_attributes>
     <additional_attributes/>
   </element>
     <panel_attributes>Maillon</panel_attributes>
     <additional_attributes/>
   </element>
-  <element>
-    <id>Relation</id>
-    <coordinates>
-      <x>550</x>
-      <y>670</y>
-      <w>160</w>
-      <h>40</h>
-    </coordinates>
-    <panel_attributes>lt=&lt;&lt;&lt;&lt;-
-m2=*</panel_attributes>
-    <additional_attributes>10.0;10.0;140.0;10.0</additional_attributes>
-  </element>
   <element>
     <id>Relation</id>
     <coordinates>
   <element>
     <id>Relation</id>
     <coordinates>
@@ -313,4 +283,39 @@ m2=*</panel_attributes>
 </panel_attributes>
     <additional_attributes/>
   </element>
 </panel_attributes>
     <additional_attributes/>
   </element>
+  <element>
+    <id>Relation</id>
+    <coordinates>
+      <x>310</x>
+      <y>170</y>
+      <w>80</w>
+      <h>210</h>
+    </coordinates>
+    <panel_attributes>lt=&lt;&lt;&lt;&lt;&lt;-
+m2=*</panel_attributes>
+    <additional_attributes>10.0;190.0;10.0;10.0;60.0;10.0</additional_attributes>
+  </element>
+  <element>
+    <id>Relation</id>
+    <coordinates>
+      <x>550</x>
+      <y>670</y>
+      <w>160</w>
+      <h>40</h>
+    </coordinates>
+    <panel_attributes>lt=&lt;&lt;&lt;&lt;&lt;-
+m2=*</panel_attributes>
+    <additional_attributes>10.0;10.0;140.0;10.0</additional_attributes>
+  </element>
+  <element>
+    <id>Relation</id>
+    <coordinates>
+      <x>640</x>
+      <y>120</y>
+      <w>170</w>
+      <h>30</h>
+    </coordinates>
+    <panel_attributes>lt=&lt;.</panel_attributes>
+    <additional_attributes>150.0;10.0;10.0;10.0</additional_attributes>
+  </element>
 </diagram>
 </diagram>
index bc888f4f6e0339b8b5fb721bfe4911c40a4dc7bd..3bd95f16af6ba2312c5555cb57d9c1881db1b73a 100644 (file)
@@ -1,4 +1,5 @@
-<?xml version="1.0" encoding="UTF-8"?><diagram program="umlet" version="13.3">
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<diagram program="umlet" version="14.2">
   <zoom_level>10</zoom_level>
   <element>
     <id>UMLClass</id>
   <zoom_level>10</zoom_level>
   <element>
     <id>UMLClass</id>
@@ -21,8 +22,8 @@
     </coordinates>
     <panel_attributes>Compte
 --
     </coordinates>
     <panel_attributes>Compte
 --
--numero: int
--solde: double
+-numero:int
+-solde:double
 --
 +crediter()
 +debiter()
 --
 +crediter()
 +debiter()
@@ -47,7 +48,7 @@
   <element>
     <id>UMLClass</id>
     <coordinates>
   <element>
     <id>UMLClass</id>
     <coordinates>
-      <x>500</x>
+      <x>510</x>
       <y>550</y>
       <w>100</w>
       <h>30</h>
       <y>550</y>
       <w>100</w>
       <h>30</h>
@@ -83,13 +84,13 @@ possède &gt;</panel_attributes>
   <element>
     <id>Relation</id>
     <coordinates>
   <element>
     <id>Relation</id>
     <coordinates>
-      <x>540</x>
+      <x>550</x>
       <y>490</y>
       <y>490</y>
-      <w>380</w>
+      <w>370</w>
       <h>80</h>
     </coordinates>
     <panel_attributes>lt=-</panel_attributes>
       <h>80</h>
     </coordinates>
     <panel_attributes>lt=-</panel_attributes>
-    <additional_attributes>10.0;60.0;10.0;10.0;360.0;10.0;360.0;60.0</additional_attributes>
+    <additional_attributes>10.0;60.0;10.0;10.0;350.0;10.0;350.0;60.0</additional_attributes>
   </element>
   <element>
     <id>Relation</id>
   </element>
   <element>
     <id>Relation</id>
@@ -110,7 +111,7 @@ possède &gt;</panel_attributes>
       <w>30</w>
       <h>100</h>
     </coordinates>
       <w>30</w>
       <h>100</h>
     </coordinates>
-    <panel_attributes>lt=&lt;&lt;&lt;&lt;-
+    <panel_attributes>lt=&lt;&lt;&lt;&lt;&lt;-
 m2=*</panel_attributes>
     <additional_attributes>10.0;80.0;10.0;10.0</additional_attributes>
   </element>
 m2=*</panel_attributes>
     <additional_attributes>10.0;80.0;10.0;10.0</additional_attributes>
   </element>
index 10d14d4bea5f3423332976f51ba9fe71245165a0..39d62f6787b25ff940c63ba886df063fff3dbb47 100644 (file)
@@ -1,10 +1,11 @@
-<?xml version="1.0" encoding="UTF-8"?><diagram program="umlet" version="13.3">
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<diagram program="umlet" version="14.2">
   <zoom_level>10</zoom_level>
   <element>
     <id>UMLClass</id>
     <coordinates>
   <zoom_level>10</zoom_level>
   <element>
     <id>UMLClass</id>
     <coordinates>
-      <x>620</x>
-      <y>140</y>
+      <x>580</x>
+      <y>120</y>
       <w>220</w>
       <h>100</h>
     </coordinates>
       <w>220</w>
       <h>100</h>
     </coordinates>
@@ -19,8 +20,8 @@
   <element>
     <id>UMLClass</id>
     <coordinates>
   <element>
     <id>UMLClass</id>
     <coordinates>
-      <x>50</x>
-      <y>100</y>
+      <x>10</x>
+      <y>80</y>
       <w>260</w>
       <h>190</h>
     </coordinates>
       <w>260</w>
       <h>190</h>
     </coordinates>
@@ -44,8 +45,8 @@
   <element>
     <id>UMLClass</id>
     <coordinates>
   <element>
     <id>UMLClass</id>
     <coordinates>
-      <x>970</x>
-      <y>170</y>
+      <x>930</x>
+      <y>150</y>
       <w>100</w>
       <h>30</h>
     </coordinates>
       <w>100</w>
       <h>30</h>
     </coordinates>
   <element>
     <id>UMLClass</id>
     <coordinates>
   <element>
     <id>UMLClass</id>
     <coordinates>
-      <x>640</x>
-      <y>340</y>
+      <x>600</x>
+      <y>320</y>
       <w>190</w>
       <h>60</h>
     </coordinates>
     <panel_attributes>Pièce
 --
       <w>190</w>
       <h>60</h>
     </coordinates>
     <panel_attributes>Pièce
 --
--couleurs[]: String[]
+-couleurs[]:String[]
 </panel_attributes>
     <additional_attributes/>
   </element>
   <element>
     <id>UMLClass</id>
     <coordinates>
 </panel_attributes>
     <additional_attributes/>
   </element>
   <element>
     <id>UMLClass</id>
     <coordinates>
-      <x>540</x>
-      <y>530</y>
+      <x>500</x>
+      <y>510</y>
       <w>100</w>
       <h>30</h>
     </coordinates>
       <w>100</w>
       <h>30</h>
     </coordinates>
@@ -80,8 +81,8 @@
   <element>
     <id>UMLClass</id>
     <coordinates>
   <element>
     <id>UMLClass</id>
     <coordinates>
-      <x>830</x>
-      <y>520</y>
+      <x>790</x>
+      <y>500</y>
       <w>190</w>
       <h>50</h>
     </coordinates>
       <w>190</w>
       <h>50</h>
     </coordinates>
@@ -93,8 +94,8 @@
   <element>
     <id>Relation</id>
     <coordinates>
   <element>
     <id>Relation</id>
     <coordinates>
-      <x>830</x>
-      <y>170</y>
+      <x>790</x>
+      <y>150</y>
       <w>160</w>
       <h>30</h>
     </coordinates>
       <w>160</w>
       <h>30</h>
     </coordinates>
   <element>
     <id>Relation</id>
     <coordinates>
   <element>
     <id>Relation</id>
     <coordinates>
-      <x>720</x>
-      <y>230</y>
+      <x>680</x>
+      <y>210</y>
       <w>30</w>
       <h>130</h>
     </coordinates>
       <w>30</w>
       <h>130</h>
     </coordinates>
   <element>
     <id>UMLClass</id>
     <coordinates>
   <element>
     <id>UMLClass</id>
     <coordinates>
-      <x>460</x>
-      <y>610</y>
+      <x>420</x>
+      <y>590</y>
       <w>100</w>
       <h>50</h>
     </coordinates>
       <w>100</w>
       <h>50</h>
     </coordinates>
   <element>
     <id>UMLClass</id>
     <coordinates>
   <element>
     <id>UMLClass</id>
     <coordinates>
-      <x>620</x>
-      <y>610</y>
+      <x>580</x>
+      <y>590</y>
       <w>100</w>
       <h>50</h>
     </coordinates>
       <w>100</w>
       <h>50</h>
     </coordinates>
   <element>
     <id>UMLClass</id>
     <coordinates>
   <element>
     <id>UMLClass</id>
     <coordinates>
-      <x>760</x>
-      <y>610</y>
+      <x>720</x>
+      <y>590</y>
       <w>100</w>
       <h>30</h>
     </coordinates>
       <w>100</w>
       <h>30</h>
     </coordinates>
   <element>
     <id>UMLClass</id>
     <coordinates>
   <element>
     <id>UMLClass</id>
     <coordinates>
-      <x>870</x>
-      <y>610</y>
+      <x>830</x>
+      <y>590</y>
       <w>100</w>
       <h>30</h>
     </coordinates>
       <w>100</w>
       <h>30</h>
     </coordinates>
   <element>
     <id>UMLClass</id>
     <coordinates>
   <element>
     <id>UMLClass</id>
     <coordinates>
-      <x>980</x>
-      <y>610</y>
+      <x>940</x>
+      <y>590</y>
       <w>100</w>
       <h>30</h>
     </coordinates>
       <w>100</w>
       <h>30</h>
     </coordinates>
   <element>
     <id>Relation</id>
     <coordinates>
   <element>
     <id>Relation</id>
     <coordinates>
-      <x>580</x>
-      <y>490</y>
+      <x>540</x>
+      <y>470</y>
       <w>360</w>
       <h>60</h>
     </coordinates>
       <w>360</w>
       <h>60</h>
     </coordinates>
   <element>
     <id>Relation</id>
     <coordinates>
   <element>
     <id>Relation</id>
     <coordinates>
-      <x>720</x>
-      <y>390</y>
+      <x>680</x>
+      <y>370</y>
       <w>30</w>
       <h>130</h>
     </coordinates>
       <w>30</w>
       <h>130</h>
     </coordinates>
   <element>
     <id>Relation</id>
     <coordinates>
   <element>
     <id>Relation</id>
     <coordinates>
-      <x>500</x>
-      <y>580</y>
+      <x>460</x>
+      <y>560</y>
       <w>190</w>
       <h>50</h>
     </coordinates>
       <w>190</w>
       <h>50</h>
     </coordinates>
   <element>
     <id>Relation</id>
     <coordinates>
   <element>
     <id>Relation</id>
     <coordinates>
-      <x>800</x>
-      <y>580</y>
+      <x>760</x>
+      <y>560</y>
       <w>250</w>
       <h>50</h>
     </coordinates>
       <w>250</w>
       <h>50</h>
     </coordinates>
   <element>
     <id>Relation</id>
     <coordinates>
   <element>
     <id>Relation</id>
     <coordinates>
-      <x>910</x>
-      <y>560</y>
+      <x>870</x>
+      <y>540</y>
       <w>30</w>
       <h>70</h>
     </coordinates>
       <w>30</w>
       <h>70</h>
     </coordinates>
   <element>
     <id>Relation</id>
     <coordinates>
   <element>
     <id>Relation</id>
     <coordinates>
-      <x>580</x>
-      <y>550</y>
+      <x>540</x>
+      <y>530</y>
       <w>30</w>
       <h>60</h>
     </coordinates>
       <w>30</w>
       <h>60</h>
     </coordinates>
   <element>
     <id>UMLClass</id>
     <coordinates>
   <element>
     <id>UMLClass</id>
     <coordinates>
-      <x>920</x>
-      <y>330</y>
+      <x>880</x>
+      <y>310</y>
       <w>100</w>
       <h>50</h>
     </coordinates>
       <w>100</w>
       <h>50</h>
     </coordinates>
   <element>
     <id>Relation</id>
     <coordinates>
   <element>
     <id>Relation</id>
     <coordinates>
-      <x>960</x>
-      <y>370</y>
-      <w>30</w>
-      <h>170</h>
+      <x>260</x>
+      <y>160</y>
+      <w>340</w>
+      <h>40</h>
     </coordinates>
     </coordinates>
-    <panel_attributes>lt=&lt;&lt;&lt;&lt;-
+    <panel_attributes>lt=&lt;&lt;&lt;&lt;&lt;-
 m2=*</panel_attributes>
 m2=*</panel_attributes>
-    <additional_attributes>10.0;10.0;10.0;150.0</additional_attributes>
+    <additional_attributes>320.0;10.0;10.0;10.0</additional_attributes>
   </element>
   <element>
     <id>Relation</id>
     <coordinates>
   </element>
   <element>
     <id>Relation</id>
     <coordinates>
-      <x>300</x>
-      <y>180</y>
-      <w>340</w>
-      <h>40</h>
+      <x>920</x>
+      <y>350</y>
+      <w>30</w>
+      <h>170</h>
     </coordinates>
     </coordinates>
-    <panel_attributes>lt=&lt;&lt;&lt;&lt;-
+    <panel_attributes>lt=&lt;&lt;&lt;&lt;&lt;-
 m2=*</panel_attributes>
 m2=*</panel_attributes>
-    <additional_attributes>320.0;10.0;10.0;10.0</additional_attributes>
+    <additional_attributes>10.0;10.0;10.0;150.0</additional_attributes>
   </element>
 </diagram>
   </element>
 </diagram>
index 61feeeb22b7c562887d4aa460854d1bf9d0bfc2c..026bd2c401150c5fde9e1c9cf1d9ff504f839a96 100644 (file)
@@ -1,4 +1,5 @@
-<?xml version="1.0" encoding="UTF-8"?><diagram program="umlet" version="13.3">
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<diagram program="umlet" version="14.2">
   <zoom_level>10</zoom_level>
   <element>
     <id>UMLClass</id>
   <zoom_level>10</zoom_level>
   <element>
     <id>UMLClass</id>
       <h>50</h>
     </coordinates>
     <panel_attributes>lt=-
       <h>50</h>
     </coordinates>
     <panel_attributes>lt=-
-m1=1
+m1=*
 m2=1
 commence &gt;</panel_attributes>
     <additional_attributes>10.0;20.0;240.0;20.0</additional_attributes>
 m2=1
 commence &gt;</panel_attributes>
     <additional_attributes>10.0;20.0;240.0;20.0</additional_attributes>
@@ -157,7 +158,7 @@ commence &gt;</panel_attributes>
       <h>50</h>
     </coordinates>
     <panel_attributes>lt=-
       <h>50</h>
     </coordinates>
     <panel_attributes>lt=-
-m1=1
+m1=*
 m2=1
 finit &gt;</panel_attributes>
     <additional_attributes>10.0;20.0;240.0;20.0</additional_attributes>
 m2=1
 finit &gt;</panel_attributes>
     <additional_attributes>10.0;20.0;240.0;20.0</additional_attributes>
@@ -165,27 +166,26 @@ finit &gt;</panel_attributes>
   <element>
     <id>Relation</id>
     <coordinates>
   <element>
     <id>Relation</id>
     <coordinates>
-      <x>230</x>
-      <y>70</y>
-      <w>470</w>
-      <h>70</h>
+      <x>290</x>
+      <y>200</y>
+      <w>410</w>
+      <h>60</h>
     </coordinates>
     </coordinates>
-    <panel_attributes>lt=&lt;&lt;&lt;&lt;-
+    <panel_attributes>lt=&lt;&lt;&lt;&lt;&lt;-
 m2=*
 m2=*
-debute</panel_attributes>
-    <additional_attributes>10.0;50.0;10.0;20.0;450.0;20.0;450.0;50.0</additional_attributes>
+termine</panel_attributes>
+    <additional_attributes>10.0;10.0;10.0;40.0;390.0;40.0;390.0;10.0</additional_attributes>
   </element>
   <element>
     <id>Relation</id>
     <coordinates>
   </element>
   <element>
     <id>Relation</id>
     <coordinates>
-      <x>280</x>
-      <y>200</y>
-      <w>420</w>
+      <x>230</x>
+      <y>70</y>
+      <w>470</w>
       <h>70</h>
     </coordinates>
       <h>70</h>
     </coordinates>
-    <panel_attributes>lt=&lt;&lt;&lt;&lt;-
-m2=*
-termine</panel_attributes>
-    <additional_attributes>10.0;10.0;10.0;50.0;400.0;50.0;400.0;10.0</additional_attributes>
+    <panel_attributes>lt=&lt;&lt;&lt;&lt;&lt;-
+m2=*</panel_attributes>
+    <additional_attributes>10.0;50.0;10.0;10.0;450.0;10.0;450.0;50.0</additional_attributes>
   </element>
 </diagram>
   </element>
 </diagram>