FAMBL 1 год назад
Родитель
Сommit
59c008aa6f
1 измененных файлов с 17 добавлено и 13 удалено
  1. 17 13
      test/mrs.plantuml

+ 17 - 13
test/mrs.plantuml

@@ -12,30 +12,31 @@ database "Database_Con" {
 }
 
 component "CDMS_Pub"{
-    port MRS1
+    [MRS1]
 
 }
 
 component "CDMS_Con"{
-    port MRS2
+    [MRS2]
 }
 
 component "Publisher"{
-    port MRS_Pub
-    [OBS1] - MRS_Pub
+    [OBS1] - [MRS_Pub]
+    [MRS_Pub]
 }
 
 component "Consumer"{
-    port MRS_Con
-    [OBS2] - MRS_Con
+    [MRS_Con]
+    [OBS2] - [MRS_Con]
 }
-
-[Messages] <.. MRS1
-[Messages2] <.. MRS2
-CDMS_Pub <.. MRS_Pub
-CDMS_Con <.. MRS_Con
-CDMS_Pub - CDMS_Con : Synchronization over MRS library
-OBS1 - OBS2 : Basic Synchronization
+ 
+[MRS1] -- [MRS2]
+[Messages] <. CDMS_Pub
+[Messages2] <. CDMS_Con
+[OBS1] .> CDMS_Pub
+[OBS2] .> CDMS_Con
+' CDMS_Pub - CDMS_Con : Synchronization over MRS library
+[MRS_Pub] -- [MRS_Con] : Basic Synchronization
 
 @enduml
 
@@ -47,3 +48,6 @@ OBS1 - OBS2 : Basic Synchronization
 ' to manage the message payload by leveraging the MRS library to do the synching
 ' MRS library will check the data loss by taking the specified data to be 
 ' compared and then perform retransmission if needed.
+
+' Rearrage the position
+' use MR_S_Pub1 MR_S_Con1 MR_S_Pub2 MR_S_Con2