blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 227 | content_id stringlengths 40 40 | detected_licenses listlengths 0 28 | license_type stringclasses 2 values | repo_name stringlengths 6 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 61 values | visit_date timestamp[us]date 2015-08-14 10:26:58 2023-09-06 07:53:38 | revision_date timestamp[us]date 2011-01-31 21:28:29 2023-09-05 14:54:58 | committer_date timestamp[us]date 2011-01-31 21:28:29 2023-09-05 14:54:58 | github_id int64 206k 631M ⌀ | star_events_count int64 0 108k | fork_events_count int64 0 34.4k | gha_license_id stringclasses 13 values | gha_event_created_at timestamp[us]date 2012-08-01 17:54:24 2023-09-14 21:57:05 ⌀ | gha_created_at timestamp[us]date 2009-05-21 02:09:00 2023-04-21 10:18:22 ⌀ | gha_language stringclasses 79 values | src_encoding stringclasses 12 values | language stringclasses 1 value | is_vendor bool 1 class | is_generated bool 1 class | length_bytes int64 8 1.29M | extension stringclasses 17 values | code stringlengths 8 1.29M | non_uml bool 1 class | uml bool 1 class | has_non_ascii bool 2 classes | has_non_latin bool 1 class | uml_subtype stringclasses 10 values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
831e05c04a6db5483e4bdf92defd84cdcb394011 | 8e4fc7e0c3b6a8fa3a9d99403aa14bf6b9374401 | /lib/UML/main.puml | bd886cd5dcca1c5146a2715ed1fedc976710ecb1 | [] | no_license | Dariusz-Pluta/Locato | 5acff50930b68616bf232374c7322bfe1d484b7f | 2611a960ae69638aa9af2222dc254a32b2ec7619 | refs/heads/master | 2022-10-23T10:32:21.820239 | 2020-06-20T10:27:26 | 2020-06-20T10:27:26 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,368 | puml | @startuml
set namespaceSeparator ::
class "flutter::src::widgets::framework.dart::StatefulWidget" #Green
class "flutter::src::widgets::framework.dart::State<StatefulWidget>" #MediumSpringGreen
class "flutter::src::widgets::framework.dart::GlobalKey<FormState>" #DarkRed
class "flutter::src::widgets::framework.dart::State<T>" #SteelBlue
class "flutter::src::widgets::framework.dart::StatelessWidget" #Tomato
class "Locato::main.dart::MyApp" {
+Widget build()
}
"flutter::src::widgets::framework.dart::StatelessWidget" <|-[#Tomato]- "Locato::main.dart::MyApp"
class "Locato::main.dart::HomePage" {
+_HomePageState createState()
}
"flutter::src::widgets::framework.dart::StatefulWidget" <|-[#Green]- "Locato::main.dart::HomePage"
class "Locato::main.dart::_HomePageState" {
-TabController _tabController
-PageController _pageController
+bool pageCanChange
+void initState()
+Widget build()
+dynamic onPageChange()
}
"Locato::main.dart::_HomePageState" o-- "flutter::src::material::tab_controller.dart::TabController"
"Locato::main.dart::_HomePageState" o-- "flutter::src::widgets::page_view.dart::PageController"
"flutter::src::widgets::framework.dart::State<T>" <|-[#SteelBlue]- "Locato::main.dart::_HomePageState"
"flutter::src::widgets::ticker_provider.dart::SingleTickerProviderStateMixin<T>" <|-- "Locato::main.dart::_HomePageState"
@enduml | false | true | false | false | class |
d305e4e267cd36a3a94a934e3e5dfc60994ea21a | 3e2b65d67e559be5146da26bd3549aabf92d368c | /docs/eml_model.puml | bc9c41e0087d3f4681e6e9f3aad3993d8261a7f4 | [
"Apache-2.0"
] | permissive | mobb/metapype-eml | 30ab6f31d79c199739814792175c90109bc12776 | b5b727b0a9336738961a32bb1ca9b9d8eae534ab | refs/heads/master | 2021-05-18T07:38:59.969601 | 2019-06-04T22:20:55 | 2019-06-04T22:20:55 | 251,183,115 | 0 | 0 | Apache-2.0 | 2020-03-30T02:38:30 | 2020-03-30T02:38:29 | null | UTF-8 | PlantUML | false | false | 2,184 | puml | @startuml
class eml {
name: 'eml'
attributes: {'packageId':'edi.23.1', 'system':'metapype'}
content: None
parent: None
children: [access, dataset]
}
class access {
name: 'access'
attributes: {'authSystem':'pasta', 'order':'allowFirst'}
content: None
parent: eml
children: [allow]
}
class allow {
name: 'allow'
attributes: {}
content: None
parent: access
children: [principal, permission]
}
class principal {
name: 'principal'
attributes: {}
content: 'uid=gaucho,o=EDI,dc=edirepository,dc=org'
parent: allow
children: []
}
class permission {
name: 'permission'
attributes: {}
content: 'all'
parent: allow
children: []
}
class dataset {
name: 'dataset'
attributes: {}
content: None
parent: eml
children: [title, creator, contact]
}
class title {
name: 'title'
attributes: {}
content: 'Green sea turtle counts: Tortuga Island 2017'
parent: dataset
children: []
}
class creator {
name: 'creator'
attributes: {}
cotent: None
parent: dataset
children: [individualName_creator]
}
class contact {
name: 'contact'
attributes: []
content: None
parent: dataset
children: [individualName_contact]
}
class individualName_contact {
name: 'individualName'
attributes: {}
contents: None
parent: creator
children: [surName_contact]
}
class surName_contact {
name: 'surName'
attributes: {}
contents: 'Gaucho'
parent: individualName_contact
children: []
}
class individualName_creator {
name: 'individualName'
attributes: {}
contents: None
parent: creator
children: [surName_creator]
}
class surName_creator {
name: 'surName'
attributes: {}
contents: 'Gaucho'
parent: individualName_creator
children: []
}
eml <--> access
eml <--> dataset
access <--> allow
allow <--> principal
allow <--> permission
dataset <--> title
dataset <--> creator
creator <--> individualName_creator
individualName_creator <--> surName_creator
dataset <--> contact
contact <--> individualName_contact
individualName_contact <--> surName_contact
@enduml | false | true | false | false | class |
57676f5cc3c2315247e13bef203bdb3247547bdd | a4272e3f7c60bafe68b715899c1898a49830692b | /uml.plantuml | d64260fa6b04364b0ef8a17f0605b559bcbb1c08 | [] | no_license | RNubla/Tesla-Flutter-Clone | c8ac134b34ce0965cf3d5517597e94972ef49b90 | 8ecbdf6b2a1c3b98c9593bbd53199707a6bb4930 | refs/heads/main | 2023-03-06T06:45:00.368152 | 2021-02-18T17:18:51 | 2021-02-18T17:18:51 | 340,119,444 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 48 | plantuml | @startuml windowapp
class server{
}
@enduml | false | true | false | false | class |
5ec550ca5d3ce4223fe3c545c8eb0e6800f3702b | 0f1ab9645498afeb56d6c24198fd291eb0b36bea | /docs/design/network-discovery/uni-isl-FSM.puml | 1e54daafb9965a28817e5b649dff43b49297bd10 | [
"Apache-2.0"
] | permissive | NandanBharadwaj/open-kilda | 5398c0e4a63da82027f807551b930a40a5a5479d | b55904e06a7889bdd4e816499ecf6e1abb3eea14 | refs/heads/master | 2021-08-17T06:43:14.213503 | 2019-10-17T10:35:23 | 2019-10-17T10:35:23 | 217,000,697 | 1 | 0 | Apache-2.0 | 2019-10-23T07:56:34 | 2019-10-23T07:56:33 | null | UTF-8 | PlantUML | false | false | 1,094 | puml | Internal state
* endpoint (construct time)
* remote
Input signals
* activate
* discovery
* fail
* physical-down
* bfd-up
* bfd-down
* bfd-kill
Ouput signals
* isl-move
* isl-up
* isl-down
* isl-history
* physical-down
@startuml
title UniISL FSM
[*] --> INIT
INIT --> UNKNOWN : activate
INIT : activate [have-history] / set remote, emit emit isl-history
state moveChoice <<choice>>
UNKNOWN --> moveChoice : discovery
UNKNOWN --> DOWN : fail
UNKNOWN --> DOWN : physical-down
UP --> moveChoice : discovery
UP --> DOWN : fail
UP --> DOWN : physical-down
UP --> BFD : bfd-up
UP : enter [have speaker event] / set remote
UP : enter [have speaker event] / emit isl-up
state selfLoopChoice <<choice>>
moveChoice --> UP : [remote not changed]
moveChoice --> selfLoopChoice : [remote is changed] / emit isl-move
selfLoopChoice --> UP : [else]
selfLoopChoice -r-> UNKNOWN : [self-loop]
DOWN --> moveChoice : discovery
DOWN --> BFD : bfd-up
DOWN : enter [has remote] / emit isl-down
BFD --> DOWN : physical-down
BFD --> DOWN : bfd-down
BFD --> UP : bfd-kill
BFD : enter / emit isl-up
@enduml
| false | true | false | false | sequence |
69f6608a8418ddd2f48303d720d96566496a9701 | 48d00b8e5a32fc760f11dd4b2df3ce85f458aa2f | /input/images-source/ITI-106-seq.plantuml | bf55124ed1f010d905aa65c1312f7f9ea4726b8b | [
"CC-BY-4.0"
] | permissive | IHE/ITI.MHD | 37947b8e3ed9ff52d5bc8acd3cdcc76b46337a79 | 701e89414efc1b6bab10ca21e58afa4177518941 | refs/heads/master | 2023-08-17T03:15:35.257472 | 2023-08-02T15:55:24 | 2023-08-02T15:55:24 | 208,100,912 | 8 | 3 | CC-BY-4.0 | 2023-08-02T02:24:12 | 2019-09-12T16:56:14 | GLSL | UTF-8 | PlantUML | false | false | 718 | plantuml | @startuml
hide footbox
autonumber
participant "Document Source" as DocumentSource
participant "Document Recipient" as DocumentRecipient
autonumber
activate DocumentSource
activate DocumentRecipient
DocumentSource -> DocumentRecipient : Generate Metadata (document)
DocumentRecipient -> DocumentRecipient : Extract the document
DocumentRecipient -> DocumentRecipient : Create DocumentReference from document
DocumentRecipient --> DocumentRecipient : Create SubmissionSet from DocumentReference and context
DocumentRecipient --> DocumentRecipient : persist (e.g. XDS Provide and Register)
DocumentSource <-- DocumentRecipient : Generated DocumentReference
deactivate DocumentSource
deactivate DocumentRecipient
@enduml
| false | true | false | false | sequence |
52211d89e393d99b28b649e0e1567bb1a7009dd2 | 4d66030f0dcd0b815bf6af7a607220f932f1abb8 | /UML/sequence/mainSequence2.plantuml | e52843e9c3f29831515b972c928d9825127e0f6d | [] | no_license | TabletennisScoreCounter/firmwareDocumentations | 5e4104beb5dd6c8879ed135e815b032b93639321 | 4e049daafe9d37fe697a46a09f0fefeb52634185 | refs/heads/master | 2020-06-11T10:50:36.076051 | 2017-09-24T00:41:36 | 2017-09-24T00:41:36 | 75,685,379 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 5,533 | plantuml | @startuml
title Main Sequence
'hide footbox
box "MCU peripheral"
participant "Timer" as HardwareTimer<<hardware>>
participant "GPIO" as HardwareGPIO<<hardware>>
end box
box "STM32CubeMX Generated File"
participant "gpio" as ModuleGPIO<<module>>
participant "tim" as ModuleTim<<module>>
end box
participant "main.cpp" as File_Main_cpp
participant "led1 : FullcolorLED" as objFullColorLED_led1
participant "led2 : FullcolorLED" as objFullColorLED_led2
participant "SegmentControl" as ClassSegmentControl
participant "BusOut" as ClassBusOut
participant "ScoreManager" as ClassScoreManager
==HAL_Driver Initialize==
File_Main_cpp -> ModuleGPIO : MX_GPIO_Init()
activate ModuleGPIO
File_Main_cpp <-- ModuleGPIO
deactivate ModuleGPIO
loop X = 1,2,3,4,5
File_Main_cpp -> ModuleTim : MX_TIMX_Init()
activate ModuleTim
File_Main_cpp <-- ModuleTim
deactivate ModuleTim
end
==ServerReceiverLED Initialize==
create objFullColorLED_led1
File_Main_cpp -> objFullColorLED_led1 : <<new>>
create objFullColorLED_led2
File_Main_cpp -> objFullColorLED_led2 : <<new>>
File_Main_cpp -> objFullColorLED_led1 : setDuty(5)
activate objFullColorLED_led1
File_Main_cpp <-- objFullColorLED_led1
deactivate objFullColorLED_led1
File_Main_cpp -> objFullColorLED_led2 : setDuty(5)
activate objFullColorLED_led2
File_Main_cpp <-- objFullColorLED_led2
deactivate objFullColorLED_led2
File_Main_cpp -> objFullColorLED_led1 : setColor(RED)
activate objFullColorLED_led1
File_Main_cpp <-- objFullColorLED_led1
deactivate objFullColorLED_led1
File_Main_cpp -> objFullColorLED_led2 : setColor(BLUE)
activate objFullColorLED_led2
File_Main_cpp <-- objFullColorLED_led2
deactivate objFullColorLED_led2
==7segment LED Initialize==
create ClassSegmentControl
File_Main_cpp -> ClassSegmentControl : <<new>>
create ClassBusOut
File_Main_cpp -> ClassBusOut : <<new>>
File_Main_cpp -> ModuleTim : IRQAttachTIM5(callBack)
activate ModuleTim
File_Main_cpp <-- ModuleTim
deactivate ModuleTim
File_Main_cpp -> ModuleTim : StartTIM5()
activate ModuleTim
File_Main_cpp <-- ModuleTim
deactivate ModuleTim
==button and switch Initialize==
File_Main_cpp -> ModuleTim : IRQAttachTIM4(calBackChattering)
activate ModuleTim
File_Main_cpp <-- ModuleTim
deactivate ModuleTim
File_Main_cpp -> ModuleTim : StartTIM4
activate ModuleTim
File_Main_cpp <-- ModuleTim
deactivate ModuleTim
loop port = {PA0,PA1,PC13,PA4,PC3}
File_Main_cpp -> ModuleGPIO : IRQAttach(port)
activate ModuleGPIO
File_Main_cpp <-- ModuleGPIO
deactivate ModuleGPIO
end
==Game mode detect==
File_Main_cpp -> ModuleGPIO : GPIORead(PB0)
activate ModuleGPIO
File_Main_cpp <-- ModuleGPIO : PB0 value
deactivate ModuleGPIO
alt PB0 = High
File_Main_cpp -> File_Main_cpp : GameMode = DOUBLES
activate File_Main_cpp
deactivate File_Main_cpp
else
File_Main_cpp -> File_Main_cpp : GameMode = SINGLES
activate File_Main_cpp
deactivate File_Main_cpp
end
==Infinit loop==
loop Infinit
ref over File_Main_cpp
[[./refleshGameState.svg]]
refleshGameState(GameMode)
end ref
end
==7segment callback==
HardwareTimer ->> ModuleTim : TIM5 grobal
activate ModuleTim
ModuleTim -> File_Main_cpp : callBack()
activate File_Main_cpp
File_Main_cpp -> ClassBusOut : channel increment()
activate ClassBusOut
File_Main_cpp <-- ClassBusOut
deactivate ClassBusOut
File_Main_cpp -> ClassSegmentControl : set segvalue of current channel()
activate ClassSegmentControl
File_Main_cpp <-- ClassSegmentControl
deactivate ClassSegmentControl
ModuleTim <-- File_Main_cpp
deactivate File_Main_cpp
deactivate ModuleTim
==button callback==
HardwareGPIO ->> ModuleGPIO : PA0 falling
activate ModuleGPIO
ModuleGPIO -> File_Main_cpp : callBackButton()
activate File_Main_cpp
File_Main_cpp -> ClassScoreManager : addMyPoint()
activate ClassScoreManager
File_Main_cpp <-- ClassScoreManager
deactivate ClassScoreManager
ref over File_Main_cpp
[[./refleshSegmentValue.svg]]
reflesh segment value
end ref
ModuleGPIO <-- File_Main_cpp
deactivate File_Main_cpp
deactivate ModuleGPIO
==button2 callback==
HardwareGPIO ->> ModuleGPIO : PA1 falling
activate ModuleGPIO
ModuleGPIO -> File_Main_cpp : callBackButton2()
activate File_Main_cpp
File_Main_cpp -> ClassScoreManager : addEnemyPoint()
activate ClassScoreManager
File_Main_cpp <-- ClassScoreManager
deactivate ClassScoreManager
ref over File_Main_cpp
[[./refleshSegmentValue.svg]]
reflesh segment value
end ref
ModuleGPIO <-- File_Main_cpp
deactivate File_Main_cpp
deactivate ModuleGPIO
==blueButton callback==
HardwareGPIO ->> ModuleGPIO : PC13 falling
activate ModuleGPIO
ModuleGPIO -> File_Main_cpp : callBackBlueButton()
activate File_Main_cpp
File_Main_cpp -> ClassScoreManager : swapPoint()
activate ClassScoreManager
File_Main_cpp <-- ClassScoreManager
deactivate ClassScoreManager
ref over File_Main_cpp
[[./refleshSegmentValue.svg]]
reflesh segment value
end ref
ModuleGPIO <-- File_Main_cpp
deactivate File_Main_cpp
deactivate ModuleGPIO
==button3 callback==
HardwareGPIO ->> ModuleGPIO : PA4 falling
activate ModuleGPIO
ModuleGPIO -> File_Main_cpp : callBackButton3()
activate File_Main_cpp
File_Main_cpp -> ClassScoreManager : swapPoint()
activate ClassScoreManager
File_Main_cpp <-- ClassScoreManager
deactivate ClassScoreManager
ref over File_Main_cpp
[[./refleshSegmentValue.svg]]
reflesh segment value
end ref
ModuleGPIO <-- File_Main_cpp
deactivate File_Main_cpp
deactivate ModuleGPIO
@enduml
| false | true | false | false | sequence |
383fca0e44bdb5338804a6951f1251e4eada12e1 | c7345e58606d4f4e9b9ae22e2e50a8756b4ce8b1 | /src/main/java/Class.puml | ee262013669163a430f6a6f2961d78fdad8485fd | [] | no_license | MontgomeryJukebox/Santamaria-cop3330-assignment3 | 2792dd1ce71f92a1590964d8750ecbe8a1c77378 | 4a8ff5fbcf793e9c4cde7d7381c679afeb8db4f6 | refs/heads/master | 2023-05-31T21:04:10.083533 | 2021-06-21T03:39:24 | 2021-06-21T03:39:24 | 376,951,506 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 809 | puml | @startuml
'https://plantuml.com/class-diagram
class Gradebook {
Assignments: List
addStudent()
removeStudent()
lookupStudentGrades()
getAssignmentAverage()
getAssignmentScoreRange()
getAssignmentScoreMax()
getAssignmentScoreMin()
getAssignmentScoreStd()
}
class Assignment {
Students: List
pointValue: Double
title: String
dueDate: Date
getMaxScore()
setMaxScore()
getStudentScore(Student)
}
class TimedAssignments {
Students: List
maxScore: Double
title: String
dueDate: Date
timeLimit: pointValue
getMaxScore()
setMaxScore()
getStudentScore(Student)
}
class Student {
AssignmentScores: Map<Assignment, Double>
}
Gradebook o--> Student
Student o--> Assignment
Assignment <|-- TimedAssignment
@enduml | false | true | false | false | class |
ab8834395e2b2b3f8d14ef972614eddf7da102e9 | d538b5a6525289e8d504e5d2f7abc53a3b84558d | /theather.plantuml | 8e259e4fdcc72512a300584796504b418230aa58 | [] | no_license | Lucas-Meira/theater | cfcc3d3d9ec3e8cce2faf4a08b0ed2d73b225c0b | f06d4f2008cefe62e8b5d90e57cff3dbc6ed1e13 | refs/heads/master | 2023-08-16T07:32:35.119449 | 2021-10-17T23:51:17 | 2021-10-17T23:51:17 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 3,594 | plantuml | @startuml Theater
skinparam linetype ortho
skinparam TitleFontSize 48
skinparam TitleFontStyle bold
title Theater
frame Presentation {
class PageHandler {
+PageHandler(services : ServicesInterface)
+handle()
+clearScreen()
+print(message : string)
+renderMenu(options : vector<string>) : unsigned int
+readInput() : string
+getServices(): ServicesInterface
}
}
frame Services {
interface ServicesInterface {
+ServicesInterface(participantHandler : ParticipantInterface, playHandler : PlayInterface, roomHandler : RoomInterface, sessionHandler : SessionInterface)
+getParticipantHandler() : ParticipantInterface
+getPlayHandler() : PlayInterface
+getRoomHandler() : RoomInterface
+getSessionHandler() : SessionInterface
}
interface ParticipantInterface {
{abstract} +create(participant : Participant) : SQLResult
{abstract} +remove(registration : Registration) : SQLResult
{abstract} +search(registration : Registration) : SQLResult
{abstract} +list() : SQLResult
{abstract} +update(participant : Participant) : SQLResult
{abstract} +authenticate(registration : Registration, password : Password) : map<string, string>
}
interface PlayInterface {
{abstract} +create(play : Play) : SQLResult
{abstract} +remove(id : IdCode) : SQLResult
{abstract} +search(id : IdCode) : SQLResult
{abstract} +list() : SQLResult
{abstract} +update(play : Play) : SQLResult
}
interface RoomInterface {
{abstract} +create(room : Room) : SQLResult
{abstract} +remove(id : IdCode) : SQLResult
{abstract} +search(id : IdCode) : SQLResult
{abstract} +list() : SQLResult
{abstract} +update(room : Room) : SQLResult
}
interface SessionInterface {
{abstract} +create(session : Session, playId : IdCode, roomId : IdCode) : SQLResult
{abstract} +remove(id : IdCode) : SQLResult
{abstract} +search(id : IdCode) : SQLResult
{abstract} +list() : SQLResult
{abstract} +update(session : Session, playId : IdCode, roomId : IdCode) : SQLResult
}
class ParticipantHandler {
+create(participant : Participant) : SQLResult
+remove(registration : Registration) : SQLResult
+search(registration : Registration) : SQLResult
+list() : SQLResult
+update(participant : Participant) : SQLResult
+authenticate(registration : Registration, password : Password) : map<string, string>
}
class PlayHandler {
+create(play : Play) : SQLResult
+remove(id : IdCode) : SQLResult
+search(id : IdCode) : SQLResult
+list() : SQLResult
+update(play : Play) : SQLResult
}
class RoomHandler {
+create(room : Room) : SQLResult
+remove(id : IdCode) : SQLResult
+search(id : IdCode) : SQLResult
+list() : SQLResult
+update(room : Room) : SQLResult
}
class SessionHandler {
+create(session : Session, playId : IdCode, roomId : IdCode) : SQLResult
+remove(id : IdCode) : SQLResult
+search(id : IdCode) : SQLResult
+list() : SQLResult
+update(session : Session, playId : IdCode, roomId : IdCode) : SQLResult
}
}
frame DB {
class DBHandler {
{static} +getInstance() : DBHandler;
+execute(query : string) : SQLResult;
+execute(query : stringstream) : SQLResult;
}
}
PageHandler --|> ServicesInterface
ServicesInterface *-- ParticipantInterface
ServicesInterface *-- PlayInterface
ServicesInterface *-- RoomInterface
ServicesInterface *-- SessionInterface
ParticipantInterface <|.. ParticipantHandler : "Implements"
PlayInterface <|.. PlayHandler : "Implements"
RoomInterface <|.. RoomHandler : "Implements"
SessionInterface <|.. SessionHandler : "Implements"
ParticipantHandler ..|> DBHandler
PlayHandler ..|> DBHandler
RoomHandler ..|> DBHandler
SessionHandler ..|> DBHandler
@enduml
| false | true | false | false | class |
2b4ec4818dabeae0515c96f4dddc24a8946734dc | bfe47eef5d4ec0d6760357d9ef1971f73aa81608 | /S7/MOCI-CDSI/Projet/grp_1/panier.puml | 53f1393adbb99c502e6e86915da329e32a9d9117 | [] | no_license | Knackie/telecom | 0a9736350a1ab3b029fa1ab3421b8becc856e5d4 | 159bd532fe870dae4df98fd1fd0868b7d302b25c | refs/heads/master | 2023-07-11T19:52:52.273823 | 2023-07-03T12:58:51 | 2023-07-03T12:58:51 | 213,642,206 | 9 | 7 | null | 2023-07-03T12:59:00 | 2019-10-08T12:56:12 | Python | UTF-8 | PlantUML | false | false | 698 | puml | @startuml
-> Controlleur_utilisateur : Connexion(username, password)
activate Controlleur_utilisateur
<-- Controlleur_utilisateur : Connexion réussi
Controlleur_utilisateur -> Client : creer_panier()
activate Client
Controlleur_utilisateur <-- Client : commande_id
deactivate Controlleur_utilisateur
-> Controlleur_vente : add_produit(commande_id, produit_id, quantite)
activate Controlleur_vente
deactivate Client
create ligne_commande
Controlleur_vente -> ligne_commande : new (Produit,quantité)
Controlleur_vente -> Commande : add_ligne_commande(produit, quantite)
Activate Commande
Controlleur_vente <-- Commande : Produit ajouté
deactivate Controlleur_vente
deactivate Commande
@enduml
| false | true | true | false | sequence |
67c522ca8330dd18bb2c1b523d7c58cbd382286d | 1f1ceedff0ac7ccc3e78c39481a1df35b0a23029 | /classDiagram.plantuml | be62cfeb5a2d60f462765bb064c3dc5e4c3d5a9f | [] | no_license | akarsh27/Ride-Sharing-Application | 20977b039c7f3671f3d69ab8baa37de76f233c9e | c08d83eb8c101a2eaef07b2476d6290e9e21736d | refs/heads/main | 2023-02-01T13:17:54.164953 | 2020-12-20T05:05:41 | 2020-12-20T05:05:41 | 322,994,325 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 2,134 | plantuml | @startuml classDiagram
skinparam BackgroundColor #CAE1FF
skinparam ClassBackgroundColor #f0ffff
skinparam ClassBorderColor #000033
skinparam ObjectBackgroundColor white
skinparam ObjectBorderColor #000033
skinparam ArrowColor #191970
skinparam Linetype ortho
class authentication{
+ userName
- password
+google()
+facebook()
+email()
+phoneNo()
}
class myAccount{
+name
+contactNo
+email
+alternativeContactNo
-displayVerificationStatus()
}
class rideTaker{
+pickupAddress
+destinationAddress
+pickupTime
+showNearbyRideGivers()
+selectRide()
+calculateFare()
}
class rideGiver{
+startAddress
+endAddress
+offerRideTime
+startRide()
+showNearbyRideTakers()
+endRide()
+updateRideInfo()
+ deleteUserBooking()
}
class myProfile extends myAccount{
-drivingLicence
-aadharCard
-PAN
+profilePicture()
-verifyID()
-addGovernmentID()
-verifyImage()
-verifyEmailID()
}
class myPayments extends myAccount{
-googlePay
-paytm
-ewallet
-cash
-debitCard
-creditCard
-updatePayment()
}
class myVehicles extends myAccount{
+vehicleNo
+model
+color
+noOfSeats
+vehicleImage
+addCar()
+addBike()
+getCar()
+getBike()
+update()
}
class myRides extends myAccount{
+ratings
+totalRides()
+totalRidesAsRider()
+totalRidesAsPassenger()
}
class notification{
-contacts
-groups
-callHistory
-notificationBell
-chats()
}
class settings{
-changeemail()
-changeContactNo()
-addAlternateContactNo()
-changePassword()
+suspendAccount()
+setHomeLocation()
+setOfficeLocation()
+notification()
+security()
-signOut()
}
object booking{
#status
#notifyUser()
-updateRideInfo()
-displayRideInfo()
-cancelBooking()
}
object rideInfo{
+location
+vehicleInfo
+availableSeats
+contactDetails
}
rideTaker "1..*" *- "1..*" rideInfo : booked ride
rideTaker "0..1" --o "1" myAccount
rideGiver "0..*" o-- "1" myAccount
settings --* myAccount
booking "1..*" --* "1..*" rideTaker : booked ride
booking "1..*" --* "1..*" rideGiver : booked ride
notification "0..*" --o "1" myAccount
authentication "1..4" -- "1" myAccount : signIn/signUp
@enduml | false | true | false | false | class |
6b4bad7bd289fbff0c0e90ad5086498d1393d48f | 9e8e943a3e6b3aeb396a0f270f6b38382fac6540 | /sequence_template.plantuml | 315705af5bb17ecabe44e8e380bb7e7ff7e80463 | [
"MIT"
] | permissive | icocheck/techspecs | ccb59d1207420f6bb6be8000bfa40f04261e4558 | a1b38d9e7d088bcd3fa16b5603ba767ddc44360e | refs/heads/master | 2021-07-05T13:05:55.324357 | 2017-10-01T12:21:52 | 2017-10-01T12:21:52 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 676 | plantuml | @startuml
box "Client"
actor "Client" as client
participant "Client dApp" as dapp
entity "Cognitive Contract" as cognitiveContract
end box
box "Data"
actor "Data Provider" as provider
participant "Provider App" as app
entity "Data Entity Contract" as dataContract
database "IPFS" as ipfs
end box
box "Pandora Network"
collections "Worker Nodes" as workers
collections "Validating Nodes" as validators
collections "Arbitor Nodes" as arbitors
collections "Governing Nodes" as governors
control "Keras/TensorFlow" as nn
end box
box "Pandora Boxchain"
entity "Main Contract" as theContract
entity "Worker Contract" as workerContract
end box
@enduml
| false | true | false | false | sequence |
147316565dbf48e6dd374c2557b474e4f34f93d3 | e4a8fad4363627194390a66bcde1bad5ec86b3b1 | /src/main/java/ex42/app42.puml | b4cba458e03ef491a117feda64d20e9ecf3fc225 | [] | no_license | JustinGesek/gesek-cop3330-assignment3 | 1e8e1720b147d3c1bf7b7785f9c355f7ecb8c532 | 8406cf8e1b3d6004915c824355b907c63f5503fc | refs/heads/master | 2023-08-16T01:17:51.170924 | 2021-10-07T19:50:05 | 2021-10-07T19:50:05 | 378,706,206 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 64 | puml | @startuml
class app42
{
main()
scanAndSort()
}
@enduml | false | true | false | false | class |
71d8b540acdadfdf6ca4b5e36dd47ec497c86225 | 701c2d19a42c5417c576d321b7f7c00603fc8295 | /diagrams/action-state.puml | 01d2af2dbfd7b135a2c80cb28762f1e6c161c749 | [
"LicenseRef-scancode-proprietary-license",
"MIT"
] | permissive | ONSdigital/census-rm-action-service | fb73dd26467d4b10d39e911f770c5846afddaa88 | f8f195107b2f69f16ef0775d98a9fc9f975809b1 | refs/heads/master | 2020-04-30T08:18:06.591491 | 2019-04-30T13:21:50 | 2019-04-30T13:21:50 | 176,710,967 | 0 | 1 | MIT | 2019-04-30T13:21:51 | 2019-03-20T10:38:21 | Java | UTF-8 | PlantUML | false | false | 7,361 | puml | @startuml
skinparam state {
BackgroundColor HoneyDew
}
[*] --> SUBMITTED
SUBMITTED --> PENDING : request_distributed [[https://github.com/ONSdigital/rm-action-service/blob/master/src/main/java/uk/gov/ons/ctp/response/action/service/impl/ActionProcessingServiceImpl.java#L106 *]]
SUBMITTED --> COMPLETED : request_completed [[https://github.com/ONSdigital/rm-action-service/blob/master/src/main/java/uk/gov/ons/ctp/response/action/service/impl/ActionProcessingServiceImpl.java#L107 1]] [[https://github.com/ONSdigital/rm-actionexporter-service/blob/master/src/main/java/uk/gov/ons/ctp/response/action/export/message/impl/SftpServicePublisherImpl.java#L131 2]] [[https://github.com/ONSdigital/rm-actionexporter-service/blob/master/src/main/java/uk/gov/ons/ctp/response/action/export/message/impl/SftpServicePublisherImpl.java#L130 3]] [[https://github.com/ONSdigital/rm-notify-gateway/blob/master/src/main/java/uk/gov/ons/ctp/response/notify/service/impl/NotifyServiceImpl.java#L227 4]]
SUBMITTED --> ABORTED : request_cancelled [[https://github.com/ONSdigital/rm-action-service/blob/master/src/main/java/uk/gov/ons/ctp/response/action/service/impl/ActionServiceImpl.java#L109 *]]
PENDING --> SUBMITTED : request_failed
PENDING --> CANCEL_SUBMITTED : request_cancelled [[https://github.com/ONSdigital/rm-action-service/blob/master/src/main/java/uk/gov/ons/ctp/response/action/service/impl/ActionServiceImpl.java#L109 *]]
PENDING --> ACTIVE : request_accepted [[https://github.com/ONSdigital/rm-actionexporter-service/blob/master/src/main/java/uk/gov/ons/ctp/response/action/export/service/impl/ActionExportServiceImpl.java#L95 1]] [[https://github.com/ONSdigital/rm-notify-gateway/blob/master/src/main/java/uk/gov/ons/ctp/response/notify/message/impl/ActionInstructionReceiverImpl.java#L64 2]]
PENDING --> DECLINED : request_declined [[https://github.com/ONSdigital/rm-notify-gateway/blob/master/src/main/java/uk/gov/ons/ctp/response/notify/message/impl/ActionInstructionReceiverImpl.java#L76 *]]
PENDING --> COMPLETED : request_completed [[https://github.com/ONSdigital/rm-action-service/blob/master/src/main/java/uk/gov/ons/ctp/response/action/service/impl/ActionProcessingServiceImpl.java#L107 1]] [[https://github.com/ONSdigital/rm-actionexporter-service/blob/master/src/main/java/uk/gov/ons/ctp/response/action/export/message/impl/SftpServicePublisherImpl.java#L131 2]] [[https://github.com/ONSdigital/rm-actionexporter-service/blob/master/src/main/java/uk/gov/ons/ctp/response/action/export/message/impl/SftpServicePublisherImpl.java#L130 3]] [[https://github.com/ONSdigital/rm-notify-gateway/blob/master/src/main/java/uk/gov/ons/ctp/response/notify/service/impl/NotifyServiceImpl.java#L227 4]]
PENDING --> COMPLETED : request_completed_deactivate
PENDING --> COMPLETED : request_completed_disable
ACTIVE --> SUBMITTED : request_failed
ACTIVE --> CANCEL_SUBMITTED : request_cancelled [[https://github.com/ONSdigital/rm-action-service/blob/master/src/main/java/uk/gov/ons/ctp/response/action/service/impl/ActionServiceImpl.java#L109 *]]
ACTIVE --> COMPLETED : request_completed [[https://github.com/ONSdigital/rm-action-service/blob/master/src/main/java/uk/gov/ons/ctp/response/action/service/impl/ActionProcessingServiceImpl.java#L107 1]] [[https://github.com/ONSdigital/rm-actionexporter-service/blob/master/src/main/java/uk/gov/ons/ctp/response/action/export/message/impl/SftpServicePublisherImpl.java#L131 2]] [[https://github.com/ONSdigital/rm-actionexporter-service/blob/master/src/main/java/uk/gov/ons/ctp/response/action/export/message/impl/SftpServicePublisherImpl.java#L130 3]] [[https://github.com/ONSdigital/rm-notify-gateway/blob/master/src/main/java/uk/gov/ons/ctp/response/notify/service/impl/NotifyServiceImpl.java#L227 4]]
ACTIVE --> COMPLETED : request_completed_deactivate
ACTIVE --> COMPLETED : request_completed_disable
COMPLETED --> COMPLETED : request_cancelled [[https://github.com/ONSdigital/rm-action-service/blob/master/src/main/java/uk/gov/ons/ctp/response/action/service/impl/ActionServiceImpl.java#L109 *]]
' CANCEL_SUBMITTED --> CANCEL_SUBMITTED : request_cancelled
' CANCEL_SUBMITTED --> CANCEL_SUBMITTED : request_failed
' CANCEL_SUBMITTED --> CANCEL_SUBMITTED : request_accepted
' CANCEL_SUBMITTED --> CANCEL_SUBMITTED : request_declined
' CANCEL_SUBMITTED --> CANCEL_SUBMITTED : request_completed [[https://github.com/ONSdigital/rm-action-service/blob/master/src/main/java/uk/gov/ons/ctp/response/action/service/impl/ActionProcessingServiceImpl.java#L107 1]] [[https://github.com/ONSdigital/rm-actionexporter-service/blob/master/src/main/java/uk/gov/ons/ctp/response/action/export/message/impl/SftpServicePublisherImpl.java#L131 2]] [[https://github.com/ONSdigital/rm-actionexporter-service/blob/master/src/main/java/uk/gov/ons/ctp/response/action/export/message/impl/SftpServicePublisherImpl.java#L130 3]] [[https://github.com/ONSdigital/rm-notify-gateway/blob/master/src/main/java/uk/gov/ons/ctp/response/notify/service/impl/NotifyServiceImpl.java#L227 4]]
' CANCEL_SUBMITTED --> CANCEL_SUBMITTED : request_completed_deactivate
' CANCEL_SUBMITTED --> CANCEL_SUBMITTED : request_completed_disable
CANCEL_SUBMITTED --> CANCEL_PENDING : cancellation_distributed [[https://github.com/ONSdigital/rm-action-service/blob/master/src/main/java/uk/gov/ons/ctp/response/action/service/impl/ActionProcessingServiceImpl.java#L134 *]]
note right of CANCEL_SUBMITTED
CANCEL_SUBMITTED -> CANCEL_SUBMITTED
messages not shown for brevity
end note
note left of CANCEL_PENDING
CANCEL_PENDING -> CANCEL_PENDING
messages not shown for brevity
end note
' CANCEL_PENDING --> CANCEL_PENDING : request_cancelled
' CANCEL_PENDING --> CANCEL_PENDING : request_failed
' CANCEL_PENDING --> CANCEL_PENDING : request_accepted
' CANCEL_PENDING --> CANCEL_PENDING : request_declined
' CANCEL_PENDING --> CANCEL_PENDING : request_completed
' CANCEL_PENDING --> CANCEL_PENDING : request_completed_deactivate
' CANCEL_PENDING --> CANCEL_PENDING : request_completed_disable
CANCEL_PENDING --> CANCEL_SUBMITTED : cancellation_failed [[https://github.com/ONSdigital/rm-actionexporter-service/blob/master/src/main/java/uk/gov/ons/ctp/response/action/export/service/impl/ActionExportServiceImpl.java#L121 *]]
CANCEL_PENDING --> CANCELLING : cancellation_accepted
CANCEL_PENDING --> CANCELLED : cancellation_completed [[https://github.com/ONSdigital/rm-actionexporter-service/blob/master/src/main/java/uk/gov/ons/ctp/response/action/export/service/impl/ActionExportServiceImpl.java#L121 *]]
CANCELLING --> CANCELLING : request_cancelled [[https://github.com/ONSdigital/rm-action-service/blob/master/src/main/java/uk/gov/ons/ctp/response/action/service/impl/ActionServiceImpl.java#L109 *]]
CANCELLING --> CANCEL_SUBMITTED : cancellation_failed [[https://github.com/ONSdigital/rm-actionexporter-service/blob/master/src/main/java/uk/gov/ons/ctp/response/action/export/service/impl/ActionExportServiceImpl.java#L121 *]]
CANCELLING --> CANCELLED : cancellation_completed [[https://github.com/ONSdigital/rm-actionexporter-service/blob/master/src/main/java/uk/gov/ons/ctp/response/action/export/service/impl/ActionExportServiceImpl.java#L121 *]]
CANCELLED --> CANCELLED : request_cancelled [[https://github.com/ONSdigital/rm-action-service/blob/master/src/main/java/uk/gov/ons/ctp/response/action/service/impl/ActionServiceImpl.java#L109 *]]
@enduml | false | true | false | false | sequence |
280d3150daa3f72bcf0ff4fbadb8c06154641f35 | 5c3f44ee4a5b8b51c72d2f328468b1c1591107ed | /UML.puml | 71a510b1e041d16dbaa6c708c5bcb61194cb6b94 | [] | no_license | omri143/Fighting-Robot-College-Project | 7f48e946bf2309e41a2e00291888ea6da15ff522 | e2c3edd7cc44860ec3412eaef7c45c1dd2f667b1 | refs/heads/master | 2023-04-24T17:33:57.879579 | 2021-05-06T20:00:26 | 2021-05-06T20:00:26 | 365,017,194 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 2,369 | puml | @startuml
skinparam defaultFontName Segoe UI
skinparam defaultFontSize 20
class com.app.robot.dialogs.HitDialog extends androidx.appcompat.app.AppCompatDialogFragment {
+ <size:15>Dialog onCreateDialog(Bundle)
}
class com.app.robot.fragments.LaserControlFragment extends androidx.fragment.app.Fragment implements android.view.View.OnTouchListener,android.view.View.OnClickListener,android.view.View.OnCheckedChangeListener, com.google.firebase.database.ValueEventListener{
- <size:15>DatabaseReference laser
- <size:15>DatabaseReference laser_ctrl
- <size:15>ToggleButton toggleButton
- <size:15>TextView textView
- <size:15>TextView textViewDirection
- <size:15>TextView xDisplay
- <size:15>int x_angle
- <size:15>int y_angle
+ <size:15>View onCreateView(LayoutInflater,ViewGroup,Bundle)
+ <size:15>boolean onTouch(View,MotionEvent)
+ <size:15>void onCheckedChanged(CompoundButton,boolean)
+ <size:15>void onDataChange(DataSnapshot)
+ <size:15>void onCancelled(DatabaseError)
+ <size:15>void onClick(View)
- <size:15>void initServos(int,int)
- <size:15>void updateDisplay(int,int)
- <size:15>void rotateXServo(boolean,View)
- <size:15>void rotateYServo(boolean,View)
}
class com.app.robot.fragments.MotorsControlFragment extends androidx.fragment.app.Fragment implements android.view.View.OnTouchListener {
- <size:15>TextView speedView
- <size:15>DatabaseReference motorNode
+ <size:15>View onCreateView(LayoutInflater,ViewGroup,Bundle)
+ <size:15>boolean onTouch(View,MotionEvent)
- <size:15>void writeToMotors(boolean,boolean,boolean,boolean)
}
class com.app.robot.main.MainActivity extends androidx.appcompat.app.AppCompatActivity implements com.google.firebase.database.ValueEventListener,com.google.android.material.tabs.TabLayout.OnTabSelectedListener {
- <size:15>DatabaseReference laser_hit
- <size:15>HitDialog hitDialog
- <size:15>ViewPager2 viewPager2
# <size:15>void onCreate(Bundle)
+ <size:15>void onDataChange(DataSnapshot)
+ <size:15>void onCancelled(DatabaseError)
- <size:15>void openDialog()
+ <size:15>void onTabSelected(TabLayout.Tab)
+<size:15> void onTabUnselected(TabLayout.Tab)
+ <size:15>void onTabReselected(TabLayout.Tab)
}
class com.app.robot.adapters.PageViewAdapter extends androidx.viewpager2.adapter.FragmentStateAdapter {
~ <size:15>int numOfFragments
+ <size:15>Fragment createFragment(int)
+ <size:15>int getItemCount()
}
@enduml | false | true | false | false | class |
c739f9e2554cc4374729c3f695e6ed48f9e10bb2 | 5c81bff39b828dd198d1452f7a1fb6a1c9aca9df | /packages/zoe/docs/zoe-zcf.puml | c85dc767202a4e043a442d1b622b8d50aae30334 | [
"Apache-2.0"
] | permissive | aniketh-deepsource/agoric-sdk | 4d6ccb628a86025a7da6a742e32cde604e5a407f | 0c0301ad8c2cadaf7bacd851b566599be29b8774 | refs/heads/master | 2023-06-27T07:39:05.096817 | 2021-07-30T05:18:00 | 2021-07-30T05:18:00 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,514 | puml |
@startuml Zoe communication with Zcf
scale 8
participant CosmicSwingset
actor Alice
actor Bob
participant Zoe
box new vat per contract
collections Zcf
database contract
end box
CosmicSwingset -> Zoe : makeZoe(adminVat)
Alice -> Zoe : install(bundle)
Alice //-- Zoe : <font color=gray><size:12> installation
Alice -> Zoe : startInstance(installation...)
Zoe -> Zoe : startInstance()
Zoe -> Zoe : makeZoeInstanceAdminForZcf()
Zoe -> Zoe : createVat()
Zoe -> Zcf : E(zcfRoot).executeContract
Zcf -> Zcf : evalContractBundle()
Zcf -> Zcf : makeZcf
Zcf -> contract : start(zcf)
contract -> Zcf : makeInvitation(...)
Zcf -> Zoe : makeInvitation(...)
note left
mint invitation payment
end note
Zoe --\\ Zcf : <font color=gray><size:12> invitation
Zcf --\\ contract : <font color=gray><size:12> invitation
contract --\\ Zcf : <font color=gray><size:12> {creatorFacet, creatorInvitation, publicFacet }
Zcf --\\ Zoe : <font color=gray><size:12> {creatorFacet, creatorInvitation, handleOfferObj}
Alice //-- Zoe : <font color=gray><size:12> {creatorFacet, creatorInvitation}
====
Alice -> Zoe : offer(invitation...)
Zoe -> Zoe : makeUserSeat
Zoe -> Alice : <font color=gray><size:12> userSeat
Zoe -> Zcf : handleOffer
note left
deposit payments
end note
Zcf -> Zcf : makeZCFSeat
Zcf -> contract : offerHandler(ZCFSeat)
contract -> Zcf : <font color=gray><size:12> offerResult
Zcf --\\ Zoe : <font color=gray><size:12> { offerResult, exitObj }
Zoe --\\ Zoe : <font color=gray><size:12> userSeat promises updated
@enduml
| false | true | false | false | usecase |
adb3ee74e3a68caa9cb268a0d737fc7a6a4bcb8b | faf09e74c3fb50b3098eb271e979fc13d4bfcbd2 | /mojaloop-technical-overview/central-ledger/assets/diagrams/sequence/seq-position-1.3.1-prepare.plantuml | ae67ecfe9d710b33b3dd92d4fa42c4f5c07b2e19 | [
"Apache-2.0"
] | permissive | arfintechpy/documentation | 15eb5f4da7829d15b093893fc386e036e5a43f4f | 0f5abd8d187619aeffa8f7b5c39a87fa75742aca | refs/heads/master | 2020-06-14T21:23:10.389388 | 2019-07-03T09:29:53 | 2019-07-03T09:29:53 | 181,541,881 | 0 | 0 | null | 2019-04-15T18:14:42 | 2019-04-15T18:14:42 | null | UTF-8 | PlantUML | false | false | 17,914 | plantuml | /'*****
License
--------------
Copyright © 2017 Bill & Melinda Gates Foundation
The Mojaloop files are made available by the Bill & Melinda Gates Foundation under the Apache License, Version 2.0 (the "License") and you may not use these files except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, the Mojaloop files are distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Contributors
--------------
This is the official list of the Mojaloop project contributors for this file.
Names of the original copyright holders (individuals or organizations)
should be listed with a '*' in the first column. People who have
contributed from an organization can be listed under the organization
that actually holds the copyright for their contributions (see the
Gates Foundation organization for an example). Those individuals should have
their names indented and be marked with a '-'. Email address can be added
optionally within square brackets <email>.
* Gates Foundation
- Name Surname <name.surname@gatesfoundation.com>
* Georgi Georgiev <georgi.georgiev@modusbox.com>
* Rajiv Mothilal <rajiv.mothilal@modusbox.com>
* Miguel de Barros <miguel.debarros@modusbox.com>
* Samuel Kummary <sam@modusbox.com>
--------------
******'/
@startuml
' declate title
title 1.3.1. Prepare Position Handler Consume (single message, includes individual transfers from Bulk)
autonumber
' Actor Keys:
' boundary - APIs/Interfaces, etc
' collections - Kafka Topics
' control - Kafka Consumers
' entity - Database Access Objects
' database - Database Persistence Store
' declare actors
control "Position Handler" as POS_HANDLER
entity "Position\nManagement\nFacade" as POS_MGMT
collections "Notification-Topic" as TOPIC_NOTIFICATIONS
collections "topic-bulk-processing" as TOPIC_BULK_PROCESSING
entity "Position DAO" as POS_DAO
database "Central Store" as DB
box "Central Service" #LightYellow
participant POS_HANDLER
participant TOPIC_NOTIFICATIONS
participant TOPIC_BULK_PROCESSING
participant POS_MGMT
participant POS_DAO
participant DB
end box
' start flow
activate POS_HANDLER
group Prepare Position Handler Consume
POS_HANDLER -> POS_MGMT: Request transfers to be processed
activate POS_MGMT
POS_MGMT -> POS_MGMT: Check 1st transfer to select the Participant and Currency
group <color #blue>DB TRANSACTION</color>
' DB Trans: This is where 1st DB Transaction would start in 2 DB transacation future model for horizontal scaling
POS_MGMT -> POS_MGMT: Loop through batch and build list of transferIds and calculate sumTransfersInBatch,\nchecking all in Batch are for the correct Paricipant and Currency\n<color #FF0000><b>Error code:</b> 2001, 3100</color>
POS_MGMT -> DB: Retrieve current state of all transfers in array from DB with select whereIn\n(FYI: The two DB transaction model needs to add a mini-state step here (RECEIVED_PREPARE => RECEIVDED_PREPARE_PROCESSING) so that the transfers are left alone if processing has started)
activate DB
hnote over DB #lightyellow
transferStateChange
transferParticipant
end note
DB --> POS_MGMT: Return current state of all selected transfers from DB
deactivate DB
POS_MGMT <-> POS_MGMT: Validate current state (transferStateChange.transferStateId == 'RECEIVED_PREPARE')\n<color #FF0000><b>Error code:</b> 2001</color> against failing transfers\nBatch is not rejected as a whole.
note right of POS_MGMT #lightgray
List of transfers used during processing
**reservedTransfers** is list of transfers to be processed in the batch
**abortedTransfers** is the list of transfers in the incorrect state going into the process. Currently the transferStateChange is set to ABORTED - this should only be done if not already in a final state (idempotency)
**processedTransfers** is the list of transfers that have gone through the position management algorithm. Both successful and failed trasnfers appear here as the order and "running position" against each is necessary for reconciliation
Scalar intermidate values used in the algorithm
**transferAmount** = payload.amount.amount
**sumTransfersInBatch** = SUM amount against each Transfer in batch
**currentPosition** = participantPosition.value
**reservedPosition** = participantPosition.{original}reservedValue
**effectivePosition** = currentPosition + reservedPosition
**heldPosition** = effectivePosition + sumTransfersInBatch
**availablePosition** = participantLimit(NetDebitCap) - effectivePosition
**sumReserved** = SUM of transfers that have met rule criteria and processed
end note
note over POS_MGMT,DB
Going to reserve the sum of the valid transfers in the batch against the Participants Positon in the Currency of this batch
and calculate the available position for the Participant to use
end note
POS_MGMT -> DB: Select effectivePosition FOR UPDATE from DB for Payer
activate DB
hnote over DB #lightyellow
participantPosition
end note
DB --> POS_MGMT: Return effectivePosition (currentPosition and reservedPosition) from DB for Payer
deactivate DB
POS_MGMT -> POS_MGMT: Increment reservedValue to heldPosition\n(reservedValue = reservedPosition + sumTransfersInBatch)
POS_MGMT -> DB: Persist reservedValue
activate DB
hnote over DB #lightyellow
UPDATE **participantPosition**
SET reservedValue += sumTransfersInBatch
end note
deactivate DB
' DB Trans: This is where 1st DB Transaction would end in 2 DB transacation future model for horizontal scaling
POS_MGMT -> DB: Request position limits for Payer Participant
activate DB
hnote over DB #lightyellow
FROM **participantLimit**
WHERE participantLimit.limitTypeId = 'NET-DEBIT-CAP'
AND participantLimit.participantId = payload.payerFsp
AND participantLimit.currencyId = payload.amount.currency
end note
DB --> POS_MGMT: Return position limits
deactivate DB
POS_MGMT <-> POS_MGMT: **availablePosition** = participantLimit(netDebitCap) - effectivePosition (same as = netDebitCap - currentPosition - reservedPosition)
note over POS_MGMT,DB
For each transfer in the batch, validate the availablility of position to meet the transfer amount
this will be as per the position algorithm documented below
end note
POS_MGMT <-> POS_MGMT: Validate availablePosition for each tranfser (see algorithm below)\n<color #FF0000><b>Error code:</b> 4001</color>
note right of POS_MGMT #lightgray
01: sumReserved = 0 // Record the sum of the transfers we allow to progress to RESERVED
02: sumProcessed =0 // Record the sum of the transfers already processed in this batch
03: processedTransfers = {} // The list of processed transfers - so that we can store the additional information around the decision. Most importantly the "running" position
04: foreach transfer in reservedTransfers
05: sumProcessed += transfer.amount // the total processed so far **(NEED TO UPDATE IN CODE)**
06: if availablePosition >= transfer.amount
07: transfer.state = "RESERVED"
08: availablePosition -= preparedTransfer.amount
09: sumRESERVED += preparedTransfer.amount
10: else
11: preparedTransfer.state = "ABORTED"
12: preparedTransfer.reason = "Net Debit Cap exceeded by this request at this time, please try again later"
13: end if
14: runningPosition = currentPosition + sumReserved // the initial value of the Participants position plus the total value that has been accepted in the batch so far
15: runningReservedValue = sumTransfersInBatch - sumProcessed + reservedPosition **(NEED TO UPDATE IN CODE)** // the running down of the total reserved value at the begining of the batch.
16: Add transfer to the processedTransfer list recording the transfer state and running position and reserved values { transferState, transfer, rawMessage, transferAmount, runningPosition, runningReservedValue }
16: end foreach
end note
note over POS_MGMT,DB
Once the outcome for all transfers is known,update the Participant's position and remove the reserved amount associated with the batch
(If there are any alarm limits, process those returning limits in which the threshold has been breached)
Do a bulk insert of the trasnferStateChanges associated with processing, using the result to complete the participantPositionChange and bulk insert of these to persist the running position
end note
POS_MGMT->POS_MGMT: Assess any limit thresholds on the final position\nadding to alarm list if triggered
' DB Trans: This is where 2nd DB Transaction would start in 2 DB transacation future model for horizontal scaling
POS_MGMT->DB: Persist latest position **value** and **reservedValue** to DB for Payer
hnote over DB #lightyellow
UPDATE **participantPosition**
SET value += sumRESERVED,
reservedValue -= sumTransfersInBatch
end note
activate DB
deactivate DB
POS_MGMT -> DB: Bulk persist transferStateChange for all processedTransfers
hnote over DB #lightyellow
batch INSERT **transferStateChange**
select for update from transfer table where transferId in ([transferBatch.transferId,...])
build list of transferStateChanges from transferBatch
end note
activate DB
deactivate DB
POS_MGMT->POS_MGMT: Populate batchParticipantPositionChange from the resultant transferStateChange and the earlier processedTransfer list
note right of POS_MGMT #lightgray
Effectively:
SET transferStateChangeId = processedTransfer.transferStateChangeId,
participantPositionId = preparedTransfer.participantPositionId,
value = preparedTransfer.positionValue,
reservedValue = preparedTransfer.positionReservedValue
end note
POS_MGMT -> DB: Bulk persist the participant position change for all processedTransfers
hnote over DB #lightyellow
batch INSERT **participantPositionChange**
end note
activate DB
deactivate DB
' DB Trans: This is where 2nd DB Transaction would end in 2 DB transacation future model for horizontal scaling
end
POS_MGMT --> POS_HANDLER: Return a map of transferIds and their transferStateChanges
deactivate POS_MGMT
alt Calculate & Validate Latest Position Prepare (success)
POS_HANDLER -> POS_HANDLER: Notifications for Position Validation Success \n<color Magenta><b>Reference: Postion Validation Success case (Prepare)</b></color>
else Calculate & Validate Latest Position Prepare (failure)
note right of POS_HANDLER #red: Validation failure!
group Persist Transfer State (with transferState='ABORTED' on position check fail)
POS_HANDLER -> POS_DAO: Request to persist transfer\n<color #FF0000><b>Error code:</b> 2003</color>
activate POS_DAO
note right of POS_HANDLER #lightgray
transferStateChange.state = "ABORTED",
transferStateChange.reason = "Net Debit Cap exceeded by this request at this time, please try again later"
end note
POS_DAO -> DB: Persist transfer state
hnote over DB #lightyellow
transferStateChange
end note
activate DB
deactivate DB
POS_DAO --> POS_HANDLER: Return success
deactivate POS_DAO
end
POS_HANDLER -> POS_HANDLER: Notifications for failures\n<color Magenta><b>Reference: Failure in Postion Validation (Prepare) </b></color>
end
end
group Reference: Failure in Postion Validation (Prepare)
alt If type == 'bulk-prepare'
note right of POS_HANDLER #yellow
Message:
{
id: <transferMessage.transferId>
from: <ledgerName>,
to: <transferMessage.payerFsp>,
type: application/json
content: {
headers: <transferHeaders>,
payload: {
"errorInformation": {
"errorCode": 4001,
"errorDescription": "Payer FSP insufficient liquidity",
"extensionList": <transferMessage.extensionList>
}
},
metadata: {
event: {
id: <uuid>,
responseTo: <previous.uuid>,
type: bulk-notification,
action: prepare,
createdAt: <timestamp>,
state: {
status: 'error',
code: <errorInformation.errorCode>
description: <errorInformation.errorDescription>
}
}
}
}
end note
POS_HANDLER -> TOPIC_BULK_PROCESSING: Publish Position failure event (in Prepare) to Bulk Processing Topic (for Payer) \n<color #FF0000><b>Error codes:</b> 2003</color>
else If type == 'prepare'
note right of POS_HANDLER #yellow
Message:
{
id: <transferMessage.transferId>
from: <ledgerName>,
to: <transferMessage.payerFsp>,
type: application/json
content: {
headers: <transferHeaders>,
payload: {
"errorInformation": {
"errorCode": 4001,
"errorDescription": "Payer FSP insufficient liquidity",
"extensionList": <transferMessage.extensionList>
}
},
metadata: {
event: {
id: <uuid>,
responseTo: <previous.uuid>,
type: notification,
action: prepare,
createdAt: <timestamp>,
state: {
status: 'error',
code: <errorInformation.errorCode>
description: <errorInformation.errorDescription>
}
}
}
}
end note
POS_HANDLER -> TOPIC_NOTIFICATIONS: Publish Notification (failure) event for Payer\n<color #FF0000><b>Error code:</b> 2003</color>
end
end
group Reference: Postion Validation Success case (Prepare)
alt If type == 'bulk-prepare'
note right of POS_HANDLER #yellow
Message:
{
id: <transferMessage.transferId>
from: <transferMessage.payerFsp>,
to: <transferMessage.payeeFsp>,
type: application/json
content: {
headers: <transferHeaders>,
payload: <transferMessage>
},
metadata: {
event: {
id: <uuid>,
responseTo: <previous.uuid>,
type: bulk-transfer,
action: prepare,
createdAt: <timestamp>,
state: {
status: "success",
code: 0
}
}
}
}
end note
POS_HANDLER -> TOPIC_BULK_PROCESSING: Publish Position Success event (in Prepare) to Bulk Processing Topic\n<color #FF0000><b>Error codes:</b> 2003</color>
else If type == 'prepare'
note right of POS_HANDLER #yellow
Message:
{
id: <transferMessage.transferId>
from: <transferMessage.payerFsp>,
to: <transferMessage.payeeFsp>,
type: application/json
content: {
headers: <transferHeaders>,
payload: <transferMessage>
},
metadata: {
event: {
id: <uuid>,
responseTo: <previous.uuid>,
type: transfer,
action: prepare,
createdAt: <timestamp>,
state: {
status: "success",
code: 0
}
}
}
}
end note
POS_HANDLER -> TOPIC_NOTIFICATIONS: Publish Notification event\n<color #FF0000><b>Error code:</b> 2003</color>
end
end
deactivate POS_HANDLER
@enduml
| false | true | true | false | sequence |
a31ef383633d97cc7a58378d27c8b1b336453174 | acf7651004c582800870596e65222cbca81d136d | /umlDiagrams/Facturacion.puml | b3a6f6a82ea99ba10ad38f19aec136a2cf43b76a | [] | no_license | marcopgordillo/springboot-backend-apirest | ba23c7dafc7013debf801ebbd0ee08b69f56149c | 818dc8d5f768cb29c882511a8a6f41caa3849766 | refs/heads/master | 2020-04-08T09:49:10.253625 | 2019-02-08T15:29:24 | 2019-02-08T15:29:24 | 159,241,078 | 0 | 0 | null | 2018-11-30T14:23:45 | 2018-11-26T22:25:02 | Java | UTF-8 | PlantUML | false | false | 905 | puml | @startuml
+class Cliente <<Serializable>> {
-id: Long
-nombre: String
-apellido: String
-email: String
-createAt: Date
-facturas: List<Factura>
.. Getter ..
.. Setter ..
}
+class Factura <<Serializable>> {
-- private data --
-id: Long
-folio: Integer
-descripcion: String
-observacion: String
-fecha: Date
-cliente: Cliente
-items: List<ItemFactura>
-- public methods --
+calcularTotal(): Long
.. Getter ..
.. Setter ..
}
+class ItemFactura <<Serializable>> {
-- private data --
-id: Long
-cantidad: Integer
-producto: Producto
-- public methods --
+getImporte(): Double
.. Getter ..
.. Setter ..
}
+class Producto <<Serializable>> {
-nombre: String
-precio: Double
.. Getter ..
.. Setter ..
}
Cliente o-- Factura
Factura *-- ItemFactura
ItemFactura --> Producto
@enduml
| false | true | false | false | class |
36e7285c79942da8b0caa8a31faacf9f17b1be0c | 0462163b4abadc06370b8930eae80a678df3103c | /src/main/java/com/gupaoedu/vip/pattern/singleton/InnerClassSequence.puml | ca8f9c69347c2d820df3ff9b83dd75d5d79963a5 | [] | no_license | gongLinGreat/gupaoedu-vip-pattern-singleton | ee4d8ad60fed1c07d239bdd8bd3c819a908b7d7d | cc27074df8108afb6f009bbd9f774cc4c181e637 | refs/heads/master | 2020-05-03T22:52:20.008994 | 2019-04-01T11:44:40 | 2019-04-01T11:44:40 | 178,852,025 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 142 | puml | @startuml
LazyInnerClassSingleton -> LazyHolder: getInstance()
LazyHolder --> LazyInnerClassSingleton: new LazyInnerClassSingleton()
@enduml | false | true | false | false | sequence |
f77552fa8e2489fcc35b3707ce2263e4ffc15bb7 | 00a0db230ccaf662d677da01a53ae1d9b37a02e0 | /app/src/main/java/com/windcake/aidllearn/BinderLearn.puml | 65928c5609610de0c02059b02e91933d34eb961b | [] | no_license | windcake/AIDLLearn | 471625c937fc7ca8aa18a291de86ccb00f00761a | aa635b7e99c62fd2ad81d1bf84dafcbe74da02c7 | refs/heads/master | 2021-05-03T11:04:48.885806 | 2018-02-07T11:54:14 | 2018-02-07T11:54:14 | 120,545,562 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 446 | puml | @startuml
interface IInterface
IInterface : asBinder()
interface IMyAidlInterface
class Binder
interface IBinder
class Stub{
IMyAidlInterface asInterface(IBinder obj)
IBinder asBinder()
boolean onTransact()
}
class Proxy{
IBinder mRemote
IBinder asBinder()
int add(int x, int y)
}
IInterface <|-- IMyAidlInterface
IBinder <|-- Binder
Binder <|-- Stub
IMyAidlInterface <|-- Stub
IMyAidlInterface <|-- Proxy
@enduml | false | true | false | false | class |
c344e4fa5bb84ac4bb68204cd107382511e6362b | c8e5514bd3ea44e6613f469e88bc0562ba16ae62 | /src/site/sphinx/formatting/puml/colors/DarkKhaki.puml | 2fb74311edf2c154c4e8a271436c036820f7945d | [] | no_license | weedySeaDragon/plantuml-documentation | 1dc30b9afcedaf1afe153cd9bbaa2c3246a769ba | 3c23cd2cd7fc1b4a85423ef9861711907fab2296 | refs/heads/develop | 2022-12-09T05:57:04.055959 | 2022-05-12T16:05:20 | 2022-05-12T16:05:20 | 165,910,589 | 55 | 6 | null | 2022-11-22T10:34:29 | 2019-01-15T19:28:35 | SCSS | UTF-8 | PlantUML | false | false | 316 | puml | @startuml
skinparam ClassBackgroundColor #DarkKhaki
skinparam ClassFontColor #DarkKhaki
skinparam ClassBorderColor #DarkKhaki
skinparam ClassStereotypeFontSize 0
skinparam CircledCharacterFontSize 0
skinparam CircledCharacterRadius 0
skinparam ClassBorderThickness 0
skinparam Shadowing false
class Dummy
@enduml | false | true | false | false | class |
f955ecfea71897ecba9d0b7440644d4dc9d757c3 | 1cdd7b2373c98a7faaba829f0182a33c800777f6 | /docs/UML/sequence-2dscan.plantuml | 3e9b42d1eb0bee7cfada11b9eb12fbf28c8c31c2 | [
"MIT"
] | permissive | QuTech-Delft/qilib | 445a62b69a96799fd400f91d2a36d6b3b930251b | 335f324087809fbe8bd421e5d1b8cc658b2ed2e2 | refs/heads/dev | 2023-04-28T12:07:34.118849 | 2023-04-14T13:27:32 | 2023-04-14T13:27:32 | 170,845,845 | 2 | 2 | NOASSERTION | 2023-04-14T13:27:34 | 2019-02-15T10:20:23 | Python | UTF-8 | PlantUML | false | false | 2,416 | plantuml | @startuml
box "control pc"
participant instruments
participant scan2D
participant DataSet1
participant MongoDataSetIO1
end box
database db
box "operator pc"
participant MongoDataSetIO2
participant DataSet2
participant LivePlot
end box
activate db
activate scan2D
activate instruments
scan2D -> MongoDataSetIO1 : ~__init__(None)
activate MongoDataSetIO1
MongoDataSetIO1 -> scan2D : object
scan2D -> DataSet1 : ~__init__(io=MongoDataSetIO1,name="foo")
loop for x_index, x in scan range
scan2D -> scan2D : create array a
scan2D -> instruments : set x
loop for y_index, y in scan range
scan2D -> instruments : set y
scan2D -> instruments : measure m
instruments -> scan2D : m
scan2D -> scan2D : a.append(m)
end
activate DataSet1
scan2D -> DataSet1 : store(x, a)
DataSet1 -> MongoDataSetIO1 : event: x, a
MongoDataSetIO1 -> db : update(documentid, { 'x': a })
end
scan2D -> DataSet1 : finalize()
DataSet1 -> MongoDataSetIO1 : finalize()
MongoDataSetIO1 -> db : event: finalize
MongoDataSetIO1 -> db : get all events
db -> MongoDataSetIO1 : events
MongoDataSetIO1 -> MongoDataSetIO1 : compress events
MongoDataSetIO1 -> db : overwrite events
MongoDataSetIO1 -> DataSet1
deactivate MongoDataSetIO1
DataSet1 -> scan2D
deactivate DataSet1
deactivate instruments
deactivate scan2D
activate LivePlot
LivePlot -> MongoDataSetIO2 : ~__init__(name="foo")
LivePlot -> DataSet2 : create from id
note left
The loop below on the operator pc runs in parallel with the
loop running on the control pc, but plantuml can't render
parallel loops unfortunately.
end note
activate DataSet2
DataSet2 -> MongoDataSetIO2 : create IO from id
activate MongoDataSetIO2
DataSet2 -> MongoDataSetIO2 : load()
MongoDataSetIO2 -> db : findOne(id)
MongoDataSetIO2 -> db : get change stream cursor
db -> MongoDataSetIO2 : cursor
db -> MongoDataSetIO2 : metadata, array names, ..
MongoDataSetIO2 -> DataSet2 : metadata, array names, ..
LivePlot -> LivePlot : initialize plot
DataSet2 -> LivePlot : created DataSet
loop !finalized
LivePlot -> DataSet2 : sync_from_storage()
DataSet2 -> MongoDataSetIO2 : read()
MongoDataSetIO2 -> db : cursor.next()
db -> MongoDataSetIO2 : event: x,a
MongoDataSetIO2 -> DataSet2 : change_set
DataSet2 -> DataSet2 : update DataArrays
DataSet2 -> LivePlot : change_set
LivePlot -> LivePlot : update plot
end
deactivate LivePlot
deactivate db
@enduml | false | true | false | false | sequence |
2ac655128b8b3aafa1b9598f7b2cc933956592ca | 563205b14249a87f4b56cfaddc74513a8423748f | /src/main/java/ex41/ex41.puml | 9546a91a41a31b27c5f3de4a271a872d0bca7495 | [] | no_license | shivpatel35/Patel-cop3330-assignment3 | 00d842b4f09c9a438753cbeb5bd0e8fade96af73 | 6a1ad411e4c9fccd72b919d21ec6a6fe44b6c3af | refs/heads/main | 2023-06-02T05:15:19.344396 | 2021-06-21T02:25:05 | 2021-06-21T02:25:05 | 378,782,327 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 122 | puml | @startuml
'https://plantuml.com/class-diagram
class Main{
inputfile
outputfile
sortnames(){
Arraylist
}
}
@enduml | false | true | false | false | class |
ae6b7248376dab5376e8c0d2fea9e7b616778716 | 5acd49398273f60e06a9a473db1873362928ed94 | /docs/Software Architecture Document/Component Interaction View/assets/protocol_layer_data.plantuml | 17e9f55b26d5ad61b0fa91aa78de1d0e24ecac31 | [] | no_license | Ford-Luxoft/sdl_core_documentation | 8e30a518b46393bbbe318c1865d83f8eb4281d1d | c3714fcd74d55ee3a7b38e61e4ff3952cf07194a | refs/heads/master | 2020-04-09T18:57:36.276627 | 2018-10-31T19:04:03 | 2018-10-31T19:04:03 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 2,060 | plantuml | @startuml
/'
It is a source file for SDL SAD sequence diagram.
For further information, please, follow http://plantuml.com/
'/
title "Protocol layer - data transferring"
participant "Transport Manager" as TM #DDDDDD
participant "Protocol Handler" as PH
participant "Connection Handler" as CH
participant "Security Manager" as SM
participant "Application Manager" as AM #DDDDDD
participant "Media Manager" as MM #DDDDDD
== Mobile data receive ==
TM -> PH : Raw Message
PH -> PH : Extract Protocol Frames
opt Consecutive frame
PH -> PH : Assembling frame
end
opt Frame is encrypted
PH -> SM : Encrypted frame
SM -> PH : Decrypted frame
end
alt Control message
alt Session or service start request
PH -> CH : Session or service open request
CH -> AM : Service open request
AM -> CH : Response
CH -> PH : Response
end
PH -> TM : Control message Acknowledge
else Handshake data
PH -> SM : Handshake data
else RPC service data
PH -> AM : RPC frame
else Media services data
PH -> MM : Video or Audio frame
...
MM -> PH : Video/Audio processing Acknowledge
PH -> TM : Send Video Frames Acknowledge
end
== Mobile data to send ==
Note over SM, AM: Data ready to send
alt RPC data to send
AM -> PH : RPC message
else Handshake data to send
SM -> PH : Handshake data
end
PH -> PH : Prepare Frame
opt Frame is bigger MTU
PH -> PH : Disassembled frames
end
opt Service is encrypted
PH -> SM : Decrypted frame
SM -> PH : Encrypted frame
end
PH -> TM : Raw message
skinparam defaultFontSize 16
skinparam sequence {
ArrowColor Blue
ArrowFontColor #2027E8
ArrowFontStyle bold
LifeLineBorderColor black
ParticipantBorderColor black
ParticipantBackgroundColor white
ParticipantFontSize 17
ParticipantFontColor black
ActorBorderColor black
ActorBackgroundColor white
ActorFontColor Blue
ActorFontSize 17
ActorFontName Blue
sequenceArrowFontSize 16
DividerBackgroundColor #FEFECE
}
@enduml | false | true | false | false | sequence |
b0801e5013004f409d4bd8516042a11707cd82b8 | d69d7773ee03eb466c7d3cd5260c7deff1746132 | /tip/hood/goog/storg/src/site/resources/uml/dataserver.puml | 0ace7e3d7383ea453a7644045f89e5165c3bcfb1 | [] | no_license | max8github/cloudio | ed9e854932031cf4d5b6c272f4150d9088328671 | 397ef65187393b1dd42fa840ac39ba78ee2b9268 | refs/heads/master | 2016-09-06T18:35:03.966945 | 2015-11-18T17:33:55 | 2015-11-18T17:33:55 | 26,938,300 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 177 | puml | @startuml
abstract class ServerBaseHttpServlet extends HttpServlet
DataServerInputStreamContentProvider --> "1" DataServerRequest
ServerBaseHttpServlet <|-- DataServlet
@enduml | false | true | false | false | class |
c85fd7895aed813d17c3fcb238130ccd2c11d2a7 | 8e0e85b3875e06a4d76b4298decb879026847d7f | /docs/Skeleton/diagrams/Gao_seq_Comm_NE_INCLUDE-OLD!/Com/Drill1-SpaceShip.puml | dd2630b7348b250ff88391ea5d61a7aa3f354317 | [] | no_license | viseguard-studios/Documentation | fba5030594be0303374d70019c7ea759316a96fe | 290312ddbeab9cf9a28147c868f3330475aebd6d | refs/heads/main | 2023-05-13T12:00:34.417075 | 2021-06-06T07:52:49 | 2021-06-06T07:52:49 | 338,383,487 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 241 | puml | @startuml
'autonumber "0:"
skinparam linestyle ortho
actor Tester as Tester
rectangle "S : SpaceShip" as S
rectangle "currentAsteroid : Asteroid" as cA
Tester --> S: "1 : -> Drill()" "4 : <--"
S --> cA: "2 : -> Drill()" "3 : <--"
@enduml | false | true | false | false | sequence |
75949001616ee3bd6fec8499d2ea2e8bf02ebd74 | e10cac196aa29d7353b36e26c7bf65fa39c5763b | /docs/DG_Diagrams/BusCommand/BusCommand.puml | 320570f95830de567e1dc97bfb261775d2f31566 | [] | no_license | wamikamalik/tp | 174c866802ecc34139def88fa91c79d9c682c7bc | d6beb431ad97a6608bcdf8418f698c6faa779c61 | refs/heads/master | 2023-01-11T22:41:16.157009 | 2020-11-09T13:17:45 | 2020-11-09T13:17:45 | 299,304,875 | 1 | 0 | null | 2020-09-28T12:41:08 | 2020-09-28T12:41:07 | null | UTF-8 | PlantUML | false | false | 958 | puml | @startuml
skinparam BoxPadding 30
box Logic
participant ":Parser"
participant ":BusCommand"
end box
box Model
participant ":BusData" <<Class>>
end box
box Ui
participant ":Ui" <<Class>>
end box
[-> ":Parser": setUserInput("/bus busStop")
activate ":Parser"
[<-- ":Parser"
deactivate ":Parser"
[-> ":Parser": extractType()
activate ":Parser"
create ":BusCommand"
":Parser" -> ":BusCommand": BusCommand(busStop)
activate ":BusCommand"
ref over ":BusCommand"
get bus stop
end
":BusCommand" --> ":Parser"
deactivate ":BusCommand"
":Parser" -> ":BusCommand": executeCommand()
activate ":BusCommand"
":BusCommand"->":BusData": getBusAtStop(busStop)
activate ":BusData"
":BusData" -->":BusCommand": ArrayList<Bus> busList
deactivate ":BusData"
":BusCommand"->":Ui": printBusAtBusStop(busList)
activate ":Ui"
":Ui"-->":BusCommand"
deactivate ":Ui"
":BusCommand"-->":Parser"
deactivate ":BusCommand"
[<-- ":Parser"
deactivate ":Parser"
@enduml | false | true | false | false | sequence |
a22d766f21aaa2afd32d2accb284ec947eb33710 | 1fa78caa225ab245bcbf45a8f37c0ae0456699bb | /docs/diagrams/CommandHandlerClassDiagram.puml | e031d3d09a160f874df692530d9871ee00cbbcae | [] | no_license | AY2021S2-CS2113T-W09-1/tp | 4fc8be000ca7413ef1fcf6792df8964c9d56dc80 | f6b64fca1af322a0af026b665f5f4a576cf4a768 | refs/heads/master | 2023-04-01T13:54:23.209787 | 2021-04-12T15:46:53 | 2021-04-12T15:46:53 | 343,957,852 | 0 | 5 | null | 2021-04-12T15:46:54 | 2021-03-03T00:58:58 | Java | UTF-8 | PlantUML | false | false | 435 | puml | @startuml
skinparam classAttributeIconSize 0
hide circle
note "Private attributes and methods are omitted." as N1
class CommandHandler {
-isExit : boolean
+CommandHandler()
+isExit() : boolean
+setExit(:boolean)
+parseCommand(:ArrayList<String>, :RecordList): Command
-createCommand(:ArrayList<String>, :RecordList): Command
}
class Finux {
+main()
}
CommandHandler"1" <-- Finux
Finux -right> N1
@enduml | false | true | false | false | class |
57fcdb0743fcd970d023e53d3534cec14a2ac9e8 | d6374fe9363a41031c51eb622cb0cb5e75b78380 | /legacy/mojaloop-technical-overview/central-settlements/settlement-process/assets/diagrams/sequence/seq-settlement-6.2.4.plantuml | 37f9694bdfa0359cc3f7ae3570cd4663f9f2dbcb | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | mojaloop/documentation | 18a1e58443956b9c718f5f85590f652f803f4748 | 6ad904da0293bb259bd9f5140bcecd719d8c8024 | refs/heads/master | 2023-07-26T17:13:14.811484 | 2023-06-26T15:18:57 | 2023-06-26T15:18:57 | 170,135,923 | 24 | 98 | NOASSERTION | 2023-09-01T14:57:33 | 2019-02-11T13:45:44 | JavaScript | UTF-8 | PlantUML | false | false | 6,155 | plantuml | /'*****
License
--------------
Copyright © 2017 Bill & Melinda Gates Foundation
The Mojaloop files are made available by the Bill & Melinda Gates Foundation under the Apache License, Version 2.0 (the "License") and you may not use these files except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, the Mojaloop files are distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Contributors
--------------
This is the official list of the Mojaloop project contributors for this file.
Names of the original copyright holders (individuals or organizations)
should be listed with a '*' in the first column. People who have
contributed from an organization can be listed under the organization
that actually holds the copyright for their contributions (see the
Gates Foundation organization for an example). Those individuals should have
their names indented and be marked with a '-'. Email address can be added
optionally within square brackets <email>.
* Gates Foundation
- Name Surname <name.surname@gatesfoundation.com>
* ModusBox
- Georgi Georgiev <georgi.georgiev@modusbox.com>
--------------
******'/
@startuml
' declate title
title 6.2.4. Get Settlement By Id (getSettlementById)
autonumber
' declare actors
actor "Hub Employee" as OPERATOR
boundary "Settlement Service API" as SSAPI
entity "Settlement DAO" as SETTLE_DAO
database "Central Store" as DB
box "Central HUB" #lightpink
participant OPERATOR
end box
box "Settlement Service" #lightgreen
participant SSAPI
participant SETTLE_DAO
end box
box "Central Services" #lightyellow
participant DB
end box
' start flow
group Get Settlement By Id
activate OPERATOR
OPERATOR -> SSAPI: GET - /settlements/{id}
activate SSAPI
SSAPI-> SETTLE_DAO: Request settlement state\n<color #FF0000><b>Error code:</b> 2001</color>
activate SETTLE_DAO
SETTLE_DAO -> DB: Retrieve settlement
activate DB
hnote over DB #lightyellow
SELECT s.settlementId, ssc.settlementStateId, s.reason, s.createdDate
FROM **settlement** s
JOIN **settlementStateChange** ssc
ON ssc.settlementStateChangeId = s.currentStateChangeId
WHERE s.settlementId = {id}
end hnote
deactivate DB
SSAPI <-- SETTLE_DAO: Return **settlement**
deactivate SETTLE_DAO
alt settlement found
SSAPI-> SETTLE_DAO: Request settlement windows\n<color #FF0000><b>Error code:</b> 2001</color>
activate SETTLE_DAO
SETTLE_DAO -> DB: Retrieve windows
activate DB
hnote over DB #lightyellow
SELECT sw.settlementWindowId, swsc.settlementWindowStateId,
swsc.reason, sw.createdDate, swsc.createdDate changedDate
FROM **settlementSettlementWindow** ssw
JOIN **settlementWindow** sw
ON sw.settlementWindowId = ssw.settlementWindowId
JOIN **settlementWindowStateChange** swsc
ON swsc.settlementWindowStateChangeId = sw.currentStateChangeId
WHERE ssw.settlementId = {id}
end hnote
deactivate DB
SSAPI <-- SETTLE_DAO: Return **windows**
deactivate SETTLE_DAO
SSAPI-> SETTLE_DAO: Request settlement accounts\n<color #FF0000><b>Error code:</b> 2001</color>
activate SETTLE_DAO
SETTLE_DAO -> DB: Retrieve accounts
activate DB
hnote over DB #lightyellow
SELECT pc.participantId, spc.participantCurrencyId, spcsc.settlementStateId,
spcsc.reason, spc.netAmount, pc.currencyId
FROM **settlementParticipantCurrency** spc
JOIN **settlementParticipantCurrencyStateChange** spcsc
ON spcsc.settlementParticipantCurrencyStateChangeId = spc.currentStateChangeId
JOIN **participantCurrency** pc
ON pc.participantCurrencyId = spc.participantCurrencyId
WHERE spc.settlementId = {id}
end hnote
deactivate DB
SSAPI <-- SETTLE_DAO: Return **accounts**
deactivate SETTLE_DAO
note left of SSAPI #yellow
{
"id": settlement.settlementId,
"state": settlement.settlementStateId,
"settlementWindows": [
[
{
"id": window.settlementWindowId,
"reason": window.reason,
"state": window.settlementWindowStateId,
"createdDate": window.createdDate,
"changedDate": window.changedDate
}
]
],
"participants": [
{
"id": account.participantId,
"accounts": [
{
"id": account.participantCurrencyId,
"reason": account.reason,
"state": account.settlementStateId,
"netSettlementAmount": {
"amount": account.netAmount,
"currency": account.currencyId
}
}
]
}
]
}
end note
OPERATOR <-- SSAPI: Respond HTTP - 200 (OK)
else
note right of SSAPI #lightgray
Log ERROR event
end note
note left of SSAPI #yellow
{
errorInformation: {
"errorCode": <integer>,
"errorDescription": "Client error description"
}
}
end note
OPERATOR <-- SSAPI: Respond HTTP - 4xx (Client error)
deactivate SSAPI
deactivate OPERATOR
end
end
@enduml
| false | true | true | false | usecase |
e043bd55f59d5ae89620df8c9db9f5ea53e64275 | ed160782ff6013bb6dc5e26c388b04982bc6a04c | /Client/Client.plantuml | 63dac16fcc51547f3e24221dae045f1fe84f62de | [] | no_license | sherifawad/bankSystemNoSteg | bdf5a04bc05253f806a7dca8cc74bc6dece929d2 | 075f6b4c35cb497587bc2e6df5d7bf09cf07f730 | refs/heads/master | 2022-11-27T06:12:05.257346 | 2020-08-07T12:43:57 | 2020-08-07T12:43:57 | 285,826,736 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 2,813 | plantuml | @startuml
title __CLIENT's Class Diagram__\n
package algorithm {
package algorithm.encryption {
class AESencryption {
}
}
}
package algorithm {
class Algorithm {
}
}
package parameters {
class Client {
}
}
package sample {
class ClientMain {
}
}
package connection {
class ClientServer {
}
}
package Util {
class Consts {
}
}
package sample {
class Controller {
}
}
package algorithm {
package algorithm.ecc {
class ECPoint {
}
}
}
package algorithm {
package algorithm.ecc {
class EllipticCurve {
}
}
}
package algorithm {
package algorithm.Steganograpgy {
class Embedding {
}
}
}
package algorithm {
package algorithm.encryption {
class EncUtil {
}
}
}
package algorithm {
package algorithm.Steganograpgy {
class Extracting {
}
}
}
package algorithm {
package algorithm.Steganograpgy {
class HelperMethods {
}
}
}
package connection {
class Message {
}
}
package parameters {
class PrivateKey {
}
}
package parameters {
class PublicKey {
}
}
package algorithm {
package algorithm.steganography {
class Steganography {
}
}
}
package algorithm {
package algorithm.steganography {
class UITSteg {
}
}
}
package Util {
class Uty {
}
}
package parameters {
class publicParameters {
}
}
Algorithm o-- ClientServer : bankClient
Client -up-|> Serializable
Client o-- ECPoint : pointOfClientPartialKey
Client o-- ECPoint : pointOfBankPartialKey
Client o-- PrivateKey : privateKey
ClientMain -up-|> Application
ClientServer o-- Client : client
ClientServer o-- publicParameters : publicParameter
ClientServer o-- ECPoint : P_C
Controller -up-|> Initializable
Controller o-- Client : client
Controller o-- Algorithm : algorithm
Controller o-- publicParameters : publicParameter
ECPoint -up-|> Serializable
EllipticCurve -up-|> Serializable
EllipticCurve o-- ECPoint : g
Message -up-|> Serializable
PrivateKey -up-|> Serializable
PublicKey -up-|> Serializable
PublicKey o-- ECPoint : xCoordinates
PublicKey o-- ECPoint : yCoordinate
publicParameters -up-|> Serializable
publicParameters o-- EllipticCurve : curve
publicParameters o-- ECPoint : basePoint
publicParameters o-- ECPoint : kgcPublic
publicParameters o-- PublicKey : bankPublicKey
right footer
PlantUML diagram generated by SketchIt! (https://bitbucket.org/pmesmeur/sketch.it)
For more information about this tool, please contact philippe.mesmeur@gmail.com
endfooter
@enduml
| false | true | false | false | class |
549307d97de8e88bfd457a21bd0bb464ad67e046 | 6aef8325074746870857c9730cc787eed485cf66 | /app/UML/resume_game_seq.puml | f8cde8770287aa2180b144bed761d927a90e7c60 | [] | no_license | Tjaub95/2048 | 95d36726fcb047f0d75a6ee01315dd53c6eaaab5 | 2633f555996e9020f9811b71a2c5e0052e940194 | refs/heads/master | 2021-01-20T07:20:42.750500 | 2017-05-02T04:46:59 | 2017-05-02T04:46:59 | 89,992,568 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 428 | puml | @startuml
actor User
boundary 2048App
User -> 2048App : click
2048App -> TwoZeroFourEightActivity : onResume()
TwoZeroFourEightActivity -> TwoZeroFourEightActivity : load()
2048App -> TwoZeroFourEightFragment : onResume()
TwoZeroFourEightFragment -> TwoZeroFourEightFragment : load()
TwoZeroFourEightFragment -> Game : updateData(data)
Game -> GridView : invalidate()
Game -> Game : if demo == true then resumeDemo()
@enduml
| false | true | false | false | usecase |
c06b3b5f5758804aa28c3d8b567fd3d758db89b2 | d97b774fd95a8e98e37c46ee1771f6e6e407a148 | /uml/api/TaxRate.puml | b0c1534f84b270753e3ab2a535017ecc96506950 | [] | no_license | commercetools/commercetools-api-reference | f7c6694dbfc8ed52e0cb8d3707e65bac6fb80f96 | 2db4f78dd409c09b16c130e2cfd583a7bca4c7db | refs/heads/main | 2023-09-01T05:22:42.100097 | 2023-08-31T11:33:37 | 2023-08-31T11:33:37 | 36,055,991 | 52 | 30 | null | 2023-08-22T11:28:40 | 2015-05-22T06:27:19 | RAML | UTF-8 | PlantUML | false | false | 6,122 | puml | @startuml
hide empty fields
hide empty methods
legend
|= |= line |
|<back:black> </back>| inheritance |
|<back:green> </back>| property reference |
|<back:blue> </back>| discriminated class |
endlegend
interface TaxRate [[TaxRate.svg]] {
id: String
key: String
name: String
amount: Double
includedInPrice: Boolean
country: String
state: String
subRates: [[SubRate.svg List<SubRate>]]
}
interface TaxCategory [[TaxCategory.svg]] {
id: String
version: Long
createdAt: DateTime
lastModifiedAt: DateTime
lastModifiedBy: [[LastModifiedBy.svg LastModifiedBy]]
createdBy: [[CreatedBy.svg CreatedBy]]
name: String
description: String
rates: [[TaxRate.svg List<TaxRate>]]
key: String
}
interface CustomLineItem [[CustomLineItem.svg]] {
id: String
key: String
name: [[LocalizedString.svg LocalizedString]]
money: [[TypedMoney.svg TypedMoney]]
taxedPrice: [[TaxedItemPrice.svg TaxedItemPrice]]
taxedPricePortions: [[MethodTaxedPrice.svg List<MethodTaxedPrice>]]
totalPrice: [[CentPrecisionMoney.svg CentPrecisionMoney]]
slug: String
quantity: Long
state: [[ItemState.svg List<ItemState>]]
taxCategory: [[TaxCategoryReference.svg TaxCategoryReference]]
taxRate: [[TaxRate.svg TaxRate]]
perMethodTaxRate: [[MethodTaxRate.svg List<MethodTaxRate>]]
discountedPricePerQuantity: [[DiscountedLineItemPriceForQuantity.svg List<DiscountedLineItemPriceForQuantity>]]
custom: [[CustomFields.svg CustomFields]]
shippingDetails: [[ItemShippingDetails.svg ItemShippingDetails]]
priceMode: [[CustomLineItemPriceMode.svg CustomLineItemPriceMode]]
}
interface LineItem [[LineItem.svg]] {
id: String
key: String
productId: String
productKey: String
name: [[LocalizedString.svg LocalizedString]]
productSlug: [[LocalizedString.svg LocalizedString]]
productType: [[ProductTypeReference.svg ProductTypeReference]]
variant: [[ProductVariant.svg ProductVariant]]
price: [[Price.svg Price]]
quantity: Long
totalPrice: [[CentPrecisionMoney.svg CentPrecisionMoney]]
discountedPricePerQuantity: [[DiscountedLineItemPriceForQuantity.svg List<DiscountedLineItemPriceForQuantity>]]
taxedPrice: [[TaxedItemPrice.svg TaxedItemPrice]]
taxedPricePortions: [[MethodTaxedPrice.svg List<MethodTaxedPrice>]]
state: [[ItemState.svg List<ItemState>]]
taxRate: [[TaxRate.svg TaxRate]]
perMethodTaxRate: [[MethodTaxRate.svg List<MethodTaxRate>]]
supplyChannel: [[ChannelReference.svg ChannelReference]]
distributionChannel: [[ChannelReference.svg ChannelReference]]
priceMode: [[LineItemPriceMode.svg LineItemPriceMode]]
lineItemMode: [[LineItemMode.svg LineItemMode]]
inventoryMode: [[InventoryMode.svg InventoryMode]]
shippingDetails: [[ItemShippingDetails.svg ItemShippingDetails]]
custom: [[CustomFields.svg CustomFields]]
addedAt: DateTime
lastModifiedAt: DateTime
}
interface MethodTaxRate [[MethodTaxRate.svg]] {
shippingMethodKey: String
taxRate: [[TaxRate.svg TaxRate]]
}
interface ShippingInfo [[ShippingInfo.svg]] {
shippingMethodName: String
price: [[CentPrecisionMoney.svg CentPrecisionMoney]]
shippingRate: [[ShippingRate.svg ShippingRate]]
taxedPrice: [[TaxedItemPrice.svg TaxedItemPrice]]
taxRate: [[TaxRate.svg TaxRate]]
taxCategory: [[TaxCategoryReference.svg TaxCategoryReference]]
shippingMethod: [[ShippingMethodReference.svg ShippingMethodReference]]
deliveries: [[Delivery.svg List<Delivery>]]
discountedPrice: [[DiscountedLineItemPrice.svg DiscountedLineItemPrice]]
shippingMethodState: [[ShippingMethodState.svg ShippingMethodState]]
}
interface CustomLineItemImportDraft [[CustomLineItemImportDraft.svg]] {
name: [[LocalizedString.svg LocalizedString]]
key: String
slug: String
quantity: Long
money: [[Money.svg Money]]
taxRate: [[TaxRate.svg TaxRate]]
taxCategory: [[TaxCategoryResourceIdentifier.svg TaxCategoryResourceIdentifier]]
priceMode: [[CustomLineItemPriceMode.svg CustomLineItemPriceMode]]
shippingDetails: [[ItemShippingDetailsDraft.svg ItemShippingDetailsDraft]]
state: [[ItemState.svg List<ItemState>]]
custom: [[CustomFieldsDraft.svg CustomFieldsDraft]]
}
interface LineItemImportDraft [[LineItemImportDraft.svg]] {
name: [[LocalizedString.svg LocalizedString]]
key: String
variant: [[ProductVariantImportDraft.svg ProductVariantImportDraft]]
productId: String
quantity: Long
price: [[PriceDraft.svg PriceDraft]]
taxRate: [[TaxRate.svg TaxRate]]
distributionChannel: [[ChannelResourceIdentifier.svg ChannelResourceIdentifier]]
supplyChannel: [[ChannelResourceIdentifier.svg ChannelResourceIdentifier]]
inventoryMode: [[InventoryMode.svg InventoryMode]]
shippingDetails: [[ItemShippingDetailsDraft.svg ItemShippingDetailsDraft]]
state: [[ItemState.svg List<ItemState>]]
custom: [[CustomFieldsDraft.svg CustomFieldsDraft]]
}
interface ShippingInfoImportDraft [[ShippingInfoImportDraft.svg]] {
shippingMethodName: String
price: [[Money.svg Money]]
shippingRate: [[ShippingRateDraft.svg ShippingRateDraft]]
taxRate: [[TaxRate.svg TaxRate]]
taxCategory: [[TaxCategoryResourceIdentifier.svg TaxCategoryResourceIdentifier]]
shippingMethod: [[ShippingMethodResourceIdentifier.svg ShippingMethodResourceIdentifier]]
deliveries: [[DeliveryDraft.svg List<DeliveryDraft>]]
discountedPrice: [[DiscountedLineItemPriceDraft.svg DiscountedLineItemPriceDraft]]
shippingMethodState: [[ShippingMethodState.svg ShippingMethodState]]
}
TaxRate --> TaxCategory #green;text:green : "rates"
TaxRate --> CustomLineItem #green;text:green : "taxRate"
TaxRate --> LineItem #green;text:green : "taxRate"
TaxRate --> MethodTaxRate #green;text:green : "taxRate"
TaxRate --> ShippingInfo #green;text:green : "taxRate"
TaxRate --> CustomLineItemImportDraft #green;text:green : "taxRate"
TaxRate --> LineItemImportDraft #green;text:green : "taxRate"
TaxRate --> ShippingInfoImportDraft #green;text:green : "taxRate"
@enduml
| false | true | false | false | sequence |
7cf465866aeba4b47a9dc9144cc19fd30a2bb89d | b783f1e87309730f7234385df81f5b73a3b8935a | /docs/diagrams/everlib-api-design.puml | 5cc69e6bb2b7ddd76ec63432563ba3413775f812 | [] | no_license | codetony25/codeforapps | 96e539e8ed373ba1af4c6aa9d57170e3b6c53f6c | c1f6c867d5a36b8cb1f86f1a522733e639389abf | refs/heads/master | 2022-12-10T14:00:01.339261 | 2019-08-16T17:35:28 | 2019-08-16T17:35:28 | 98,340,649 | 1 | 0 | null | 2022-12-02T08:25:52 | 2017-07-25T19:05:11 | JavaScript | UTF-8 | PlantUML | false | false | 1,145 | puml | @startuml
skinparam backgroundColor lightgray
actor User
boundary AuthView
control AuthViewState
control AuthAction
skinparam sequence {
ArrowColor DeepSkyBlue
LifeLineBackgroundColor #A9DCDF
}
title __API Design Pattern__ communication example\non several lines
User -> AuthView: **User clicks on the Login Button!**
AuthView -> AuthViewState: onLoginClick()
note over AuthView: onClick event triggers\non our onLoginClick \non inside of our\non AuthViewState
AuthViewState -> AuthAction: onAuthAction()
activate AuthViewState
activate AuthAction #FFBBBB
AuthAction --> API: API Request
|||
group API Response [onAuthSuccess]
activate API #DarkSalmon
API --> AuthAction: API Response
destroy API
AuthAction -> AuthViewState
deactivate AuthAction
deactivate AuthViewState
AuthViewState -> AuthView: onAuthResponse()
User <- AuthView: **User is taken to the Dashboard!**
else onAuthError
API --> AuthAction: API Response
destroy API
AuthAction --> AuthViewState: onAuthAction()
AuthViewState --> AuthView: onAuthResponse()
User <- AuthView: **User has retry login!**
end
@enduml
| false | true | false | false | sequence |
e12dbc5f0fa715e68da810a9b24b12b090bad8c3 | d97b774fd95a8e98e37c46ee1771f6e6e407a148 | /uml/api/AttributeLocalizedEnumType.puml | 7b94595faa2a5d8a6394b0dafeae47e7240b26c9 | [] | no_license | commercetools/commercetools-api-reference | f7c6694dbfc8ed52e0cb8d3707e65bac6fb80f96 | 2db4f78dd409c09b16c130e2cfd583a7bca4c7db | refs/heads/main | 2023-09-01T05:22:42.100097 | 2023-08-31T11:33:37 | 2023-08-31T11:33:37 | 36,055,991 | 52 | 30 | null | 2023-08-22T11:28:40 | 2015-05-22T06:27:19 | RAML | UTF-8 | PlantUML | false | false | 487 | puml | @startuml
hide empty fields
hide empty methods
legend
|= |= line |
|<back:black> </back>| inheritance |
|<back:green> </back>| property reference |
|<back:blue> </back>| discriminated class |
endlegend
interface AttributeLocalizedEnumType [[AttributeLocalizedEnumType.svg]] extends AttributeType {
name: String
values: [[AttributeLocalizedEnumValue.svg List<AttributeLocalizedEnumValue>]]
}
interface AttributeType [[AttributeType.svg]] {
name: String
}
@enduml
| false | true | false | false | class |
fe1db6ce60516379a427ced2903a97221b265ede | 614d69a4292ebe64a5d5f7ec110e7ed0bc85c00f | /metrics/cli/docs/diagrams/deploy_command_class_diagram.puml | 1e38aaf8cca4c8975d565532314c9bd665091345 | [
"BSD-3-Clause",
"Apache-2.0"
] | permissive | solid-yuriiuvarov/dashboard | 0f270825187c64a6ac1cc56d60911d31a9e8ab91 | 0b59387d0fe12e97789fdef79c4c43952241b32a | refs/heads/master | 2023-06-04T14:54:11.153055 | 2021-06-22T10:20:57 | 2021-06-22T10:20:57 | 369,200,884 | 0 | 0 | Apache-2.0 | 2021-05-25T11:16:32 | 2021-05-20T12:29:31 | Dart | UTF-8 | PlantUML | false | false | 3,363 | puml | @startuml deploy_command_class_diagram
package firebase.service {
interface FirebaseService {
+ login(): Future<void>
+ createWebApp(String projectId): Future<void>
+ deployHosting(String projectId, String target, String appPath): Future<void>
+ deployFirebase(String projectId, String firebasePath): Future<void>
+ configureAuthProviders(String projectId) : FutureOr<String>
+ enableAnalytics(String projectId) : FutureOr<void>
+ initializeFirestoreData(String projectId) : FutureOr<void>
+ upgradeBillingPlan(String projectId) : FutureOr<void>
+ acceptTermsOfService() : FutureOr<void>
}
}
package gcould.service {
interface GCloudService {
+ login() : Future<void>
+ createProject() : Future<String>
}
}
package flutter.service {
interface FlutterService {
+ build(String appPath) : Future<void>
}
}
package git.service{
interface GitService {
+ checkout(String repoUrl, String targetDirectory) : Future<void>
}
}
package npm.service {
interface NpmService {
+ installDependencies(String path) : Future<void>
}
}
package sentry.service{
interface SentryService {
+ login() : Future<void>
+ createRelease(List<SourceMap> sourceMaps) : Future<SentryRelease>
+ getProjectDsn(SentryProject project) : String
}
}
package common {
package model {
class Services {
+ npmService : NpmService
+ gitService : GitService
+ flutterService : FlutterService
+ gcloudService : GCloudService
+ firebaseService : FirebaseService
+ sentryService : SentryService
}
}
package factory as common.factory{
class ServicesFactory {
+ create() : Services
}
}
}
package deploy {
package command {
class DeployCommand {
- _deployerFactory : DeployerFactory
+ run() : Future<void>
}
}
package constants {
class DeployConstants{}
}
package factory {
class DeployerFactory {
- _servicesFactory : ServicesFactory
+ create() : Deployer
}
}
class Deployer {
- _fileHelper: FileHelper
- _npmService : NpmService
- _gitService : GitService
- _flutterService : FlutterService
- _gcloudService : GCloudService
- _firebaseService : FirebaseService
- _sentryService : SentryService
+ deploy() : Future<void>
}
}
package helper {
class FileHelper {
+ getFile(String path) : File
+ getDirectory(String path) : Directory
+ replaceEnvironmentVariables(File file, Map<String, dynamic> environment) : void
}
}
Deployer -down-> NpmService : uses
Deployer -down-> GitService : uses
Deployer -down-> FlutterService : uses
Deployer -down-> GCloudService : uses
Deployer -down-> FirebaseService : uses
Deployer -down-> SentryService : uses
Deployer -left-> FileHelper : uses
Deployer -> DeployConstants : uses
Deployer -> Services : uses
DeployCommand -down-> Deployer : uses
DeployCommand -down-> DeployerFactory : uses
DeployerFactory -left-> ServicesFactory : uses
ServicesFactory --> Services : creates
DeployerFactory --> Deployer : creates
@enduml
| false | true | false | false | sequence |
48f18eda3c724baba97d7cf9f707cd482fcf852c | 3495a3bc8450a240a21780fb8c795c215f88000a | /docs/UC7 - Do Payment Automatically/UC7_CD_REF1.puml | 465f42c22e4209c46ab80c11d1cb9b99f8b832bd | [] | no_license | 1190452/LAPR2 | f27ac4e485b91d04189dd0a37551bc108c070b12 | 97c5488c091243cf65f9e16821f56a5020e0ae2e | refs/heads/master | 2023-05-09T02:35:50.850483 | 2020-06-14T21:07:59 | 2020-06-14T21:07:59 | 372,570,349 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,391 | puml | @startuml
skinparam classAttributeIconSize 0
left to right direction
class ApplicationPOT{
+getInstance()
+getPlatform()
}
class DoPaymentTask{
+DoPayment()
+passOrg(org)
}
class Platform{
+getRegisterFreelancer()
}
class Organization{
+getTaskList()
+getRTrans()
}
class RegisterFreelancer{
+getFreelancerList()
}
class Freelancer{
+getCountry()
}
class TaskList{
+getTask(i)
}
class Task{
+getIsPayed()
+getCostHour()
+getTimeDuration()
}
class RegisterTransaction{
+getTransactions()
}
class Transaction {
+getFreelancer()
+getTask()
}
class CurrencyConverter{
+convertToCurrency(sum, country)
}
class Writer{
+writeOrg(org, sum)
+generateReceipt(nltr, sum, curr)
}
DoPaymentTask ..> ApplicationPOT
DoPaymentTask ..> Platform
DoPaymentTask ..> Organization
Platform "1" -- "1" RegisterFreelancer : has
RegisterFreelancer "1" -- "1..*" Freelancer : has
Organization "1" -- "1" TaskList : has
TaskList "1" -- "1..*" Task : has
Platform "1" -- "1..*" Organization : has
Organization "1" -- "1..*" RegisterTransaction : has
RegisterTransaction "1" -- "1..*" Transaction : has
DoPaymentTask ..> RegisterFreelancer
DoPaymentTask ..> Task
DoPaymentTask ..> RegisterTransaction
DoPaymentTask ..> Transaction
DoPaymentTask ..> Freelancer
DoPaymentTask ..> Writer
DoPaymentTask ..> CurrencyConverter
@enduml | false | true | false | false | class |
fe3d82b44b41ab7484740a623bd19d6441373fdf | 2674d2bfed6d4a96db1f1d40d19b237642d01ca7 | /docs/blue/s1150371/sp3/dm.puml | a97115e823061a5bc02d336acd689453c4bad237 | [] | no_license | HugoFernandes2343/LAPR4_2017-2018 | 9c827075d64c92d89c05bb772f7e7c3192416803 | e1d4724d9995676ac1f25bed0e9c2884929c12bb | refs/heads/master | 2023-02-26T22:39:42.292967 | 2018-06-20T12:37:30 | 2018-06-20T12:37:30 | 336,568,975 | 1 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 384 | puml | @startuml
skinparam monochrome true
skinparam packageStyle rect
skinparam defaultFontName FG Virgil
skinparam shadowing false
class WorkbookService
class WorkbookView
class Workbook {
- List<Spreadsheet> spreadsheets
}
interface Spreadsheet
interface Cell
Spreadsheet <|-- Workbook
Cell <|-- Spreadsheet
Workbook <|-- WorkbookService
WorkbookService <|-- WorkbookView
@enduml
| false | true | false | false | class |
455878762b1363d037d8ea40ebc84cafd47e67ee | 6ff2759040fc1e0dfeabe58065390383cdc1586f | /uml/diagram_sequence_start_acquisition_MAPPING_1.puml | c388caf5613deb0da1b905213f946e6d21eb9088 | [] | no_license | anoureddine/XiaDxp | 1f5754a3827996f9d105b3aef3d55c952c186b01 | a70599166539d9a18393bb0114bec3c425e0ee86 | refs/heads/master | 2021-01-12T08:39:45.401593 | 2016-12-16T09:21:10 | 2016-12-16T09:21:10 | 76,647,142 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 3,203 | puml | @startuml
title <b>XiaDxp - Diagram Sequence : Start - 2016/03/23</b>\n**********************************************
actor User
participant "DataStream" as Stream
box "STREAM VIEW" #LightGreen
participant Stream
end box
participant "Device/AttrView" as Device
box "TANGO VIEW" #LightGreen
participant Device
end box
participant "Controller" as Ctrl
box " CONTROLLER " #Orange
participant Ctrl
end box
participant "Acquisition" as Acq
participant "DriverHelper" as Driver
participant "DataStore" as Store
box "MODEL" #LightBlue
participant Acq
participant Driver
participant Store
end box
User -> Device: Start()
activate Device
Device -> Ctrl: start()
activate Ctrl
Ctrl -> Acq : start_acquisition()
activate Acq
Acq -> Driver : start_acquisition()
activate Driver
Driver --> Acq
deactivate Driver
Acq --> Ctrl
deactivate Acq
Ctrl --> Device : state (RUNNING/FAULT/...)
deactivate Ctrl
deactivate Device
note right
State = RUNNING will activate the Task Periodic loop
end note
activate Acq
loop while current_pixel < nbPixels & every 5 ms (PERIODIC Task message) & for each module
Acq -> Driver : is_buffer_full(module, buffer_A or buffer_B)
activate Driver
Driver --> Acq
deactivate Driver
alt buffer is full
Acq -> Driver : get_buffer(module, buffer_A or buffer_B)
activate Driver
Driver --> Acq : raw data buffer (i.e DataBufferContainer)
deactivate Driver
Acq -> Driver : buffer_done(module, buffer_A or buffer_B)
activate Driver
Driver --> Acq
deactivate Driver
Acq -> Store: process_data(DataBufferContainer)
activate Store
Store -> Store: post a MSG in the Task
activate Store
deactivate Store
deactivate Store
Acq -> Driver : switch_buffer(module)
activate Driver
Driver --> Acq
deactivate Driver
end
Store -> Store: on_process_data(DataBufferContainer)
activate Store
note left
At each Pull of a DeviceTask MSG of DataStore
Each pixel of DataBufferContainer is parsed
Data statistics & Data bins are extracted for each channel
end note
Store -> Store: store_statistics(num_channel)
activate Store
deactivate Store
Store -> Store: store_data(num_channel)
activate Store
deactivate Store
Store -> Store : notify(num_channel)
activate Store
Store -> Ctrl : update_data(num_channel)
activate Ctrl #AAEECC
Ctrl -> Stream : update_data(num_channel)
activate Stream #AAEECC
note left
Push data into Nexus file
end note
deactivate Stream
Ctrl -> Device : update_data(num_channel)
activate Device #AAEECC
note left
Update Tango stats/channels dynamic attributes
end note
deactivate Device
deactivate Ctrl
deactivate Store
end
deactivate Acq
@enduml | false | true | false | false | usecase |
523ab85f45e72c88692afb6be2ad7adbd01b9be6 | 6bed988570665129a7ab8fea95ec6ecaaa846804 | /src/main/java/br/com/psytecnology/config/config.plantuml | 3ef79d72d9de0baf1338094e42da69641c13ad6e | [] | no_license | adrianolmorais/estudos-spring-boot | 4c2990beff5f65f0a801898675a5f3aadc39da01 | 94b7717d6f5a7a5db28f7ceb738bd45c9247296e | refs/heads/master | 2022-10-02T12:31:06.274920 | 2020-06-06T04:16:01 | 2020-06-06T04:16:01 | 259,220,555 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,384 | plantuml | @startuml
title __CONFIG's Class Diagram__\n
namespace br.com.psytecnology {
namespace config {
class br.com.psytecnology.config.InternacionalizacaoConfig {
+ localValidatorFactoryBean()
+ messageSource()
}
}
}
namespace br.com.psytecnology {
namespace config {
class br.com.psytecnology.config.SecurityConfig {
+ SecurityConfig()
+ configure()
+ jwtFilter()
+ passwordEncoder()
# configure()
# configure()
}
}
}
namespace br.com.psytecnology {
namespace config {
class br.com.psytecnology.config.SwaggerConfig {
+ apiKey()
+ docket()
- apiinfo()
- contact()
- defaultAuth()
- securityContext()
}
}
}
br.com.psytecnology.config.SecurityConfig -up-|> org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
br.com.psytecnology.config.SecurityConfig o-- br.com.psytecnology.security.jwt.JwtService : jwtService
br.com.psytecnology.config.SecurityConfig o-- br.com.psytecnology.service.UsuarioService : usuarioService
right footer
PlantUML diagram generated by SketchIt! (https://bitbucket.org/pmesmeur/sketch.it)
For more information about this tool, please contact philippe.mesmeur@gmail.com
endfooter
@enduml
| false | true | false | false | class |
f366366b89d6249acf3d4da191ed433adc3eda87 | 5e5ae138b7826c3f3f579942be8be29d2f5b7537 | /smart-city/TransportRouting.puml | 9c19b9ae2579b70319efa4d850e0092709ab26f9 | [
"Apache-2.0"
] | permissive | praveen-sjsu/architecture-diagrams | 64b0cd5b67eb7d6ebafd23c0717ee8257c3b9122 | ce31f9e3a3c8c8d9a92edb3f724666dae71d45c3 | refs/heads/master | 2020-08-29T00:51:42.040679 | 2018-08-24T16:20:49 | 2018-08-24T16:20:49 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,705 | puml | @startuml;
skinparam componentStyle uml2
!define BASEURL https://raw.githubusercontent.com/smartsdk/architecture-diagrams/master
!includeurl BASEURL/data-management/Data-ContextManagement-SmartSDK-extension.puml
!includeurl BASEURL/iot-management/IoT-Service-Enablement-SmartSDK-extension.puml
package "SmartCity FrontEnd" as scfrontend {
SMARTSDK(transportschedulegui,"Public Transport\nSchedule GUI",component)
SMARTSDK(transportgui,"Public Transport GUI",component)
SMARTSDK(uservgui,"User Vehicle GUI",component)
}
package "SmartCity BackEnd" as scbackend {
SMARTSDK(transportschedulemgt,"Public Transport\nSchedule Management",component)
SMARTSDK(transportmgt,"Public Transport\nManagement",component)
SMARTSDK(uservmgt,"User Vehicle\nManagement",component)
}
transportschedulegui -down- transportschedulemgt
transportgui -down- transportmgt
uservgui -down- uservmgt
transportschedulemgt -left- transportmgt
transportschedulemgt -down- NGSI
transportmgt -down- NGSI
uservmgt -down- NGSI
package "Routing Services" as routingservices {
SMARTSDK(wrapper,"Routing Wrapper",component)
SMARTSDK(ptrouter,"Public Transport\nRouting Engine",component)
SMARTSDK(router,"Routing Engine",component)
wrapper -down- ptrouter
wrapper -down- router
}
Database GTFS as gtfs
gtfs -up- ptrouter
Database OSM as osm
osm -up- router
FIWARE(transportdata,"Transportation\nDatamodel",database)
ctx -up- transportdata
[GPS Sensor] as gps1
[GPS Sensor] as gps2
hide encryption
hide cep
hide ckan
hide kurento
hide cosmos
hide proximithings
hide iotd
hide iotb
hide iot1
hide iot2
hide iotedge
hide IETFCoAP
hide ctxaddon
NGSI -right- wrapper
cloudino -down- gps1
smartspot -down- gps2
@enduml
| false | true | false | false | sequence |
f1b556f50a6f1ee9b94d4f596f81cf372a93a67b | e802274e9f7765ecc472232647b040bb9ea1ce9f | /docs/UML_diaghrams/save_load_feature/FoodPortionDateSaveLoadManager_save.puml | bcab873deb3349ffea41323b38c21794cedf40ef | [] | no_license | HengFuYuen/tp | 22dbcd4c31951250d07c9a326461ab9783b2af93 | 747d19bba7bd8315c6d472a3d99f5e3652a832a0 | refs/heads/master | 2023-01-12T00:22:17.158213 | 2020-11-09T16:07:05 | 2020-11-09T16:07:05 | 300,172,151 | 0 | 0 | null | 2020-10-01T06:32:11 | 2020-10-01T06:32:10 | null | UTF-8 | PlantUML | false | false | 1,231 | puml | @startuml
-> FoodPortionDateSaveLoadManager : readySaver()
activate FoodPortionDateSaveLoadManager
FoodPortionDateSaveLoadManager -> Saver : resetSize()
activate Saver
Saver --> FoodPortionDateSaveLoadManager
deactivate Saver
<-- FoodPortionDateSaveLoadManager
deactivate FoodPortionDateSaveLoadManager
-> FoodPortionDateSaveLoadManager : saveFoodList()
activate FoodPortionDateSaveLoadManager
activate FoodList
FoodPortionDateSaveLoadManager -> FoodList : getFoods()
FoodList --> FoodPortionDateSaveLoadManager : List<Food>
FoodPortionDateSaveLoadManager -> FoodList : getPortionSizes()
FoodList --> FoodPortionDateSaveLoadManager : List<Integer>
FoodPortionDateSaveLoadManager -> FoodList : getDateTimes()
FoodList --> FoodPortionDateSaveLoadManager : List<LocalDateTime>
deactivate FoodList
loop all food portion date entries
activate Saver
FoodPortionDateSaveLoadManager -> Saver : add()
end
FoodPortionDateSaveLoadManager -> Saver : save()
activate FileWriter
loop all entries in Saver table
Saver -> FileWriter : write()
FileWriter --> Saver
end
Saver -> FileWriter : close()
destroy FileWriter
Saver --> FoodPortionDateSaveLoadManager
deactivate Saver
deactivate FoodPortionDateSaveLoadManager
@enduml | false | true | false | false | sequence |
a6f1609492b5a5ed2835fb29cb2dd2b47342f4c6 | 8dee0e67e3f6b52dded3509769d9a7790d13dfe1 | /diagrams/login.puml | aca90616dd71ec8c30626ff8044a24449e245468 | [] | permissive | VusalDev/YETwitter | 25ba2c98ccb73638b1d937d677d8455d43a27c22 | 4c7ed40a26b3cdff37446463bf8daab076a42664 | refs/heads/master | 2023-02-05T07:17:57.550675 | 2022-11-24T23:18:27 | 2022-11-24T23:18:27 | 247,826,705 | 0 | 0 | MIT | 2023-01-27T16:25:19 | 2020-03-16T22:15:41 | C# | UTF-8 | PlantUML | false | false | 1,243 | puml | @startuml
title
== Auth Login
end title
skinparam BoxPadding 20
actor cl as "Client"
box Browser
participant front as "Front App"
participant browserstorage as "<i>Local Storage" #LightGray
end box
box Backend
participant identity as "Identity Service"
database db as "Identity DB"
end box
== Check Token ==
cl -> front: Request some page
front -> browserstorage: Get JWT token data
front <-- browserstorage
alt token not found or expired
cl <-- front: Show login page
else token valid
cl <-- front: Show requested page
end
== Login page ==
cl -> front: Enter creds
front -> identity: Send creds
alt creds validation failed
front <- identity: failed result
cl <- front: Show validation errors
else creds validation success
identity -> db: Check user exist
identity <-- db
alt user exist and password correct
front <- identity: JWT token data
front -> browserstorage: Save JWT token data
front <-- browserstorage
cl <- front: Hide login page
else user exist, password not correct
front <- identity: 401
cl <- front: Show error
else user not exist
front <- identity: 401
cl <- front: Show error
end
end
@enduml | false | true | false | false | sequence |
b4e7103b29a4fc7c3e174a10213cdeeab4f719c9 | 9d729a5b30e9f7439595aaa8748382393592fb54 | /docs/design/src/copy_with_answer.puml | 07cbf963d0da351d7b86087285cb46eb5852acd1 | [
"Apache-2.0"
] | permissive | isabella232/mod_dup | 40f2fd2b57bbeb052e6e0935693a8719664e30cf | 531382c8baeaa6781ddd1cfe4748b2dd0dbf328c | refs/heads/master | 2023-06-05T09:41:29.270680 | 2019-03-18T09:31:11 | 2019-03-18T09:31:11 | 379,221,853 | 0 | 0 | Apache-2.0 | 2021-06-22T10:36:44 | 2021-06-22T09:59:09 | null | UTF-8 | PlantUML | false | false | 739 | puml | @startuml
actor HTTPRequest
box "frontal"
entity mod_dup
entity duplicator
entity PNS_WS
end box
box "frontal_bis" #LightBlue
entity mod_compare
end box
autonumber "<b>[00]"
HTTPRequest --> mod_dup: Apache input filter
activate mod_dup
mod_dup --> mod_dup: Context enrichment
mod_dup --> mod_dup: Filters:<b> MATCH
mod_dup --> PNS_WS: Delegation to next handler (WS, mod_rewrite..)
activate PNS_WS
PNS_WS --> mod_dup: Collects the answer
deactivate PNS_WS
mod_dup --> duplicator: Prepares the request for duplication
activate duplicator
mod_dup --> HTTPRequest: Sends the request back to the client
deactivate mod_dup
duplicator --> mod_compare: Send duplicated\nrequest to\nmod_compare
deactivate duplicator
@enduml | false | true | false | false | usecase |
cba8ea6ad6e44893e1586520c662d567ac13be6e | c69dba4cef780d27a126166ee912005507258413 | /src/design/celestial-bodies-class-diagram.puml | b70fa1762663d44a1d74bbed653010a4d39798bd | [
"MIT",
"EPL-1.0",
"Apache-2.0"
] | permissive | CS-SI/Orekit | 2265900b501fe6727a57378956f9f2c61564909a | 7ab7a742674eabee00e1dbe392833d587fdcdaab | refs/heads/develop | 2023-09-03T20:33:42.748576 | 2023-09-01T14:34:03 | 2023-09-01T14:34:03 | 22,851,787 | 144 | 79 | Apache-2.0 | 2023-03-28T17:53:33 | 2014-08-11T19:29:35 | Java | UTF-8 | PlantUML | false | false | 3,102 | puml | ' Copyright 2002-2023 CS GROUP
' Licensed to CS GROUP (CS) under one or more
' contributor license agreements. See the NOTICE file distributed with
' this work for additional information regarding copyright ownership.
' CS licenses this file to You under the Apache License, Version 2.0
' (the "License"); you may not use this file except in compliance with
' the License. You may obtain a copy of the License at
'
' http://www.apache.org/licenses/LICENSE-2.0
'
' Unless required by applicable law or agreed to in writing, software
' distributed under the License is distributed on an "AS IS" BASIS,
' WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
' See the License for the specific language governing permissions and
' limitations under the License.
@startuml
skinparam svek true
skinparam ClassBackgroundColor #F3EFEB/CCC9C5
skinparam ClassArrowColor #691616
skinparam ClassBorderColor #691616
skinparam NoteBackgroundColor #F3EFEB
skinparam NoteBorderColor #691616
skinparam NoteFontColor #691616
skinparam ClassFontSize 11
skinparam PackageFontSize 12
skinparam linetype ortho
package org.orekit #ECEBD8 {
package frames #DDEBD8 {
class Frame
}
package utils #DDEBD8 {
interface ExtendedPVCoordinatesProvider
}
package bodies #DDEBD8 {
interface CelestialBody {
+Frame getInertiallyOrientedFrame()
+Frame getBodyOrientedFrame()
+String getName()
+double getGM()
}
class CelestialBodyFactory {
+CelestialBody getSolarSystemBarycenter()
+CelestialBody getSun()
+CelestialBody getMercury()
+CelestialBody getVenus()
+CelestialBody getEarthMoonBarycenter()
+CelestialBody getEarth()
+CelestialBody getMoon()
+CelestialBody getMars()
+CelestialBody getJupiter()
+CelestialBody getSaturn()
+CelestialBody getUranus()
+CelestialBody getNeptune()
+CelestialBody getPluto()
+CelestialBody getBody(String name)
}
interface CelestialBodyLoader {
+CelestialBody loadCelestialBody(String name)
}
class JPLEphemeridesLoader
interface IAUPole {
+Vector3D getPole(AbsoluteDate date)
+Vector3D getNode(AbsoluteDate date)
+double getPrimeMeridianAngle(AbsoluteDate date)
}
abstract class PredefinedIAUPoles {
+IAUPole getIAUPole(EphemerisType body)
}
CelestialBodyLoader <|.. JPLEphemeridesLoader
CelestialBody "*" <-left-o "1" CelestialBodyFactory
CelestialBodyFactory "1" o--> "*" CelestialBodyLoader
ExtendedPVCoordinatesProvider <|-- CelestialBody
CelestialBody -up-> Frame
IAUPole "*" <-left-* "1" PredefinedIAUPoles : creates
CelestialBody "1" *--> IAUPole
CelestialBody <-left- JPLEphemeridesLoader : creates
}
package data #DDEBD8 {
abstract class AbstractSelfFeedingLoader
JPLEphemeridesLoader --|> AbstractSelfFeedingLoader
}
}
@enduml
| false | true | false | false | class |
8acb580a152fd10c2b190222bc023a514c56d547 | 973dcef38fb285cf4f14a2e937af23e26a05564b | /docs/Solution/Services/swarm-node-agent/Logical.puml | e3e76810b1b2e08937b091b1251ef411c66e0f77 | [] | no_license | CAADE/CAADE | 6a0d37b31e77fd00eeb1ad056d17d484585cad96 | 3873453a14359879a146f1d5897554ae2e94bd96 | refs/heads/master | 2021-06-09T05:28:17.894441 | 2019-06-07T06:08:10 | 2019-06-07T06:08:10 | 104,078,969 | 1 | 0 | null | 2020-08-20T15:13:40 | 2017-09-19T13:32:11 | JavaScript | UTF-8 | PlantUML | false | false | 221 | puml | @startuml
package "swarm-node-agent" #lightblue {
interface "swarm-node-agent" {
}
CLI ()-- "swarm-node-agent" : 5000
REST ()-- "swarm-node-agent" : 3000
Web ()-- "swarm-node-agent" : 80
}
@enduml
| false | true | false | false | class |
3a1fd84d82ed2640c19e698d8246881efbd58d0b | 390529a6994db132eebcf31cf5ca4ca160ba0929 | /PlantUML/logicEventHandle.puml | e0c8b4eb05edb4a881a67c112e9f7f81ac550ed2 | [
"Apache-2.0"
] | permissive | adamrankin/OpenIGTLinkIO | 673ecb3fb99caf3fae82aafcbc3961b087f59d83 | 9d0b1010be7b92947dbd461dc5298c320dfc00e4 | refs/heads/master | 2021-01-07T15:46:20.466195 | 2019-08-07T14:38:25 | 2019-08-07T14:38:25 | 201,068,719 | 0 | 0 | Apache-2.0 | 2019-08-07T14:38:46 | 2019-08-07T14:38:46 | null | UTF-8 | PlantUML | false | false | 2,389 | puml | @startuml
class Connector{
..events..
ConnectedEvent = 118944
DisconnectedEvent = 118945
ActivatedEvent = 118946
DeactivatedEvent = 118947
NewDeviceEvent = 118949
DeviceContentModifedEvent = 118950
RemovedDeviceEvent = 118951
..
+DeviceContentModified() : void
InvokeEvent(DeviceContentModifedEvent)
+AddDevice(): int
InvokeEvent(NewDeviceEvent)
+RemoveDevice(): int
InvokeEvent(RemovedDeviceEvent)
}
class Device{
..events..
ReceiveEvent = 118948
ResponseEvent = 118952
ModifiedEvent = vtkCommand::ModifiedEvent
CommandReceivedEvent = 119001
CommandResponseReceivedEvent = 119002
..
}
class CommandDevice{
..events..
CommandModifiedEvent = 118958
..
+ReceiveIGTLMessage() : int
InvokeEvent(CommandReceivedEvent)
InvokeEvent(CommandResponseReceivedEvent)
+SetContent()
InvokeEvent(ContentModifiedEvent)
+CheckQueryExpiration() : int
InvokeEvent(ResponseEvent)
}
class NonCommandDevices{
..events..
ContentModifiedEvent = 118955-118967, 118959-118960
..
+ReceiveIGTLMessage(): int
InvokeEvent(ContentModifiedEvent)
InvokeEvent(ReceiveEvent)
+SetContent()
InvokeEvent(ContentModifiedEvent)
}
class Logic {
..events..
ConnectionAddedEvent = 118970
ConnectionAboutToBeRemovedEvent = 118971
NewDeviceEvent = 118949
DeviceModifiedEvent = 118950
RemovedDeviceEvent = 118951
CommandReceivedEvent = 119001
CommandResponseReceivedEvent = 119002
....
+CreateConnector(): ConnectorPointer
InvokeEvent(ConnectionAddedEvent)
#onDeviceEventFunc() : void
#onNewDeviceEventFunc() : void
#onRemovedDeviceEventFunc() : void
}
together {
class Device
class CommandDevice
class NonCommandDevices
}
Device<|--CommandDevice
Device<|--NonCommandDevices
Logic"1"-->"0..*"Connector : observes
Connector"1"-->"0..*"NonCommandDevices : observes
Logic"1"-->"0..*"NonCommandDevices : observes
Connector"1"-->"0..*"CommandDevice : observes
Logic"1"-->"0..*"CommandDevice : observes
'Connector::AddDevice-->Logic::onNewDeviceEventFunc : callback
'Connector::RemovedDevice-->Logic::onRemovedDeviceEventFunc : callback
'NonCommandDevices::ReceiveIGTLMessage-->Connector::DeviceContentModified : callback
'CommandDevice::ReceiveIGTLMessage->Logic::onDeviceEventFunc: callback
@enduml | false | true | false | false | sequence |
7f7694ee4993cfe80180edba05aad9f421b94b2e | fb6cdc303c504ac460aabff216b9eb7d6cbae95d | /src/main/java/com/bgzyy/design/pattern/factory/simple/pizzastore/PizzaStore.puml | 8a72684dfede0d6f783dad0a8aa3adaf1267dc71 | [] | no_license | bgzyy/Design-Patterns | 67484fd535fb7c41e22cc8122e274b470ca011c8 | 6e0a2853814708ead8eae7a72171e61f705b6409 | refs/heads/master | 2023-01-01T16:12:13.380936 | 2020-10-24T08:48:19 | 2020-10-24T08:48:19 | 306,841,209 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 343 | puml | @startuml
abstract class Pizza {
+{abstract}prepare(): void
+bake(): void
+cut(): void
+box(): void
}
class CheesePizza
class GreekPizza
class OrderPizza
class PizzaStore
CheesePizza --|> Pizza
GreekPizza --|> Pizza
OrderPizza ..> CheesePizza
OrderPizza ..> GreekPizza
OrderPizza ..> Pizza
PizzaStore ..> OrderPizza
@enduml | false | true | false | false | class |
c2f22e83862a08fde94b2b6f1ec2a83f36f38cc2 | 042b522e8f6e05d7c8edda35106abf9b0b32d10d | /gha/src/hu.bme.mit.mcmec.tricheckparser/src/test/java/hu/bme/mit/mcmec/tricheckparser/tricheckparser.plantuml | be56083ece1a8980a222293bf8a49eed167d3848 | [] | no_license | leventeBajczi/prog3 | c5a3024c58f2e964f1b809feb6fc5f03756a1a5d | 23cd59006c03331deb7b33ce1e389df2dd350e4b | refs/heads/master | 2020-03-28T02:34:29.312264 | 2018-11-03T21:32:47 | 2018-11-03T21:32:47 | 147,580,561 | 0 | 1 | null | null | null | null | UTF-8 | PlantUML | false | false | 474 | plantuml | @startuml
title __TRICHECKPARSER's Class Diagram__\n
package hu.bme.mit.mcmec.tricheckparser {
class TriCheckParserTest {
- prefix : String
- litmusTestPath : String[]
- litmusTestOutput : String[]
+ triCheckParserTest()
}
}
right footer
PlantUML diagram generated by SketchIt! (https://bitbucket.org/pmesmeur/sketch.it)
For more information about this tool, please contact philippe.mesmeur@gmail.com
endfooter
@enduml
| false | true | false | false | class |
4a9e0d51e8c69bf4675c7259c2d1ed5152aa24a3 | e30e784d7ee56674973b80b367b6ba73a98091d2 | /doc/buyflow/buyFlow.puml | 9d1d26d7d81a1b0ba5c0058410917a6ddd5e76e9 | [] | no_license | suevip/trade-1 | 774bb35a3aa878c42280f6770524eba08923b4aa | 4a48848eebb5ebcf0958fcdc61b4a6e357ec38b8 | refs/heads/master | 2018-01-14T17:41:43.441561 | 2016-02-22T08:39:47 | 2016-02-22T08:39:47 | 63,680,598 | 1 | 0 | null | 2016-07-19T09:30:20 | 2016-07-19T09:30:20 | null | UTF-8 | PlantUML | false | false | 1,775 | puml | @startuml
package com.youzan.trade.buy.definition {
class BuyFlowDefinitionManager
interface BuyFlowDefinition
class BasicBuyFlowDefinition implements BuyFlowDefinition
class PeerPayBuyFlowDefinition implements BuyFlowDefinition
class GiftBuyFlowDefinition implements BuyFlowDefinition
class OutSeasBuyFlowDefinition implements BuyFlowDefinition
class PresentBuyFlowDefinition implements BuyFlowDefinition
class FenXiaoBuyFlowDefinition implements BuyFlowDefinition
class QrBuyFlowDefinition implements BuyFlowDefinition
BuyFlowDefinitionManager --> BuyFlowDefinition
}
package com.youzan.trade.buy.context {
class BuyFlowContext
}
package com.youzan.trade.buy.result {
class BuyFlowResult
}
package com.youzan.trade.buy.node {
interface BuyFlowNode {
BuyFlowResult run(BuyFlowContext ctx);
}
class StockCheckNode implements BuyFlowNode
class UmpCheckNode implements BuyFlowNode
class ShopStatusCheckNode implements BuyFlowNode
class GoodsStatusCheckNode implements BuyFlowNode
BuyFlowNode --> BuyFlowContext
BuyFlowNode --> BuyFlowResult
}
package com.youzan.trade.buy.core {
class BuyFlow
BuyFlow --> BuyFlowContext
BuyFlow --* BuyFlowDefinition
BuyFlowDefinition --o BuyFlowNode
}
package com.youzan.trade.buy.selector {
interface BuyFlowSelector {
String resolveBuyFlow(BuyFlowContext ctx);
}
class GroovyBuyFlowSelector implements BuyFlowSelector
BuyFlowSelector --> BuyFlowContext
}
package com.youzan.trade.buy.service {
class BuyFlowService
BuyFlowService --> BuyFlow
BuyFlowService --> BuyFlowContext
BuyFlowService --> BuyFlowSelector
BuyFlowService --> BuyFlowDefinitionManager
}
@enduml | false | true | false | false | class |
9c2d14215c0d25d44bcab13e24d923a799955b54 | c85d255daca76e76b7073e0a288849be195b214e | /app/src/main/java/com/architectica/socialcomponents/api/api.plantuml | d2b5cf4f06bbaa1c687129d9775cb088fa0a5863 | [
"Apache-2.0"
] | permissive | AryaAshish/Archcrony | 75bb4646d938b2da11721aff0dde11ad49f4a357 | 3cf972c48e900d513d53ebed857373741c1969b5 | refs/heads/master | 2020-04-29T12:34:32.168647 | 2019-08-01T12:56:05 | 2019-08-01T12:56:05 | 176,141,477 | 1 | 3 | Apache-2.0 | 2019-08-01T12:56:06 | 2019-03-17T18:16:12 | Java | UTF-8 | PlantUML | false | false | 748 | plantuml | @startuml
title __API's Class Diagram__\n
namespace com.architectica.socialcomponents {
namespace api {
class com.architectica.socialcomponents.api.ApiClient {
{static} + BASE_URL : String
{static} + retrofit : Retrofit
{static} + getApiClient()
{static} + getUnsafeOkHttpClient()
}
}
}
namespace com.architectica.socialcomponents {
namespace api {
interface com.architectica.socialcomponents.api.ApiInterface {
{abstract} + getNews()
}
}
}
right footer
PlantUML diagram generated by SketchIt! (https://bitbucket.org/pmesmeur/sketch.it)
For more information about this tool, please contact philippe.mesmeur@gmail.com
endfooter
@enduml
| false | true | false | false | class |
f7d3053340912f419881caa832daa5ba2a24a27f | c60a5a2696ec6d4de2b66be242a235720453ab6f | /assets/PlantUML/class_diagram_details.puml | 52ea9aea5904ec4197296eee1b4d3d76d7c3230e | [
"MIT"
] | permissive | krisums/clean-architecture-dotnet | 41c3286b5b154f2cca4c56db2281cf77d47079fe | 2870740c26dfbff8d9178596d73f5ebec4bb2687 | refs/heads/main | 2023-07-02T16:19:39.590441 | 2021-06-24T12:22:02 | 2021-06-24T12:22:02 | 405,450,798 | 1 | 0 | MIT | 2021-09-11T18:11:54 | 2021-09-11T18:11:53 | null | UTF-8 | PlantUML | false | false | 2,101 | puml | @startuml
' title <b>eCommerce Class Diagram</b>
package "Shared Kernel" {
abstract class EntityBase
abstract class ValueObject
interface IAggregateRoot
abstract class Repository
abstract class Service
abstract class DomainService
abstract class ApplicationService
abstract class InfrastructureService
}
Repository --> IAggregateRoot
DomainService --|> Service
ApplicationService --|> Service
InfrastructureService --|> Service
package "Product Management" {
class Product
class ProductCode
class Return
enum ReturnReason
EntityBase <|-- Product
EntityBase <|-- ProductCode
EntityBase <|-- Return
IAggregateRoot <|.. Product
IAggregateRoot <|.. ProductCode
ProductCode --* Product
Return -left-* Product
Return *-- ReturnReason
}
package "Customer Management" {
class Customer
class CreditCard
class CustomerPurchaseHistoryReadModel
EntityBase <|-- Customer
EntityBase <|-- CreditCard
IAggregateRoot <|.. CreditCard
Customer *-- CreditCard
Customer <.. CustomerPurchaseHistoryReadModel
}
package "Cart Management" {
class Cart
class CartProduct
class Purchase
class PurchasedProduct
class Money
enum CheckOutIssue
EntityBase <|-- Cart
EntityBase <|-- CartProduct
EntityBase <|-- Purchase
EntityBase <|-- PurchasedProduct
IAggregateRoot <|.. Cart
IAggregateRoot <|.. Purchase
ValueObject <|-- Money
Cart *-- CartProduct
Purchase *-- PurchasedProduct
CartProduct *-left- Money
Purchase *-- CheckOutIssue
Cart ..> Customer
CartProduct ..> Customer
Purchase ..> Customer
}
package "Settings Management" {
class Settings
class Country
class CountryTax
class HistoryData
enum TaxType
EntityBase <|-- Country
EntityBase <|-- CountryTax
EntityBase <|-- HistoryData
IAggregateRoot <|.. Country
IAggregateRoot <|.. CountryTax
IAggregateRoot <|.. HistoryData
Settings *-- Country
Settings *-- HistoryData
CountryTax *-left- TaxType
Country *-left- CountryTax
}
Return <.. Customer
Customer <.. Country
CartProduct ..> Product
PurchasedProduct ..> Product
@enduml
| false | true | false | false | class |
712e9dab70c14d31a779f0f90b077e233c52b5f6 | 740ec837551b09f09677854163ecd30ba6ea3cb7 | /documents/sd/plantuml/application/Modules/WebBrowser/Producers/ButtonClickEventProducer.puml | 2b0f991a4834879014cf902e48c240cbb8093e79 | [
"MIT"
] | permissive | insightmind/MORR | 913c0c16d14745cbde40af07322ca339a0373f32 | 0830f2155fb3b32dc127587e07cbd780deb0e118 | refs/heads/develop | 2020-12-08T00:23:17.488431 | 2020-04-05T20:50:44 | 2020-04-05T20:50:44 | 232,827,908 | 5 | 1 | MIT | 2020-04-05T20:55:27 | 2020-01-09T14:28:48 | HTML | UTF-8 | PlantUML | false | false | 419 | puml | @startuml
skinparam monochrome true
skinparam ClassAttributeIconSize 0
!startsub default
class ButtonClickEventProducer {
+ <<override>> Notify(eventJson:System.Text.Json.JsonElement) : void
}
abstract class "WebBrowserEventProducer<T>" {
}
enum "EventLabel"
!endsub
"WebBrowserEventProducer<T>" "<ButtonClickEvent>" <|-- ButtonClickEventProducer
ButtonClickEventProducer --> "HandledEventLabel" EventLabel
@enduml
| false | true | false | false | class |
f8db29b81759906789f8daad653f05fb823388cf | 58cd3947ad68d2661919d1037ff89bd5919fd901 | /docs/chatapp/Sequence-Diagram/chat.puml | ad8c4a31c364003c11f0ad201117db1585a5e02f | [] | no_license | minhduc2803/Snail-Project | 8c5349e5a3089023d8fff3ed10f4d159d14c9892 | cb3660917c6a82b19996cfdc1355a43a7a4bb389 | refs/heads/master | 2023-01-11T19:04:24.824330 | 2020-11-04T08:06:29 | 2020-11-04T08:06:29 | 294,295,932 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 335 | puml | @startuml chat
skinparam backgroundColor #EEEBDC
skinparam handwritten true
actor User1
actor User2
User1 -> "backend" : send a chat to User 2
"backend" -> "MySQL" : insert a chat
"MySQL" -> "backend" : OK
"backend" -> User1 : send a chat to User 1
"backend" -> User2 : send a chat to User 2
@enduml | false | true | false | false | sequence |
4c7ba23397e0b95984c105c075b3b6e527f2e700 | d97b774fd95a8e98e37c46ee1771f6e6e407a148 | /uml/api/GraphQLDuplicatePriceScopeError.puml | 64757d778599892c05caa6a87ea952b881dd4c62 | [] | no_license | commercetools/commercetools-api-reference | f7c6694dbfc8ed52e0cb8d3707e65bac6fb80f96 | 2db4f78dd409c09b16c130e2cfd583a7bca4c7db | refs/heads/main | 2023-09-01T05:22:42.100097 | 2023-08-31T11:33:37 | 2023-08-31T11:33:37 | 36,055,991 | 52 | 30 | null | 2023-08-22T11:28:40 | 2015-05-22T06:27:19 | RAML | UTF-8 | PlantUML | false | false | 472 | puml | @startuml
hide empty fields
hide empty methods
legend
|= |= line |
|<back:black> </back>| inheritance |
|<back:green> </back>| property reference |
|<back:blue> </back>| discriminated class |
endlegend
interface GraphQLDuplicatePriceScopeError [[GraphQLDuplicatePriceScopeError.svg]] extends GraphQLErrorObject {
code: String
conflictingPrice: [[Price.svg Price]]
}
interface GraphQLErrorObject [[GraphQLErrorObject.svg]] {
code: String
}
@enduml
| false | true | false | false | class |
cd1a0f0211bedc8317fd304e72c1dae3e65ff36a | 7e6fa61a8595cd38195713b5c7698f5de6f7c7b3 | /base/002/diagrama.puml | 6d793d36d54ea8e6408dc3e3f0384462d0deb3e4 | [] | no_license | qxcodepoo/arcade | 3ff1852792a47584f00c1ab9fd5011ebb2c4b830 | 3722a8c976a51829b2b6f4913360c23bf114433a | refs/heads/master | 2023-08-31T04:07:06.255292 | 2023-08-25T03:16:42 | 2023-08-25T03:16:42 | 217,410,955 | 36 | 42 | null | 2020-09-24T13:22:18 | 2019-10-24T23:12:40 | C++ | UTF-8 | PlantUML | false | false | 1,298 | puml | '--
@startuml
skinparam defaultFontName Hasklig
skinparam dpi 150
'==
class Car {
' quantidade de passageiros no carro
+ pass : int
' máximo de passageiros que o carro suporta
+ passMax : int
' gasolina atual do carro
+ gas : int
' máximo de gasolina que o carro suporta
+ gasMax : int
' quilometragem atual do carro
+ km : int
__
' inicializar todos os atributos
' inicializar com tanque vazio
' 0 passageiros
' 0 de quilometragem
' máximo de 2 pessoas
' máximo de 100 litros de gasolina
+ Car()
' embarca uma pessoa no carro
' verifique se o carro não estiver lotado
+ enter()
' desembarca uma pessoa por vez
' verifique se tem alguém no carro
+ leave()
' percorre value quilometros com o carro
' gasta um litro de gas para cada km de distancia
' verifique se tem alguém no carro
' verifique se tem gasolina suficiente
+ drive(value : int): void
' incrementa gasolina no tanque de value
' caso tente abastecer acima do limite de gasMax
' o valor em excesso deve ser descartado
+ fuel(value : int)
+ toString() : string
}
class Legenda {
+ atributoPublic
- atributoPrivate
# atributoProtected
__
+ métodoPublic()
- métodoPrivate()
# métodoProtected()
}
'--
@enduml | false | true | true | false | class |
dd89a8b5915a0be973b9a26e70f7f545d50ee24c | 09c5b4be7333640b006aaee0cb8876fd3ddb922d | /diagrams/ciops.puml | 145d2b85aafe0728b0d73fc001564706adeb621a | [
"MIT"
] | permissive | muralidharansomasundaram/k8s-diagrams | ba5b88a7ac5e157ee33959a5f7397e71b0a7f5bc | 6b3661758594a470e271d2656063d5576f2d4706 | refs/heads/master | 2023-02-11T15:27:45.008721 | 2021-01-04T12:44:45 | 2021-01-04T12:44:45 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,789 | puml | @startuml
!includeurl https://raw.githubusercontent.com/michiel/plantuml-kubernetes-sprites/master/resource/k8s-sprites-unlabeled-full.iuml
!define ICONURL https://raw.githubusercontent.com/tupadr3/plantuml-icon-font-sprites/v2.0.0
!includeurl ICONURL/devicons/git.puml
!includeurl ICONURL/font-awesome-5/jenkins.puml
!define CLOUDOGUURL https://raw.githubusercontent.com/cloudogu/plantuml-cloudogu-sprites/master
!includeurl CLOUDOGUURL/tools/k8s.puml
!includeurl CLOUDOGUURL/dogus/cloudogu.puml
!define CLOUDOGU_BLUE #23a3dd
!define COLOR_ABOVE_TRANSPARENT_BACKGROUND BLACK
' Remove this line for transparent background
skinparam backgroundColor #FFFFF0
title <color:blue><$k8s></color> **"Classic" Continuous Delivery ("CIOps")** <color:blue><$k8s></color>\n
skinparam actorStyle awesome
together {
actor Developer as user
rectangle "<$git>\nGit Repo" as gitRepo
rectangle "<$jenkins>\nCI Server" as ciServer
rectangle "<$k8s>\nK8s Cluster" as k8s
}
user -> gitRepo : push
gitRepo <- ciServer : pull
ciServer -> k8s : deploy
legend
<color:#23a3dd><$cloudogu></color> [[https://cloudogu.com cloudogu.com]]
end legend
skinparam arrow {
Color COLOR_ABOVE_TRANSPARENT_BACKGROUND
FontColor COLOR_ABOVE_TRANSPARENT_BACKGROUND
}
skinparam actor {
BackgroundColor CLOUDOGU_BLUE
BorderColor #16688d
FontColor COLOR_ABOVE_TRANSPARENT_BACKGROUND
}
skinparam rectangle {
BackgroundColor CLOUDOGU_BLUE
BorderColor #16688d
FontColor WHITE
backgroundColor<<node>> WHITE
FontColor<<node>> CLOUDOGU_BLUE
}
skinparam interface {
BackgroundColor WHITE
BorderColor #16688d
}
skinparam note {
BackgroundColor WHITE
BorderColor #16688d
}
skinparam legend {
BackgroundColor WHITE
BorderColor #16688d
}
@enduml | false | true | false | false | usecase |
102dbe6d692024a56a4b112131e7e1fb27908dac | 02b0d37dad8182bfbc5414bbd250f36c6e888b28 | /PlantUml/Scripts/Design Patterns/Factory/Pizza/PizzaFactoryPattern.puml | 8da21a817c497a69cde9d37bf07fe5c140f6ea85 | [] | no_license | Darcy97/U3D_Libs | ee8b1afb4e4cdc99fd80ab404fc8171cf2181ca0 | cc6143112916cafa346a00bc1fab7841b7888444 | refs/heads/master | 2020-06-21T16:37:56.155301 | 2019-08-20T07:04:09 | 2019-08-20T07:04:09 | 197,504,293 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 144 | puml | @startuml
class PizzaFactoryPattern {
- Awake() : void
- OnStartButtonClick() : void
}
PatternMonoBase <|-- PizzaFactoryPattern
@enduml
| false | true | false | false | class |
8b0871c67082727916c8cd49bc8fc6e54df8638f | b01756ffd75ae971facbd70ed826a5e6e9e9f302 | /src/test/resources/expected/layers.puml | da29d2ef0ef011e9e3f1f8e14ec901ef1c321b3d | [
"MIT"
] | permissive | jonathanlermitage/manon | 7f2e0205ae57f9e717f15504752fca55302c608c | 0816bff1d64417dba735117a28d087d57248db1c | refs/heads/spring5-light | 2023-07-20T06:18:22.286370 | 2022-11-26T04:58:29 | 2022-11-26T04:58:29 | 93,076,291 | 38 | 7 | MIT | 2021-04-05T12:46:28 | 2017-06-01T16:14:08 | Java | UTF-8 | PlantUML | false | false | 335 | puml | @startuml
[API] <<manon.api..>>
[Batch] <<manon.batch..>>
[Config] <<manon.app.config..>>
[Application] <<manon>>
[Service] <<manon.service..>>
[Repository] <<manon.repository..>>
[API] -> [Service]
[Batch] --> [Service]
[Config] --> [Service]
[Application] --> [Service]
[Service] --> [Repository]
[Batch] --> [Repository]
@enduml
| false | true | false | false | class |
f8b3b215399012ef65608ef4149de380dee2ca1d | 58fc1aa5c687b37416717023ccce61ae00b21a67 | /Diagrams/workflow.puml | 9b28c0f8dd8b1f7f044c05d45cee2144eca30075 | [
"MIT"
] | permissive | esumit/DeviceMonitoring | 4a290257663c32f9d476fa3f86ea6c8c48490a7e | 4066a2be13066722ffdaf9109fea4fd5084ea384 | refs/heads/master | 2023-04-13T14:07:06.540252 | 2023-04-10T01:28:03 | 2023-04-10T01:28:03 | 49,412,062 | 4 | 1 | MIT | 2023-04-10T01:28:04 | 2016-01-11T08:22:22 | Java | UTF-8 | PlantUML | false | false | 1,148 | puml | @startuml
actor User
participant "MongoDB\nServer" as MongoDB
participant DeviceDaemon
participant DeviceManager
participant "WebService\n(Tomcat)" as WebService
participant Browser
User -> MongoDB: Start MongoDB server\nCreate 'DeviceInfo' database\nand 'deviceInfo' collection
User -> DeviceDaemon: Run DeviceDaemon\n(java -jar device-daemon.jar)
User -> DeviceManager: Run DeviceManager\n(java -jar device-manager.jar)
User -> WebService: Run WebService\n(mvn tomcat7:run)
User -> Browser: Open browser\n(http://localhost:8080/)
Browser -> WebService: Request Device-Monitor.html
WebService -> Browser: Send Device-Monitor.html
User -> Browser: Click 'Start' button
alt Loop (every 60 seconds)
Browser -> WebService: Request DeviceInfo.json
WebService -> DeviceManager: Get latest DeviceInfo record
DeviceManager -> MongoDB: Fetch latest DeviceInfo record
MongoDB -> DeviceManager: Return DeviceInfo record
DeviceManager -> WebService: Send DeviceInfo record
WebService -> Browser: Send DeviceInfo.json
Browser -> User: Display device's process details
end
User -> Browser: Click 'Stop' button (optional)
@enduml | false | true | false | false | usecase |
254cd4d1e4c5a036282e46be7f2d22bbdcd2752c | fbe1dfa9dc016367ee5c1bf32c4689bdfb9d868e | /calendar/calendar.plantuml | 8bfa020fd42841796c5c7c843dca5c00655decc5 | [] | no_license | marcllort/Car_Rental_Monorepo | 844638554f226f04b2b00c35c4077d98b947f7c2 | 9f3fad50034cd85e149d457e323561d517220d31 | refs/heads/master | 2023-06-30T15:18:00.352756 | 2021-07-26T17:46:46 | 2021-07-26T17:46:46 | 323,322,306 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 7,644 | plantuml | @startuml
namespace CalendarAPI {
class CalendarCalls << (S,Aquamarine) >> {
+ getEventList(calendarName string, srv *calendar.Service) (error, string, *calendar.CalendarList)
+ getDriverEvents(srv *calendar.Service, id string, startTime string, endTime string) []*calendar.Event
+ GetEvents(srv *calendar.Service, startTime string, endTime string, excludeCalendars []string) ([]*calendar.Event, []string)
+ GetDriverEventsByEmail(srv *calendar.Service, driver string, startTime string, endTime string) []*calendar.Event
+ GetFreeDrivers(db *gorm.DB, srv *calendar.Service, startTime *time.Time, duration time.Duration, excludeCalendars []string) ([]string, []int)
+ CreateCalendarEvent(srv *calendar.Service, summary string, location string, description string, driver string, startTime *time.Time, duration time.Duration) string
+ UpdateCalendarEvent(srv *calendar.Service, eventId string, summary string, location string, description string, driver string, startTime *time.Time, duration time.Duration, excludeCalendars []string)
+ GetDriversEmail(srv *calendar.Service, excludeCalendars []string) []string
+ GetCalendarClient(uid string) *calendar.Service
}
class FirestoreConnection << (S,Aquamarine) >> {
+ ConnectFirestore() *firestore.Client
+ GetRefreshToken(client *firestore.Client, uid string) string
+ getClientToken(client *firestore.Client, uid string, config *oauth2.Config) *http.Client
}
}
namespace Database {
class MySQLConnection << (S,Aquamarine) >> {
+ CreateConnection(creds, dbpass string) *gorm.DB
+ GetAllServices(db *gorm.DB) []Model.ServiceView
+ Summary(db *gorm.DB) string
+ getEventsMonth(db *gorm.DB, month string) []Model.ServiceView
+ GetAllServicesClient(db *gorm.DB, clientId int) []Model.ServiceView
+ GetAllUnpaidServices(db *gorm.DB) []Model.ServiceView
+ GetAllUnconfirmedServices(db *gorm.DB) []Model.ServiceView
+ GetEventById(db *gorm.DB, eventId int) Model.Service
+ GetDriver(db *gorm.DB, driverId int) Model.DriverUser
+ GetDriverByEmail(db *gorm.DB, emailDriver string) Model.DriverUser
+ GetFreeDrivers(db *gorm.DB, startTimeString string, endTimeString string) []Model.DriverUser
+ CreateService(db *gorm.DB, service Model.Service) int
+ CreateDriverFromList(db *gorm.DB, emails []string)
+ createDriverUser(db *gorm.DB, driver Model.DriverUser) int
+ CreateClientUser(db *gorm.DB, client Model.ClientUser) int
+ UpdateService(db *gorm.DB, service Model.Service) Model.Service
+ UpdateConfirmedTime(db *gorm.DB, service Model.Service) Model.Service
+ updatePayedTime(db *gorm.DB, serviceId int) Model.Service
+ updateEvent(db *gorm.DB, service Model.Service) Model.Service
+ updateDriver(db *gorm.DB, driver Model.DriverUser) Model.DriverUser
+ updateClient(db *gorm.DB, client Model.ClientUser) Model.ClientUser
+ updateDriverForService(db *gorm.DB, driverId int, serviceId int) Model.Service
+ printServices(services []Model.ServiceView)
}
}
namespace Model {
class CalendarRequest << (S,Aquamarine) >> {
+ Flow string
+ UserId string
+ Service Service
+ Client ClientUser
}
class ClientUser << (S,Aquamarine) >> {
+ UserId int
+ Name string
+ Email string
+ Phone string
+ Country string
+ Role string
}
class DateType << (S,Aquamarine) >> {
+ String() string
}
class DriverUser << (S,Aquamarine) >> {
+ UserId int
+ Name string
+ Email string
+ Phone string
+ Country string
+ Role string
}
class FreeDriversResponse << (S,Aquamarine) >> {
+ DriversIds []int
+ DriversNames []string
}
class Model.DateType << (T, #FF7700) >> {
}
class Service << (S,Aquamarine) >> {
+ ServiceId int
+ Origin string
+ Destination string
+ ClientId int
+ DriverId int
+ Description string
+ ServiceDatetime *time.Time
+ CalendarEvent string
+ PayedDatetime *time.Time
+ BasePrice float32
+ ExtraPrice float32
+ ConfirmedDatetime *time.Time
+ Passengers int
+ SpecialNeeds string
}
class ServiceView << (S,Aquamarine) >> {
+ ServiceId int
+ Origin string
+ Destination string
+ DriverId int
+ DriverName string
+ DriverPhone string
+ DriverMail string
+ DriverCountry string
+ ClientId int
+ ClientName string
+ ClientPhone string
+ ClientMail string
+ ClientCountry string
+ Description string
+ ServiceDatetime *time.Time
+ CalendarEvent string
+ CalendarDatetime *time.Time
+ PayedDatetime *time.Time
+ BasePrice float32
+ ExtraPrice float32
+ ConfirmedDatetime *time.Time
+ Passengers int
+ SpecialNeeds string
}
class Summary << (S,Aquamarine) >> {
+ AnualIncome int
+ MonthlyIncome []int
+ ActualMonthIncome int
+ UnconfirmedEvents int
}
class "time.Time" as timeTime {
'This class was created so that we can correctly have an alias pointing to this name. Since it contains dots that can break namespaces
}
}
"Model.CalendarRequest""uses" o-- "Model.ClientUser"
"Model.CalendarRequest""uses" o-- "Model.Service"
"Model.Service""uses" o-- "time.Time"
"Model.ServiceView""uses" o-- "time.Time"
"RabbitMQ.CalendarConsumer""uses" o-- "Database.MySQLConnection"
"RabbitMQ.CalendarConsumer""uses" o-- "RabbitMQ.RabbitMQConnection"
"RabbitMQ.CalendarConsumer""uses" o-- "Firestore.FirestoreConnection"
"RabbitMQ.CalendarConsumer""uses" o-- "CalendarAPI.CalendarCalls"
"RabbitMQ.CalendarConsumer""uses" o-- "Model"
"CalendarAPI.FirestoreConnection""uses" o-- "Utils.Credentials"
namespace RabbitMQ {
class CalendarConsumer << (S,Aquamarine) >> {
+ Consume(body string, db *gorm.DB) string
+ summary(db *gorm.DB) string
+ setupDrivers(db *gorm.DB, calendarClient *calendar.Service, excludeEmails []string) string
+ confirmService(db *gorm.DB, calendarClient *calendar.Service, request Model.CalendarRequest) string
+ createCalendarEvent(db *gorm.DB, calendarClient *calendar.Service, request Model.CalendarRequest, id int)
+ modifyService(db *gorm.DB, calendarClient *calendar.Service, request Model.CalendarRequest, excludeEmails []string)
+ createNewServiceDB(db *gorm.DB, calendarClient *calendar.Service, request Model.CalendarRequest) string
+ getFreeDrivers(db *gorm.DB, calendarClient *calendar.Service, request Model.CalendarRequest, excludeEmails []string) string
+ getEventsMonth(calendarClient *calendar.Service, request Model.CalendarRequest, excludeEmails []string) string
+ getEventById(db *gorm.DB, request Model.CalendarRequest) string
}
class RabbitMQConnection << (S,Aquamarine) >> {
+ failOnError(err error, msg string)
+ Connect(db *gorm.DB)
+ publishMessage(err error, ch *amqp.Channel, d amqp.Delivery, response string)
}
}
namespace Utils {
class Credentials << (S,Aquamarine) >> {
- user string
- password string
- hostname string
- port string
- database string
}
}
"Model.timeTime" #.. "alias of""Model.DateType"
@enduml
| false | true | false | false | class |
cc955373bab30dae2e8bd421e2ac022226acdca0 | cd2efefc85cd057fdf39448ccd0f51b0eff745a1 | /src/main/java/com/author/kurtkalwin/datastore/Exceptions/Exceptions.plantuml | 203a962f4ca3cb683936f4ef1dead7bd47f1a800 | [
"MIT"
] | permissive | KurtKalwin/localDataStore | 8b57974a9d584a5506c7a479c4bc85a6e4b55b2c | bf4d62485545616622b492afc400b35e61bb8137 | refs/heads/main | 2023-02-12T15:19:43.288616 | 2021-01-03T14:28:44 | 2021-01-03T14:28:44 | 325,941,456 | 0 | 0 | MIT | 2021-01-03T13:26:49 | 2021-01-01T08:14:59 | Java | UTF-8 | PlantUML | false | false | 907 | plantuml | @startuml
title __EXCEPTIONS's Class Diagram__\n
namespace com.author.kurtkalwin.datastore {
namespace Exceptions {
class com.author.kurtkalwin.datastore.Exceptions.InvalidKeyException {
+ exceptionMsg : String
+ InvalidKeyException()
}
}
}
namespace com.author.kurtkalwin.datastore {
namespace Exceptions {
class com.author.kurtkalwin.datastore.Exceptions.JSONSizeLimitExceededException {
}
}
}
namespace com.author.kurtkalwin.datastore {
namespace Exceptions {
class com.author.kurtkalwin.datastore.Exceptions.LocalStorageSizeExceededException {
+ LocalStorageSizeExceededException()
}
}
}
right footer
PlantUML diagram generated by SketchIt! (https://bitbucket.org/pmesmeur/sketch.it)
For more information about this tool, please contact philippe.mesmeur@gmail.com
endfooter
@enduml
| false | true | false | false | class |
092bf22e41c384b6e1a3597ae93242d571828001 | bc74e3916df56d63cfe00a95fa46658b325aa1fd | /design/src/message.puml | c65ee2859a76810d6ac5eb0aa9b12f14d3e3cbd3 | [] | no_license | JesseTG/Cryptcoin | 22c0b5caddd00fe5b3522c6b2e4965d790efec14 | 16bf3e2ff7efd6efa7dcece014665cb479016771 | refs/heads/master | 2021-01-02T22:17:43.753013 | 2014-01-14T21:38:29 | 2014-01-14T21:38:29 | 15,916,303 | 1 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,010 | puml | ' UML sequence diagram for receiving BlockMessages
@startuml
title Receiving a BlockMessage
hide footbox
participant "Remote Node" as Remote
participant "Wallet Node" as Client << Client >>
participant "Block Chain" as BlockChain << Data Structure >>
activate Client
activate Remote
Remote -> Client : Incoming Block
Remote <-- Client : Acknowled
deactivate Remote
Client -> Client : Preliminary block validation
activate Client
note left
Validate the fields that
don't depend on other
blocks (leading zeroes,
timestamps, etc.)
end note
deactivate Client
alt Preliminary validation passes
Client -> BlockChain : Are block references valid?
activate BlockChain
Client <-- BlockChain : Block reference valdity
alt Block references are valid
Client -> BlockChain : Add Block to chain
else Block references are invalid
end
deactivate BlockChain
else Preliminary validation fails
Client -> Client : Discard received block
end
deactivate Client
@enduml
| false | true | false | false | sequence |
eb00e01ab6214976f83bbb640b0b532a02eaa562 | e9f921eff961434ca44d7cf8c7d0e48cfbbbad30 | /src/sample/sample.plantuml | b1247fe5548a948bbf6c716e429637ebd9dd0a07 | [] | no_license | ragvigupta/MovieJavafx | e030f53f09150d62da2b648e7b5db21c676bbd23 | b9458765cc06ade78a80b81934f516514ec7209c | refs/heads/master | 2023-07-02T06:18:07.789824 | 2021-08-15T11:46:01 | 2021-08-15T11:46:01 | 396,332,695 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 15,731 | plantuml | @startuml
title __SAMPLE's Class Diagram__\n
namespace sample {
class sample.CommonMethods {
{static} + confirmed : boolean
{static} + connection : connectionController
{static} + disablelogin : boolean
{static} + leftpanecolor : String
{static} + loggedout : boolean
{static} + running : boolean
{static} + server : Server
{static} + username : String
{static} # page : String
- initialx : double
- initialy : double
- loading : boolean
- rotatedpane : boolean
+ btnEffect()
+ btnExit()
+ btnHover()
+ customiseWindowButtons()
+ disableAllFocus()
+ displayUserName()
+ findPane()
+ handleClose()
+ loadScene()
+ logOut()
+ makeBtnFly()
+ minimiseWindow()
+ moveWindow()
+ popButton()
+ popNode()
+ tileExit()
+ tileHover()
- loadLogin()
}
}
namespace sample {
class sample.Main {
{static} + main()
+ start()
}
}
namespace sample {
class sample.MovieData {
- seats : boolean[]
- slotid : int
- stdnseats : int
+ MovieData()
+ getSeats()
+ getSlotid()
+ getStdnseats()
+ getTotalseats()
+ getVipseats()
+ setSeats()
+ setSlotid()
+ setStdnseats()
}
}
namespace sample {
class sample.MovieImages {
- id : int
- image : Image
+ MovieImages()
+ getId()
+ getImage()
}
}
namespace sample {
class sample.MovieObject {
- duration : String
- id : int
- image : Image
- name : String
- rating : double
- repeats : int
- slots_seats : Map<String, MovieData>
- status : String
- ticketsold : int
+ MovieObject()
+ addSlot()
+ getDuration()
+ getImage()
+ getName()
+ getRating()
+ getRepeats()
+ getSlots()
+ getStatus()
+ getTicketsold()
+ setDuration()
+ setImage()
+ setImage()
+ setImageUrl()
+ setName()
+ setRating()
+ setRepeats()
+ setSlots()
+ setStatus()
+ setTicketsold()
}
}
namespace sample {
class sample.Server {
~ list : ArrayList<MovieObject>
~ movieimages : ArrayList<MovieImages>
+ Server()
+ checkLocalImage()
+ findMovie()
+ getAvailableSeats()
+ getBookings()
+ getCurrentMovieName()
+ getCurrentTime()
+ getCurrentTimeslot()
+ getDefaultMovie()
+ getDuration()
+ getEmptySeats()
+ getImage()
+ getMovieNames()
+ getMovieSlot()
+ getNextMovie()
+ getNumberOfSlots()
+ getRating()
+ getRepeats()
+ getSlotID()
+ getStatus()
+ getTicketSold()
+ getTitle()
+ initialise()
+ setStdBookings()
+ setVipBookings()
}
}
namespace sample {
enum Timetable {
SCREEN1_SLOT1
SCREEN1_SLOT2
SCREEN1_SLOT3
SCREEN1_SLOT4
SCREEN2_SLOT1
SCREEN2_SLOT2
SCREEN2_SLOT3
SCREEN2_SLOT4
SCREEN3_SLOT1
SCREEN3_SLOT2
SCREEN3_SLOT3
SCREEN3_SLOT4
x
y
}
}
namespace sample {
class sample.checkoutController {
{static} + adulttickets : int
{static} + childtickets : int
{static} + ismovieselected : boolean
{static} + issuedticket : boolean
{static} + isvip : boolean
{static} + seatsselected : boolean
{static} + selectedmovie : String
{static} + selectedscreen : String
{static} + selectedtime : String
{static} + seniortickets : int
{static} + totalprice : double
- adultcombo : JFXComboBox
- adultprice : double
- adultpricelabel : Label
- checkbox : JFXCheckBox
- checkoutbtn : JFXButton
- childcombo : JFXComboBox
- childprice : double
- childpricelabel : Label
- closebtn : JFXButton
- datelabel : Label
- errorlabel : Label
- hided : boolean
- homebtn : JFXButton
- leftpane : AnchorPane
- logoutbtn : JFXButton
- mainpane : AnchorPane
- minimisebtn : JFXButton
- movieCombo : JFXComboBox
- movieImage : ImageView
- moviePane : AnchorPane
- moviescreensbtn : JFXButton
- resetbtn : JFXButton
- screenlabel : Label
- seatscontent : AnchorPane
- selectPane : AnchorPane
- seniorcombo : JFXComboBox
- seniorprice : double
- seniorpricelabel : Label
- startImage : Rectangle
- startText : Label
- ticketPriceLabel : Label
- timelabel : Label
- toppane : AnchorPane
- userlabel : Label
- viewscreensbtn : JFXButton
- vipextra : double
- viptogglebtn : JFXToggleButton
+ checkTimeslots()
{static} + getSelectedMovieSlot()
+ handleChoice()
+ handleVIP()
+ initialize()
+ movieDetails()
+ resetPage()
+ showPopUp()
+ validatePage()
- fadeErrorLabel()
- setUpLogic()
- updatePrices()
}
}
namespace sample {
class sample.connectionController {
{static} + serverUrl : String
~ client : HttpClient
+ connectionController()
+ getData()
+ getFile()
}
}
namespace sample {
class sample.homeController {
{static} + viewmovie : boolean
{static} + viewmoviename : String
- addbtn : JFXButton
- closebtn : JFXButton
- datelabel : Label
- duration1 : Duration
- duration2 : Duration
- duration3 : Duration
- imageshifted : boolean[]
- infopanes : AnchorPane[]
- issuebtns : JFXButton[]
- leftpane : AnchorPane
- mainhomepane : AnchorPane
- minimisebtn : JFXButton
- moviescreensbtn : JFXButton
- p1 : AnchorPane
- p1shadow : AnchorPane
- p2 : AnchorPane
- p2shadow : AnchorPane
- p3 : AnchorPane
- p3shadow : AnchorPane
- rotatedpane : boolean
- s1availableseats : Label
- s1infopane : AnchorPane
- s1issuebtn : JFXButton
- s1movieduration : Label
- s1movieimage : ImageView
- s1moviename : Label
- s1nextmovie : Label
- s1rating : Label
- s1repeatsleft : Label
- s1status : Label
- s1tile1 : AnchorPane
- s1tile2 : AnchorPane
- s1tile3 : AnchorPane
- s1tile4 : AnchorPane
- s1tile5 : AnchorPane
- s1tile6 : AnchorPane
- s1timeremaining : Label
- s1timeslot : Label
- s2availableseats : Label
- s2infopane : AnchorPane
- s2issuebtn : JFXButton
- s2movieduration : Label
- s2movieimage : ImageView
- s2moviename : Label
- s2nextmovie : Label
- s2rating : Label
- s2repeatsleft : Label
- s2status : Label
- s2tile1 : AnchorPane
- s2tile2 : AnchorPane
- s2tile3 : AnchorPane
- s2tile4 : AnchorPane
- s2tile5 : AnchorPane
- s2tile6 : AnchorPane
- s2timeremaining : Label
- s2timeslot : Label
- s3availableseats : Label
- s3infopane : AnchorPane
- s3issuebtn : JFXButton
- s3movieduration : Label
- s3movieimage : ImageView
- s3moviename : Label
- s3nextmovie : Label
- s3rating : Label
- s3repeatsleft : Label
- s3status : Label
- s3tile1 : AnchorPane
- s3tile2 : AnchorPane
- s3tile3 : AnchorPane
- s3tile4 : AnchorPane
- s3tile5 : AnchorPane
- s3tile6 : AnchorPane
- s3timeremaining : Label
- s3timeslot : Label
- tabpane : JFXTabPane
- tiles : AnchorPane[]
- timelabel : Label
- todaysdate : String
- todaystime : String
- toppane : AnchorPane
- userlabel : Label
- x : double
- y : double
+ addShiftImagdeEffect()
+ getImageShiftTransitions()
+ initialize()
+ populateScreens()
+ rotatePane()
+ setIssueTicketsActions()
+ setTimer()
+ setUpArrays()
+ setUpTiles()
+ shiftImage()
+ transitionImage()
+ viewMovieScreens()
- animate()
- displayTime()
- popNode()
}
}
namespace sample {
class sample.loginController {
- closebtn : JFXButton
- errorlabel : Label
- forgotpassword : Label
- loginbtn : JFXButton
- loginsuccess : boolean
- mainloginpane : AnchorPane
- minimisebtn : JFXButton
- passfield : JFXPasswordField
- progressbar : JFXProgressBar
- stackpane : StackPane
- userfield : JFXTextField
- vanished : boolean
+ initialize()
+ showDialog()
+ staffLogin()
- animateLogin()
- checkUser()
- fieldListners()
- loadHome()
}
}
namespace sample {
class sample.logoutController {
- closebtn : JFXButton
- logoutpane : AnchorPane
- nobtn : JFXButton
- yesbtn : JFXButton
+ handleConfirmation()
+ initialize()
}
}
namespace sample {
class sample.moviesController {
{static} + currentmovie : String
{static} + slotseatNo : int
- SLOT1 : AnchorPane
- SLOT2 : AnchorPane
- SLOT3 : AnchorPane
- SLOT4 : AnchorPane
- addbtn : JFXButton
- allschedulesbtn : JFXButton
- closebtn : JFXButton
- currentslots : int
- detailsbtn : JFXButton
- faded : boolean
- homebtn : JFXButton
- issueticketbtn : JFXButton
- leftpane : AnchorPane
- logoutbtn : JFXButton
- mainmoviespane : AnchorPane
- minimisebtn : JFXButton
- movieduration : Label
- movieimage : ImageView
- movienames : String[]
- moviepane : AnchorPane
- movierating : Label
- movierepeats : Label
- movieticketsold : Label
- movietitle : Label
- searchfield : JFXTextField
- searchicon : JFXButton
- showingall : boolean
- slot1shadow : AnchorPane
- slot2shadow : AnchorPane
- slot3shadow : AnchorPane
- slot4shadow : AnchorPane
- tablepane : AnchorPane
- toppane : AnchorPane
- userlabel : Label
+ animate()
+ fadeEffect()
+ initialize()
+ issueTicket()
+ rollEffect()
+ showAllSchedule()
+ slotsEffect()
+ startSearch()
- animateTable()
- assignPane()
- fadeMovieNodes()
- getCurrentPanes()
- getLocationOnTable()
- getSlotsFadeArray()
- goToAddPage()
- mouseEnteredEffect()
- mouseExitedEffect()
- searchMovie()
- setDefaultMovie()
- setMovie()
- setScreenName()
- setSubPane()
- setTimeName()
- setTimeSlots()
- viewMovieOnWeb()
}
}
namespace sample {
class sample.paymentController {
+ expmonthbox : JFXComboBox
+ expyearbox : JFXComboBox
{static} + reversemethod : boolean
{static} + scene : String
- adultslabel : Label
- backcardbtn : JFXButton
- backcashbtn : JFXButton
- cancelbtn : JFXButton
- cardfield : JFXTextField
- cardimage : ImageView
- cardpayment : AnchorPane
- cashimage : ImageView
- cashpayment : AnchorPane
- changefield : JFXTextField
- childslabel : Label
- closebtn : JFXButton
- cvvfield : JFXTextField
- emailfield : JFXTextField
- errorlabel : Label
- firstnamefield : JFXTextField
- handledpayment : boolean
- hided : boolean
- insidepane : AnchorPane
- lastnamefield : JFXTextField
- mainpane : AnchorPane
- methodpane : AnchorPane
- moneytaken : boolean
- moveto : String
- pencefield : JFXTextField
- placeorderbtn : JFXButton
- poundsfield : JFXTextField
- printing : boolean
- selectedimage : ImageView
- seniorslabel : Label
- stackpane : StackPane
- toppane : AnchorPane
- totalpricelabel : Label
- viplabel : Label
+ animate()
+ cancelOrder()
+ handleButtons()
+ initialize()
- fadeErrorLabel()
- isValidEmailAddress()
- load()
- loadUpData()
- printReceipt()
- processTicketData()
- roll()
- scaleImage()
- setCardpageLogic()
- setErrorLabelLogic()
- setNumericFieldValidation()
- setTextFieldValidation()
- setUpCardPage()
- setUpCashPage()
- showDialog()
- updateChangeField()
- validateCardPage()
- validateCashPage()
}
}
namespace sample {
class sample.seatsController {
{static} + booked : boolean[]
{static} + bookings : boolean[]
- E1 : JFXButton
- E10 : JFXButton
- E2 : JFXButton
- E3 : JFXButton
- E4 : JFXButton
- E5 : JFXButton
- E6 : JFXButton
- E7 : JFXButton
- E8 : JFXButton
- E9 : JFXButton
- F1 : JFXButton
- F10 : JFXButton
- F2 : JFXButton
- F3 : JFXButton
- F4 : JFXButton
- F5 : JFXButton
- F6 : JFXButton
- F7 : JFXButton
- F8 : JFXButton
- F9 : JFXButton
- cancelbtn : JFXButton
- confirmbtn : JFXButton
- limiterror : Label
- mainpane : AnchorPane
- maxseats : int
- movietitle : Label
- numberofseats : int
- seats : JFXButton[]
- seatsselected : Label
- totalprice : Label
- totaltickets : Label
+ handleCancellation()
+ handleConfirmation()
+ initialize()
- initialiseArray()
- popSeat()
- setBookedSeats()
- setUpSeats()
}
}
sample.Main -up-|> javafx.application.Application
sample.checkoutController .up.|> javafx.fxml.Initializable
sample.checkoutController -up-|> sample.CommonMethods
sample.homeController .up.|> javafx.fxml.Initializable
sample.homeController -up-|> sample.CommonMethods
sample.loginController .up.|> javafx.fxml.Initializable
sample.loginController -up-|> sample.CommonMethods
sample.logoutController .up.|> javafx.fxml.Initializable
sample.logoutController -up-|> sample.CommonMethods
sample.moviesController .up.|> javafx.fxml.Initializable
sample.moviesController -up-|> sample.CommonMethods
sample.paymentController .up.|> javafx.fxml.Initializable
sample.paymentController -up-|> sample.CommonMethods
sample.seatsController .up.|> javafx.fxml.Initializable
sample.seatsController -up-|> sample.CommonMethods
right footer
PlantUML diagram generated by SketchIt! (https://bitbucket.org/pmesmeur/sketch.it)
For more information about this tool, please contact philippe.mesmeur@gmail.com
endfooter
@enduml
| false | true | false | false | class |
35346712e35caeb1f7b90b1faccc401ffb1c3973 | 169dfde296af00e767227be2b613f0d1b85430c4 | /plantuml/src/Koos.Services/Extensions.puml | 8e7298c47a9f52352b8740fcd8673bab5db70a18 | [
"MIT"
] | permissive | thild/koos | 2ab531346e3b2abe8480425320ae0f7857cc2c90 | 294e86b47a9d815d33bf807e1b30488356006aff | refs/heads/master | 2021-07-08T22:46:05.193444 | 2020-11-10T16:10:20 | 2020-11-10T16:10:20 | 211,979,334 | 1 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 106 | puml | @startuml
class Extensions <<static>> {
+ {static} Fill(dest:TDest, source:TSource) : TDest
}
@enduml
| false | true | false | false | class |
3484c8df4862b8bd6f609a3aa86630373648240d | cc7061bd2972740e2714aeeb07bc0c0cc714a0eb | /core/core.plantuml | 414f370cdc86c50b587aacef7d72228b56a06cc9 | [] | no_license | DevHamx/Code-Adventure | 315df6ba937f11cfaee1ef5ed3ac75e9abc85e23 | ed9d79504bbdac49d11fe84fa4819b59e61fd585 | refs/heads/master | 2020-06-11T14:09:42.109347 | 2019-06-26T23:56:10 | 2019-06-26T23:56:10 | 193,993,091 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 4,652 | plantuml | @startuml
title __CORE's Class Diagram__\n
package com.code.adventure.game {
package com.code.adventure.game.entities {
class Adventurer {
}
}
}
package com.code.adventure.game {
package com.code.adventure.game.util {
class Assets {
}
}
}
package com.code.adventure.game {
package com.code.adventure.game.util {
class ChaseCam {
}
}
}
package com.code.adventure.game {
class ChooseLevelScreen {
}
}
package com.code.adventure.game {
class CodeAdventureGame {
}
}
package com.code.adventure.game {
package com.code.adventure.game.util {
class Constants {
}
}
}
package com.code.adventure.game {
class DeathScreen {
}
}
package com.code.adventure.game {
package com.code.adventure.game.overlays {
class DoWhileLoop {
}
}
}
package com.code.adventure.game {
package com.code.adventure.game.entities {
class Enemy {
}
}
}
package com.code.adventure.game {
package com.code.adventure.game.util {
class Enums {
}
}
}
package com.code.adventure.game {
package com.code.adventure.game.overlays {
class ForLoop {
}
}
}
package com.code.adventure.game {
package com.code.adventure.game.overlays {
class GamePlayHud {
}
}
}
package com.code.adventure.game {
class GameplayScreen {
}
}
package com.code.adventure.game {
package com.code.adventure.game.entities {
class Item {
}
}
}
package com.code.adventure.game {
package com.code.adventure.game.entities {
class Key {
}
}
}
package com.code.adventure.game {
class Level {
}
}
package com.code.adventure.game {
package com.code.adventure.game.util {
class LevelLoader {
}
}
}
package com.code.adventure.game {
class MainMenuScreen {
}
}
package com.code.adventure.game {
package com.code.adventure.game.overlays {
class OnscreenControls {
}
}
}
package com.code.adventure.game {
package com.code.adventure.game.entities {
class Path {
}
}
}
package com.code.adventure.game {
package com.code.adventure.game.entities {
class Platform {
}
}
}
package com.code.adventure.game {
class QuizScreen {
}
}
package com.code.adventure.game {
package com.code.adventure.game.util {
class TextureMapObjectRenderer {
}
}
}
package com.code.adventure.game {
package com.code.adventure.game.util {
class Utils {
}
}
}
package com.code.adventure.game {
package com.code.adventure.game.overlays {
class WhileLoop {
}
}
}
Adventurer o-- Level : level
Adventurer o-- Direction : facing
Adventurer o-- WalkState : walkState
Adventurer o-- JumpState : jumpState
Adventurer o-- AttackState : attackState
Adventurer o-- Enemy : nearEnemy
Adventurer o-- Item : item
Assets -up-|> Disposable
Assets -up-|> AssetErrorListener
Assets o-- AdventurerAssets : adventurerAssets
Assets o-- GameAssests : gameAssests
Assets o-- UiAssests : uiAssests
Assets o-- ItemAssests : itemAssests
Assets o-- OnscreenControlsAssets : onscreenControlsAssets
Assets o-- EnemyAssests : enemyAssests
ChaseCam o-- Adventurer : target
ChooseLevelScreen -up-|> ScreenAdapter
ChooseLevelScreen o-- CodeAdventureGame : game
CodeAdventureGame -up-|> Game
DeathScreen -up-|> ScreenAdapter
DeathScreen o-- CodeAdventureGame : game
DoWhileLoop -up-|> Stage
Enemy -up-|> Item
ForLoop -up-|> Stage
GameplayScreen -up-|> InputProcessor
GameplayScreen -up-|> ScreenAdapter
GameplayScreen o-- CodeAdventureGame : game
GameplayScreen o-- Level : level
GameplayScreen o-- OnscreenControls : onscreenControls
GameplayScreen o-- GamePlayHud : hud
GameplayScreen o-- ChaseCam : chaseCam
Key -up-|> Item
Level o-- GameplayScreen : gameplayScreen
MainMenuScreen -up-|> ScreenAdapter
MainMenuScreen o-- CodeAdventureGame : game
OnscreenControls -up-|> InputAdapter
OnscreenControls o-- Adventurer : adventurer
Path -up-|> Item
QuizScreen -up-|> ScreenAdapter
QuizScreen o-- CodeAdventureGame : game
TextureMapObjectRenderer -up-|> OrthogonalTiledMapRenderer
WhileLoop -up-|> Stage
right footer
PlantUML diagram generated by SketchIt! (https://bitbucket.org/pmesmeur/sketch.it)
For more information about this tool, please contact philippe.mesmeur@gmail.com
endfooter
@enduml
| false | true | false | false | class |
ee0e0c285a1db16d2c6c7d4d254558d460967f3e | 2c0edfcd9e6ddf16a88762a018589cbebe6fa8e8 | /CleanSheets/src/main/java/csheets/worklog/n1140260/sprint4/core08.1_Export_pdf_sd_design_2.puml | 44fb6fefc890c5339c0800c28fe7e653652b9220 | [] | no_license | ABCurado/University-Projects | 7fb32b588f2c7fbe384ca947d25928b8d702d667 | 6c9475f5ef5604955bc21bb4f8b1d113a344d7ab | refs/heads/master | 2021-01-12T05:25:21.614584 | 2017-01-03T15:29:00 | 2017-01-03T15:29:00 | 77,926,226 | 1 | 3 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,478 | puml | @startuml doc-files/core08.1_Export_pdf_sd_design_2.png
actor User
participant "UI" as UI
participant "UIController" as UIController
participant "ExportPDFController" as ExportPDFController
participant "ExportPDF" as ExportPDF
participant "<interface>\nSpreadsheet" as Spreadsheet
participant "PDFWriter" as PDFWriter
participant "JFileChooser" as JFileChooser
participant "Value" as Value
participant "<interface>\nCell" as Cell
participant "Workbook" as Workbook
User -> UI: selects option export to pdf
UI -> UIController: ExportPDFController(UIController uiController)
UIController -> ExportXMLController: exportSpreadSheet(JFileChooser fileChooser,spreadsheet)
ExportXMLController -> File: file = fileChooser.getSelectedFile();
ExportPDF <-- JFileChooser: give a Selected File
ExportPDFController -> UIController: getActiveWorkbook().getSpreadsheet(this.jComboBoxSpreedSheet.getSelectedIndex()))
ExportPDFController <-- UIController: returns spreadsheet
ExportPDFController -> EncoderStrategy: write(file,spreadSheet)
ExportPDF -> ExportPDF:writeSpreadsheet(spreadSheet, file)
PdfWriter -> PdfWriter:getInstance(new Document(PageSize.A4), new FileOutputStream(file))
loop for every cells in spreadsheet
Spreadsheet -> Cell:cells = spreadsheet.getCell(row, columm).
Cell -> Value:cells.getValue.toString()
PdfCell -> PdfCell : cell=new PdfCell(new Paragraph(cells, f)
PdfPTable -> PdfPTable: table = new PdfPTable(1);
PdfCell -> PdfPTable : table.add(cell)
end
@enduml | false | true | false | false | usecase |
4652b4981307b757c6e302a5e89b478855b16e60 | 1423267c7da79f77fdec74f3d6c68f173a7d8326 | /Analyse/SE/SensorController/Protokol/SensorComProtokol.puml | 6949206022dd71b148b79e4ecc10764ea2146b5f | [] | no_license | Solvgraa-mager/E4PRJ4 | 60282c6857f62747ce99aacacab8f7b56efbf28e | 3f54f0415dcb1f5f7269db9653860f4071a17082 | refs/heads/main | 2023-05-08T15:53:25.639820 | 2021-06-03T12:47:11 | 2021-06-03T12:47:11 | 335,742,071 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 803 | puml | @startuml SensorComProtokolOversigt
title "SensorCom Protokol og ADCData Protokol"
participant "Central Computer" as CC
boundary "Sensor Controller Driver" as SCD
boundary "CentralComputerIF" as CCIF
participant "Sensor Controller" as SC
boundary "ADCBlokIF" as ADCIF
actor "ADC-Blok" as ADC
CC -> SCD : Get Water Temperature
SCD -> CCIF : <b>SensorCom</b> Request: 0b0100
CCIF -> SC : Request channel 3
SC -> ADCIF : Read channel 3
ADCIF -> ADC : <b>ADCData</b> Request: 0b0000010 0b11
ADC --> ADCIF : <b>ADCData</b> Response: 0x5EF
ADCIF --> SC : 1519
SC --> CCIF : Send 1519
CCIF --> SCD : <b>SensorCom MSB</b> 0x05
CCIF --> SCD : <b>SensorCom LSB</b> 0xEF
CCIF --> SCD : <b>SensorCom Kontrol</b> 0xFF
CCIF --> SCD : <b>SensorCom Checksum</b> 0xF2
SCD --> CC : Temperature is 25,75 degress
@enduml | false | true | false | false | sequence |
42a277b13e7987edf99959256ab371aaac46cc7f | 1329170af9812784b9625fdbcc243e3f70700b0e | /docs/plantuml/sdei_explicit_dispatch.puml | 51214f536e475ea4bfa371f14a21f5901dfc0909 | [
"BSD-3-Clause",
"NCSA",
"BSD-2-Clause"
] | permissive | matt2048/arm-trusted-firmware | 07e9d7035f8c025407ab95602fe67e7e45ad509f | 5f70d8de5b696a7b21284d96839caa981c8fdf30 | refs/heads/master | 2019-07-05T13:17:18.565282 | 2017-11-22T11:31:28 | 2017-11-23T01:44:07 | 62,524,486 | 0 | 0 | null | 2016-07-04T02:00:27 | 2016-07-04T02:00:24 | null | UTF-8 | PlantUML | false | false | 966 | puml | /'
' Copyright (c) 2017, ARM Limited and Contributors. All rights reserved.
'
' SPDX-License-Identifier: BSD-3-Clause
'/
@startuml
autonumber "<b>[#]</b>"
participant "SDEI client" as EL2
participant EL3
participant SEL1
activate EL2
EL2->EL3: **SDEI_EVENT_REGISTER**(ev, handler, ...)
EL3->EL2: success
EL2->EL3: **SDEI_EVENT_ENABLE**(ev)
EL3->EL2: success
EL2->EL3: **SDEI_PE_UNMASK**()
EL3->EL2: 1
... <<Business as usual>> ...
EL3<--]: **CRITICAL EVENT**
activate EL3 #red
note over EL3: Critical event triage
EL3->SEL1: dispatch
activate SEL1 #salmon
note over SEL1: Critical event handling
SEL1->EL3: done
deactivate SEL1
EL3-->EL3: sdei_dispatch_event(ev)
note over EL3: Prepare SDEI dispatch
EL3->EL2: dispatch
activate EL2 #salmon
note over EL2: SDEI handler
EL2->EL3: **SDEI_EVENT_COMPLETE()**
deactivate EL2
note over EL3: Complete SDEI dispatch
EL3->EL2: resumes preempted execution
deactivate EL3
... <<Normal execution resumes>> ...
@enduml
| false | true | false | false | sequence |
59410cae0b1471a79367a5767cde0472a05c4fb6 | 03e9091fe6dd1b0b01f42459386b4cade42a2650 | /src/ast/doc/cdd/ast_static.puml | 7a790febc78568f095f2d8a01d966c1f69351f00 | [] | no_license | KateVeremiichuk/Calculator | ba0e3d46ee0aef5d99e1d79ef982ed1507b101fb | e29f9e67108ed744bf3a086964fb32d14e0ad208 | refs/heads/master | 2020-09-23T16:35:45.602119 | 2019-12-03T08:30:51 | 2019-12-03T08:30:51 | 225,541,336 | 0 | 0 | null | 2019-12-03T08:30:52 | 2019-12-03T05:50:24 | Java | UTF-8 | PlantUML | false | false | 201 | puml | @startuml
interface INode {
+ {abstract} eval() : double
}
class TNode {
+ eval() : double
- m_body : function
- m_child_nodes : array<unique_ptr<INode>>
}
TNode --|> INode
@enduml
| false | true | false | false | class |
ff882a7767a073ce2fee7532cf7d7f22e4244733 | 7041d4eab20296045d22e31c56211bc84b17da1c | /docs/Modifier question/RDCU_Modifier_Question.puml | d5890ec11361dd8fbdb3921408bd653e269df157 | [] | no_license | nerdz88/SGA-TS | ff97ce5cd5c78de97a851e80e0c948f7552b0f2c | 608d0748ff5ceff47ff75a9053cc1b5fee061df9 | refs/heads/main | 2023-07-09T19:54:11.262264 | 2021-07-28T17:39:07 | 2021-07-28T17:39:07 | 397,959,207 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 871 | puml | @startuml modifierQuestionFinal
skinparam style strictuml
skinparam defaultfontname Verdana
title RDCU modifierUneQuestion
participant ":GestionnaireQuestion" as gestionQ
participant "universite : Universite" as universite
participant "espaceCours : EspaceCours" as cours
-> gestionQ : modifierQuestion(idEspaceCours,\nIdQuestion, tags,\nnom, texteQuestion,\nreponse, texteBonneReponse,\ntexteMauvaiseReponse)
note left : Selon controlleur, reçoit\nl'opération système
gestionQ -> universite : espaceCours = recupererUnEspaceCours(idEspaceCours)
note left : Selon expert, universite a toutes les\ninformations pour recupererUnEspaceCours
gestionQ -> cours : modifierQuestion(IdQuestion,\ntags, nom, texteQuestion,\nreponse, texteBonneReponse,\ntexteMauvaiseReponse)
note left : Selon expert, espaceCours a toutes les\ninformations pour recupererToutesQuestions
@enduml | false | true | true | false | sequence |
74389f35953457af9e6babb8aae830f456ce513b | 197cb6f0f467e5c7db242b07e4be7fb9c36e2bc2 | /docs/sequence_diagram.puml | 0beeb45dbe42b7aaeda9e058c28cec7582bb4193 | [
"MIT"
] | permissive | unibas-dmi-hpc/SPH-EXA | 0486eb33624183f7c0e84b3de8d7d19e6df7a88f | 545cc38043b12d44f5245bc87e89c482838c2f2c | refs/heads/develop | 2023-08-15T06:31:09.438655 | 2023-08-14T12:49:47 | 2023-08-14T14:27:58 | 162,446,023 | 47 | 22 | MIT | 2023-09-13T16:48:21 | 2018-12-19T14:05:33 | C++ | UTF-8 | PlantUML | false | false | 3,832 | puml | @startuml
participant Main
participant SPH #99FF99
participant DistributedDomain
box "Calculations (SPH method)" #LightSeaGreen
participant SPH
end box
box "MPI" #Tomato
participant DistributedDomain
end box
box "I/O" #LightGrey
participant OutputDataWriter
participant InputDataReader
end box
note over Main
Each MPI rank generates own part of Dataset.
Domain is distributed among MPI processes using an Octree.
end note
note over Main, SPH
Read particles data from file using MPI_IO
end note
Main -> InputDataReader: readData(n)
activate InputDataReader
Main <- InputDataReader: Dataset
deactivate InputDataReader
loop s times
Main -[#Tomato]> DistributedDomain: <color:#Tomato>distribute </color>
activate DistributedDomain
== Global Barrier ==
Main <-[#Tomato]- DistributedDomain
deactivate DistributedDomain
Main -[#Tomato]> DistributedDomain: <color:#Tomato>synchronizeHalos(x, y, z, h)</color>
activate DistributedDomain
== Point-to-Point MPI Communication (between *neighbor nodes*) ==
Main <-[#Tomato]- DistributedDomain
deactivate DistributedDomain
Main -[#SeaGreen]> DistributedDomain: <color:#SeaGreen>buildTree</color>
note right
Recursive calls with OpenMP tasks. Complexity N*log(N)
end note
loop over particles (n times)
Main -[#SeaGreen]> DistributedDomain: <color:#SeaGreen>findNeighbors</color>
note right
~10% of iteration time. Complexity N*log(N)
OpenMP parallel for
end note
end
loop over particles (n times)
Main -[#LightSeaGreen]> SPH: <color:#LightSeaGreen>computeDensity</color>
note right
~10% of iteration time. Complexity O(N * M)
Models: CUDA, Parallel for with OpenMP, OpenMP+target, OpenACC.
end note
end
loop over particles (n times)
Main -[#LightSeaGreen]> SPH: <color:#LightSeaGreen>computeEquationOfState</color>
note right
Complexity O(N)
OpenMP Parallel for
end note
end
Main -[#Tomato]> DistributedDomain: <color:#Tomato>synchronizeHalos(vx, vy, vz, ro, p, c)</color>
activate DistributedDomain
== Point-to-Point MPI Communication (between *neighbor nodes*) ==
Main <-[#Tomato]- DistributedDomain
deactivate DistributedDomain
loop over particles (n times)
Main -[#LightSeaGreen]> SPH: <color:#LightSeaGreen>computeIAD</color>
note right
~30% of iteration time. Complexity O(N * M)
Models: CUDA, Parallel for with OpenMP, OpenMP+target, OpenACC.
end note
end
Main -[#Tomato]> DistributedDomain: <color:#Tomato>synchronizeHalos(c11, c12 ... c33)</color>
activate DistributedDomain
== Point-to-Point MPI Communication (between *neighbor nodes*) ==
Main <-[#Tomato]- DistributedDomain
deactivate DistributedDomain
loop over particles (n times)
Main -[#LightSeaGreen]> SPH: <color:#LightSeaGreen>computeMomentumAndEnergy</color>
note right
~40% of iteration time. Complexity O(N * M)
Models: CUDA, Parallel for with OpenMP, OpenMP+target, OpenACC.
end note
end
loop over particles (n times)
Main -[#LightSeaGreen]> SPH: <color:#LightSeaGreen>computeTimestep</color>
note right
Complexity O(N)
OpenMP Parallel for
end note
end
activate SPH
== Global Barrier. MPI_AllReduce ==
Main <-[#LightSeaGreen]- SPH
deactivate SPH
loop over particles (n times)
Main -[#LightSeaGreen]> SPH: <color:#LightSeaGreen>computePositions</color>
note right
Complexity O(N)
OpenMP Parallel for
end note
end
loop over particles (n times)
Main -[#LightSeaGreen]> SPH: <color:#LightSeaGreen>computeTotalEnergy</color>
note right
Complexity O(N)
OpenMP Parallel for
end note
end
activate SPH
== Global Barrier. MPI_AllReduce ==
Main <-[#LightSeaGreen]- SPH
deactivate SPH
note over Main, SPH
More SPH functions in the future
end note
Main -> OutputDataWriter: Write results/checks to file/stdout
note over Main, SPH
In user defined number of iterations, dump all particles data to file using MPI_IO
end note
Main -> OutputDataWriter: Write all particles data to file using MPI_IO
end
@enduml
| false | true | false | false | sequence |
faa34ec90fe497c7dad3951ab8ae24dd489ac191 | 124fc38c55a18db57b00f773b29c0e62bf69b262 | /mq.puml | 25f114957cdf608755d6500fe88469f08b7f41e0 | [] | no_license | sillyhatxu/mini-mq | 86566ae119fb500cb94bfc4a84a4e8a743cc4d92 | a9def151c7263fb0e11c2e3e45ddff27717dbf56 | refs/heads/master | 2020-07-07T15:07:47.219757 | 2019-09-21T11:45:54 | 2019-09-21T11:45:54 | 203,384,178 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 332 | puml | @startuml
class TopicConf {
' -Topic
#Topic
#Offset: total offset
' ~method1()
' +method2()
}
class TopicGroup {
#Topic
#Group
#Offset : current consume offset
#ConsumerCount
}
class TopicDataA {
#Topic
#Group
#Offset: current data offset
' #ConsumerCount
}
TopicConf <|-- TopicDataA
TopicDataA <|-- TopicGroup
@enduml | false | true | false | false | class |
e448d1b01de0ccba416ffcabf8c583eea1ff9a43 | 1ff534bd13d4172dbb7b2472bc664fd20c298806 | /rospace_documentation/design/propagator-class-diagram.puml | 380a2e185ed1fafa232d011092a0b3d2c01dc7e6 | [
"Zlib"
] | permissive | eSpace-epfl/rospace-core | be7e821e22ea821181abb042e31f7df51eb93098 | abf01756f81113cb4822bc7e09b0d75f2c9676d8 | refs/heads/master | 2020-04-17T03:39:35.265865 | 2018-12-19T18:48:33 | 2018-12-19T18:48:33 | 166,194,441 | 3 | 1 | null | null | null | null | UTF-8 | PlantUML | false | false | 5,093 | puml | @startuml
' Copyright (c) 2018, Christian Lanegger (christian.lanegger@epfl.ch)
'
' @license zlib license
'
' This file is licensed under the terms of the zlib license.
' See the LICENSE.md file in the root of this repository
' for complete details.
skinparam ClassBackgroundColor #F3EFEB/E1D5E7
skinparam ClassBorderColor #5F4869
skinparam ClassArrowColor #5F4869
skinparam NoteBackgroundColor #F3EFEB
skinparam NoteBorderColor #5F4869
skinparam NoteFontColor #5F4869
skinparam PackageFontSize 12
skinparam ClassFontSize 11
package ROSpace_core #F5F5F5{
package rospace_nodes.propagator #DDEBD8 {
class PropagatorNode << (N,#3F8DCD) >>
interface Builder {
+{abstract} _buid_state()
+{abstract} _build_integrator()
+{abstract} _build_propagator()
+{abstract} _get_propagator()
}
class PropagatorBuilder {
+ _build_force_model_X()
}
class OrekitPropagator {
+propagator_num : NumericalPropagator
-external_torque : numpy.array
-induced_thrust : numpy.array
-isp_value : float
+init_jvm()
+initialize(spc_name : String, prop_settings : Dict, init_coords : Dict, epoch : datetime)
+propagate(epoch : datetime)
-_calculate_thrust()
-_calculate_external_torque()
-_calculate_magnetic_field(date : AbsoluteDate) : Vector3D
-_write_satellite_state(state : SpacecraftState) : List
}
class NumericalPropagator {
+state : SpacecraftState
+propagate(epoch : AbsoluteDate)
+getAttitude(orbit : OrbitType , epoch : AbsoluteDate, frame : Frame)
+getInitialState() : SpacecraftState
+setInitialState() : SpacecraftState
}
interface AttitudeProvider {
+{abstract}getAttitude(pvProv : PVCoordinatesProvider, epoch : AbsoluteDate, frame : Frame)
}
class AttitudePropagation {
}
class StateObserver {
+state : SpacecraftState
}
interface ForceModel {
+{abstract}addContribution(s : SpacecraftState, adder :)
}
interface DisturbanceTorques {
+{abstract}compute_torques(rot : Rotation, spin : numpy.array, dt : float) : Vector3D
-{abstract}compute_gravity_torque(epoch : AbsoluteDate)
-{abstract}compute_magnetic_torque(epoch : AbsoluteDate)
-{abstract}compute_solar_torque(epoch : AbsoluteDate)
-{abstract}compute_aero_torque(epoch : AbsoluteDate , spin : numpy.array)
}
class DisturbanceTorquesArray {
+update_satellite_state(integration_date : AbsoluteDate)
-_initialize_dipole_model(model : Dict)
}
}
package rospace_lib #DDEBD8 {
package misc #D5E8E4 {
class FileDataHandler {
-_data_checklist : Dict
-_mag_field_coll : Collection
-_mg_field_model : GeoMagneticField
+{static}load_magnetic_field_models(epoch : AbsoluteDate)
+{static}create_data_validity_checklist()
+{static}check_data_availability(epoch : datetime)
}
abstract Spacecrafts {
+mass : Float
+propagator_settings : Dict
+init_coords : Dict
-_last_state : List
-_propagator : NumericalPropagator
+build_propagator(init_epoch : datetime)
+propagate(epoch_now : datetime)
}
class Simulator_Spacecraft {
+publishers : Publisher
+build_communication()
+publish()
}
}
package clock #D5E8E4 {
class SimTimePublisher {
-updater : SimTimeUpdater
-service : SimTimeService
+set_up_simulation_time()
+update_simulation_time() : Datetime
+sleep_to_keep_frequency()
}
}
}
package Rospy #DDEBD8 {
class Publisher {
+publish(msg : Message)
}
class Subscriber
}
Spacecrafts <|-- Simulator_Spacecraft
Simulator_Spacecraft --> OrekitPropagator
Publisher <-- Simulator_Spacecraft
Subscriber <-- Simulator_Spacecraft
' Simulator_Spacecraft --> Publisher
' Simulator_Spacecraft --> Subscriber
Simulator_Spacecraft --* PropagatorNode
SimTimePublisher <-- PropagatorNode
PropagatorNode o-- FileDataHandler
OrekitPropagator --> NumericalPropagator
OrekitPropagator o-- PropagatorBuilder
PropagatorBuilder ..|> Builder
PropagatorBuilder --> NumericalPropagator
NumericalPropagator *-- AttitudePropagation
AttitudePropagation ..|> AttitudeProvider
AttitudePropagation --> DisturbanceTorquesArray
AttitudePropagation *-- StateObserver
DisturbanceTorquesArray ..|> DisturbanceTorques
StateObserver ..|> ForceModel
' OrekitPropagator .[hidden]up. PropagatorNode
@enduml
| false | true | false | false | class |
99b34afa5baf7f671f35289cdb97a2962d30f7a5 | 77cfcf0f78ad59a352283644e4c1382fce87eb70 | /resources/uml/classes.puml | 4b8946fefc208f64d0a5a29ebc9cf601829e395e | [] | no_license | Gabryss/Force-3 | 17a9a8edf783396e8a2852733e303866f949eddc | f178978e71c54c0d09a4f429685b0115679c58ea | refs/heads/master | 2022-10-13T23:37:54.039474 | 2020-06-14T12:03:08 | 2020-06-14T12:03:08 | 260,274,728 | 2 | 1 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,810 | puml | @startuml
class GameManager {
+ gameBoard: GameBoard
+ players: Player[2]
+ gameType: GameType
+ view: View
---
}
class GameBoard {
+ grid: Cell[3][3]
+ pawns: Pawn[2][3]
+ previousMove: Move
---
}
class Player {
+ color: Color
+ selector: Selector
+ isTurnActive: boolean
---
}
class ArtificialIntelligence extends Player {
+ deepness: int
---
}
class View {
pygame images
---
}
class Cell {
+ position: Position
+ type: string
---
}
class Square extends Cell {
---
}
class Pawn extends Cell {
+ color: Color
---
}
class Selector {
+ position: Position
+ minLine: int
+ maxLine: int
+ isActive: boolean
+ activeCell: Cell
---
}
class Position {
+ x: int
+ y: int
---
}
enum Color {
+ BLACK
+ WHITE
}
enum Config {
+ RESEARCH_DEPTH_PLAYER_VS_AI
+ RESEARCH_DEPTH_AI_VS_AI
+ AI_PAUSE_TIME
}
enum Direction {
+ UP
+ DOWN
+ LEFT
+ RIGHT
}
class GameStatus {
+ status: StatusType
+ winType: WinType
+ winner: Color
---
}
enum GameType {
+ QUIT
+ PLAYER_VS_PLAYER
+ PLAYER_VS_AI
+ AI_VS_AI
}
class Move {
+ start: Position
+ end: Position
+ moveType: MoveType
+ direction: Direction
---
}
enum MoveType {
+ PUT_UNUSED_PAWN_ON_SQUARE
+ PUT_USED_PAWN_ON_SQUARE
+ SIMPLE_SLIDE
+ DOUBLE_SLIDE
}
enum StatusType {
+ ONGOING
+ END
}
enum Window {
+ WIDTH
+ HEIGHT
+ GRID_WIDTH
+ GRID_HEIGHT
}
enum WinType {
+ LINE
+ COLUMN
+ DIAGONAL
+ REVERSE_COLUMN
}
GameManager *-- GameBoard
GameManager *-- Player
GameManager *-- View
GameBoard *-- Cell
Player *-- Selector
Player *-- Color
Cell *-- Position
Pawn *-- Color
Selector *-- Position
GameStatus *-- Color
GameStatus *-- StatusType
GameStatus *-- WinType
Move *-- Position
Move *-- MoveType
Move *-- Direction
GameManager <.. Config
GameManager <.. GameType
GameManager <.. StatusType
View <.. Window
GameBoard <.. GameStatus
GameBoard <.. Move
Selector <.. Move
@enduml | false | true | false | false | class |
1cf914b7b857c56d2c197b681303334b0f177c0b | 4b319af61aaebff8f2e8f9bf170145c86601dbfb | /sprint_5/srcdoc/diag0.puml | e13ab7ffca8ef6ded9925539ef571dd5b8b09e2f | [] | no_license | IUT-Blagnac/MPA2014G2A1 | 9f3cab7e4337f727c1363a19444481e88db8d5f1 | 576bdebbfa949129f3ba8b3c8632ec9227e328e0 | refs/heads/master | 2016-09-05T21:53:37.882918 | 2014-11-07T09:20:07 | 2014-11-07T09:20:07 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 616 | puml | '-----------------------------------
' UML concepts illustrated
' JMB 2014
'-----------------------------------
@startuml
'-----------------------------------
class ETUDIANTS {
nomEtu
prenomEtu
numEtu
}
class INTERVENANTS {
nomInt
prenomInt
numInt
}
class GROUPES {
numGr
}
class SUJETS {
idSujet
nomSuj
titreSuj
}
ETUDIANTS -- GROUPES
INTERVENANTS -- GROUPES
GROUPES -- SUJETS
(GROUPES, SUJETS) .. PROJET
'-----------------------------------
@enduml
'----------------------------------- | false | true | false | false | class |
b08b53124e80c24747012b56eab930f8846c54d7 | 9ba5a70195ff44b6f685bffbb375bedc75e379b8 | /devfile.plantuml | afbf98af6a84262ae6c557a67ca479aee237d739 | [] | no_license | redhat-developer/devfile | 30c8afb76997fd3ba0e4c0392504f184989f76f1 | 2c72a9cd5137174b44a732e4b0aee6bd7645317a | refs/heads/main | 2022-08-22T07:46:55.979329 | 2022-08-16T11:53:32 | 2022-08-16T11:53:32 | 139,818,646 | 30 | 39 | null | 2021-10-08T16:33:45 | 2018-07-05T08:25:23 | null | UTF-8 | PlantUML | false | false | 1,238 | plantuml | @startuml devfile
class Devfile {
- specVersion
- name
- commands
- tools
- projects
}
together {
class Tool
class Command
class Project
}
Devfile *-- "n" Tool
Devfile *-- "n" Command
Devfile *-- "n" Project
class Tool {
- type
- alias
}
Tool <|-.. Dockerimage
Tool <|-.. Openshift
Tool <|-.. Kubernetes
Tool <|-.. ChePlugin
Tool <|-.. CheEditor
class Command {
- name
- actions
}
Command *-- "n" CommandAction
CommandAction o-- Tool
class CommandAction {
- type
- tool
- command
}
class Project {
- name
- source
}
Project o-- "1" ProjectSource
class ProjectSource {
- type
- location
}
Project -[hidden]> Tool
Tool -[hidden]> Command
ProjectSource -[hidden]> CommandAction
class Dockerimage {
- image
- memoryLimit
- mountSources
- volumes
- env
- endpoints
- command
- args
}
class Openshift {
- local
- localContent
- selector
- entrypoints
}
class Kubernetes {
- local
- localContent
- selector
- entrypoints
}
class ChePlugin #yellow {
- id
}
note bottom of ChePlugin: Che specific
class CheEditor #yellow {
- id
}
note bottom of CheEditor: Che specific
ChePlugin -[hidden]> CheEditor
CheEditor -[hidden]> Dockerimage
@enduml
| false | true | false | false | class |
ea8cbc0c5d70d94a1caaf34d65370d8a08c1ec04 | ed45ea4470bcfc497e2584697d7842a540e04fd9 | /ros2/navigation2/nav2_util/geometry_utils.puml | 16a3d873fa1f6a2093420cf0befccb15affddba4 | [] | no_license | cf-zhang/documents | ffcd8213587f8aa9c47406cf2491bf77beec9c33 | 8a4439932017b67fba7988ff7fadd9829bce1e4c | refs/heads/master | 2022-03-03T13:52:27.333343 | 2022-02-25T11:31:22 | 2022-02-25T11:31:22 | 154,789,912 | 11 | 1 | null | null | null | null | UTF-8 | PlantUML | false | false | 318 | puml | @startuml
'https://plantuml.com/class-diagram
namespace nav2_util{
class GeometryUtils{
-- public method --
inline geometry_msgs::msg::Quaternion orientationAroundZAxis(double angle)
inline double euclidean_distance
inline double euclidean_distance(pos1, pos2)
inline double euclidean_distance(pos1,pos2)
}
}
@enduml | false | true | false | false | class |
88fcb26ae7463109018f580bfed2af29c1195af6 | fe4eb6697e791df152d0c98645cb4dd417d0b4fd | /docs/uml/LoadAnswerSequenceDiagram.puml | 2ca138acb8740fa9eb55e0bec024fdc24ac532fc | [] | no_license | AY2021S2-CS2113T-F08-1/tp | 181794879f60fe98692cb30145839758cef4781c | 6e9a5418c1ca45d8ba09ff9a612013251e7417f4 | refs/heads/master | 2023-04-10T04:08:56.690286 | 2021-04-16T14:43:44 | 2021-04-16T14:43:44 | 340,670,502 | 0 | 6 | null | 2021-04-16T13:07:08 | 2021-02-20T14:13:17 | Java | UTF-8 | PlantUML | false | false | 257 | puml | @startuml
'https://plantuml.com/sequence-diagram
hide footbox
loop over scanner.hasNext()
[-> Storage: loadAnswer()
activate Storage
Storage -> Answer**
activate Answer
Answer --> Storage
deactivate Answer
[<-- Storage: Answer
deactivate Storage
@enduml | false | true | false | false | sequence |
7bb490fcd1e719219f97c7a933d69b238be65577 | e80c5fe439cb8fe4bcca554f1ff861299f40fa60 | /1.Basics/3_Button/thingml-gen/UML/Button3App/Button3App/docs/Button_Button.plantuml | fc949bbebba8327699bf0a295d8a86a9c34bb190 | [] | no_license | madkira/ThingMLArduinoDemo | 331a8e258d4e57d18efb9dccd581179b8f69c0ba | 730789e11960547852cd4e1a0254f49f08ea8131 | refs/heads/master | 2020-12-07T03:57:47.048263 | 2017-06-27T12:19:36 | 2017-06-27T12:19:36 | 95,461,161 | 0 | 0 | null | 2017-06-26T15:27:01 | 2017-06-26T15:27:01 | null | UTF-8 | PlantUML | false | false | 326 | plantuml | @startuml
skinparam defaultTextAlignment left
caption Behavior of thing Button
[*] --> Button
state Button{
state RELEASED{
RELEASED --> PRESSED : clock?ms25_tic[is_pressed()]\naction evt!press()\n
}
state PRESSED{
PRESSED --> RELEASED : clock?ms25_tic[not is_pressed()]\naction evt!release()\n
}
[*] --> RELEASED
}
@enduml
| false | true | false | false | sequence |
5129fa3fea49b6fe5e0bf463d2d9d782865ea57e | 63114b37530419cbb3ff0a69fd12d62f75ba7a74 | /plantuml/Library/PackageCache/com.unity.timeline@1.2.17/Editor/treeview/ItemGui/TimelineMarkerClusterGUI.puml | caec3ccc4dbe89250e281fdfbc4f9fb1bb45fb35 | [] | no_license | TakanoVineYard/AMHH | 215a7c47049df08c5635b501e74f85137b9e985b | 68887a313587a2934fb4ceb2994cbc2a2191d6a3 | refs/heads/master | 2023-01-13T02:08:02.787083 | 2020-11-17T14:51:57 | 2020-11-17T14:51:57 | 303,631,593 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,086 | puml | @startuml
class TimelineMarkerClusterGUI {
+ TimelineMarkerClusterGUI(guis:List<TimelineMarkerGUI>, parent:IRowGUI, zOrderProvider:IZOrderProvider, layerZOrder:LayerZOrder)
+ <<override>> start : double <<get>>
+ <<override>> end : double <<get>>
+ <<override>> Select() : void
+ <<override>> Deselect() : void
+ <<override>> Draw(trackRect:Rect, trackRectChanged:bool, state:WindowState) : void
+ <<override>> RectToTimeline(trackRect:Rect, state:WindowState) : Rect
+ CycleTop() : void
OnDragTopMarker() : void
SortMarkers() : void
RegisterRect(state:WindowState) : void
+ {static} CanCycleMarkers() : bool
+ {static} CycleMarkers() : void
}
class "List`1"<T> {
}
TimelineItemGUI <|-- TimelineMarkerClusterGUI
TimelineMarkerClusterGUI --> "m_MarkerGUIs<TimelineMarkerGUI>" "List`1"
TimelineMarkerClusterGUI --> "m_ZOrderProvider" IZOrderProvider
TimelineMarkerClusterGUI --> "topMarker" TimelineMarkerGUI
TimelineMarkerClusterGUI --> "m_ManipulatedMarker" TimelineMarkerGUI
TimelineMarkerClusterGUI --> "item" ITimelineItem
@enduml
| false | true | false | false | class |
8df4ceee78b3fb180faa6ae8216bf622a96fc671 | 56c3d96069bdb4cdeadfae340022e3b90511afc0 | /src/incl/symfony/component/console/input/input-definition.puml | 7b4a3a1f24673c982516940e4391677b40d4fb0e | [] | no_license | nibralab/joomla-architecture | 38db6234c9e12298716e529e46c907387e214166 | 99ab82e904fc56dc6113cf58a5990b295951aa12 | refs/heads/master | 2021-01-19T04:06:37.675771 | 2017-07-07T17:13:48 | 2017-07-07T17:13:48 | 36,740,646 | 3 | 5 | null | 2016-04-09T15:01:23 | 2015-06-02T14:57:25 | PHP | UTF-8 | PlantUML | false | false | 1,029 | puml | @startuml
namespace Symfony.Component.Console.Input {
class InputDefinition {
+<b>__construct</b>(array)
+<b>setDefinition</b>(array)
+string <b>getSynopsis</b>([bool])
--
+<b>setArguments</b>(InputArgument[])
+<b>addArguments</b>(InputArgument[])
+<b>addArgument</b>(InputArgument)
+bool <b>hasArgument</b>(string)
+InputArgument <b>getArgument</b>(string)
+InputArgument[] <b>getArguments</b>()
+int <b>getArgumentCount</b>()
+int <b>getArgumentRequiredCount</b>()
+array <b>getArgumentDefaults</b>()
--
+<b>setOptions</b>(InputOption[])
+<b>addOptions</b>(InputOption[])
+<b>addOption</b>(InputOption)
+bool <b>hasOption</b>(string)
+InputOption <b>getOption</b>(string)
+InputOption[] <b>getOptions</b>()
+bool <b>hasShortcut</b>(string)
+InputOption <b>getOptionForShortcut</b>(string)
+array <b>getOptionDefaults</b>()
}
}
@enduml
| false | true | false | false | class |
aa97b200d51a288f3560d9f33bd4ee2a57a3e7e9 | 573fd3fb5867c0f26fb2906f0478b234956e713f | /docs/architecture/component-diagram.puml | 268e724c16484b6f120cc83b45c6b32cd2209332 | [
"Apache-2.0"
] | permissive | RafaelAPB/blockchain-integration-framework | 65cd73a7115069d343da7d269db45918710a7bbd | 89d5102496adfe98a542a373e805dc38ecb8f269 | refs/heads/main | 2023-08-07T02:19:05.864116 | 2023-04-12T00:41:07 | 2023-04-14T07:37:08 | 241,220,244 | 5 | 0 | Apache-2.0 | 2023-05-24T02:04:39 | 2020-02-17T22:22:43 | TypeScript | UTF-8 | PlantUML | false | false | 2,134 | puml | @startuml Sequence Diagram - Transaction
title Hyperledger Cactus\nSequence Diagram - Transaction
left to right direction
frame "Hyperledger Cactus" as 1cactus {
package "Core" as 2core <<package>> #LightSlateGray {
interface "IStoragePlugin" as 3istorageplugin <<interface>> {
}
interface "Connector" as 3connector <<abstract class>> {
}
interface "LedgerResolver" as 3ledgerresolver <<abstract class>> {
}
interface "IdentityPlugin" as 3identityplugin <<abstract class>> {
}
}
package "Persistence" as 2persistence <<package>> #LightGreen {
class "TransactionLogger" as 3transactionlogger <<class>> {
}
}
package "Validator" as 2validator <<package>> {
class "ValidatorNode" as 3validatornode <<class>> {
}
}
frame Connectors {
package "ConnectorFabric" as 2connectorfabric <<package>> {
ConnectorFabric ..> 3connector : <<implements>>
}
package "ConnectorQuorum" as 2connectorquorum <<package>> {
ConnectorQuorum ..> 3connector: <<implements>>
}
package "ConnectorCorda" as 2connectorcorda <<package>> {
ConnectorCorda ..> 3connector : <<implements>>
}
package "ConnectorBesu" as 2connectorbesu <<package>> {
ConnectorBesu ..> 3connector : <<implements>>
}
}
package "API Server" as 2apiserver <<package>> #LightCyan {
class "RequestValidator" as 3requestvalidator <<class>> {
}
class "ExchangeProposal<T>" as 3exchangeproposal <<abstract class>> {
}
}
package "StoragePluginFabric" as 2storagepluginfabric <<package>> #LightPink {
StoragePluginFabric ..> 3istorageplugin : <<implements>>
}
frame "Identity" {
package "IdentityPluginIndy" as 2identitypluginindy <<package>> #LightPink {
IdentityPluginIndy ..> 3identityplugin: <<implements>>
}
package "IdentityPluginWeb" as 2identitypluginweb <<package>> #LightPink {
IdentityPluginWeb ..> 3identityplugin: <<implements>>
}
package "IdentityPluginOAuth" as 2identitypluginoauth <<package>> #LightPink {
IdentityPluginOAuth ..> 3identityplugin: <<implements>>
}
}
}
@enduml
| false | true | false | false | class |
3bae90c217c21570f69d6dbb39520a545d2ee7c7 | d97b774fd95a8e98e37c46ee1771f6e6e407a148 | /uml/api/StagedOrderRemoveLineItemAction.puml | 97d936ed3bf43a183f943dde9ffcb696af104b4f | [] | no_license | commercetools/commercetools-api-reference | f7c6694dbfc8ed52e0cb8d3707e65bac6fb80f96 | 2db4f78dd409c09b16c130e2cfd583a7bca4c7db | refs/heads/main | 2023-09-01T05:22:42.100097 | 2023-08-31T11:33:37 | 2023-08-31T11:33:37 | 36,055,991 | 52 | 30 | null | 2023-08-22T11:28:40 | 2015-05-22T06:27:19 | RAML | UTF-8 | PlantUML | false | false | 727 | puml | @startuml
hide empty fields
hide empty methods
legend
|= |= line |
|<back:black> </back>| inheritance |
|<back:green> </back>| property reference |
|<back:blue> </back>| discriminated class |
endlegend
interface StagedOrderRemoveLineItemAction [[StagedOrderRemoveLineItemAction.svg]] extends StagedOrderUpdateAction {
action: String
lineItemId: String
lineItemKey: String
quantity: Long
externalPrice: [[Money.svg Money]]
externalTotalPrice: [[ExternalLineItemTotalPrice.svg ExternalLineItemTotalPrice]]
shippingDetailsToRemove: [[ItemShippingDetailsDraft.svg ItemShippingDetailsDraft]]
}
interface StagedOrderUpdateAction [[StagedOrderUpdateAction.svg]] {
action: String
}
@enduml
| false | true | false | false | class |
858d686589d647465a2aa075bb366ba47b8bf0cb | afaba8b7f5d826664155b257db77cf4dbf4b8816 | /oop-pattern/ch07/resources/08-observer-sensor-sq.puml | d98f691f0d750019052d3586a0433b97663c236e | [
"MIT"
] | permissive | appkr/pattern | b40b621e52c9b27be01f2a21f2f605a459ac998f | 1e635f7b79cc4b89d2e75455cb14e1572619eb20 | refs/heads/master | 2022-11-02T01:56:18.654766 | 2022-10-12T08:45:58 | 2022-10-12T08:47:36 | 71,896,898 | 11 | 2 | MIT | 2018-11-10T15:05:11 | 2016-10-25T12:55:03 | PHP | UTF-8 | PlantUML | false | false | 585 | puml | @startuml
actor App
participant TemperatureSensor
participant ScreenDisplay
activate App
App -> TemperatureSensor: create
return Sensor
App -> ScreenDisplay: create
activate ScreenDisplay
return Display
App -> TemperatureSensor: add(Sensor)
activate TemperatureSensor
App -> TemperatureSensor: setState(newState)
App -> TemperatureSensor: notifyObservers()
deactivate App
TemperatureSensor -> ScreenDisplay: update(Sensor)
activate ScreenDisplay
deactivate TemperatureSensor
ScreenDisplay -> ScreenDisplay: update its screen
deactivate ScreenDisplay
@enduml
| false | true | false | false | usecase |
687b534194a5609c6e5907c57de0ced8cfa39dcc | adbcb378b12c30b48a7f61157ba4e14d10996181 | /docs/sts-usage.puml | 63ccd9489f35dbd2df12b9c8c9d5ae57b8f8508c | [
"Apache-2.0"
] | permissive | adorsys/secure-token-service | 853a0d91345952b58e0522eb95f6954b2efc39bc | 5231224aa9b791c36933bcb518f1082fe4185cb7 | refs/heads/develop | 2023-08-10T01:18:07.009165 | 2022-01-18T09:08:54 | 2022-01-18T09:08:54 | 93,311,975 | 24 | 18 | Apache-2.0 | 2023-09-13T11:37:40 | 2017-06-04T12:27:06 | Java | UTF-8 | PlantUML | false | false | 2,696 | puml | @startuml
legend
|= color |= meaning |
|blue line| content asymetricaly encrypted |
|red line| content unencrypted or by protocol |
|light blue background| component of STS |
endlegend
skinparam linetype ortho
/' ======================= NODES '/
node "Frontend" {
actor "User"
[Gui]
}
node "IDP" {
node Keycloak {
[Token Server] #lightblue
}
node POP as POP2 {
[JWKS-URL] #lightblue
}
}
node "Reverse Proxy" {
[HTTPD / NGINX] as Proxy
}
node "Datacenter 1" as DA1 {
node "Business Logic" {
[Backend Server]
}
node "Persistence Layer" {
[Datasafe]
}
node POP as POP1 {
[Key Management] #lightblue
}
note bottom of [Key Management]
keeps dynamicly private/public
key pairs and exposes the public
key so that data comming in
is encrypted asymetricaly.
end note
}
node "Datacenter 2" as DA2 {
node "communication logic" as CL {
[Registered Resource Server] as RRS #lightblue
[Registered IDPs] as RIP #lightblue
}
node "secret logic" as SL {
[Secret Server] #lightblue
[Secret Key Management] as SKM #lightblue
note right of SKM
encrypts the data stored
from the secret server
to the DFS
end note
}
note bottom of SL
keeps dynamicly private/public
key pairs and exposes the public
key so that date comming in
is encrypted asymetricaly.
end note
note bottom of CL
knows Datacenter 1
by config file. So onyl request from known
server are accepted at all.
end note
}
database "Storage" as DB1{
frame "DFS" as DFS1{
}
}
database "Storage" as DB2{
frame "DFS" as DFS2{
}
}
/' ======================= RELATIONS '/
[Gui] -[#0000ff]do-> Proxy
[Gui] -do-> Proxy
[Gui] -[#0000ff]right-> [JWKS-URL]
[Secret Server] -[hidden]right-> RRS
[Secret Server] -[#0000ff]do-> DFS2
[Secret Server] -up-> [JWKS-URL] : Secret server\n verifies authentication of\n signed token\n with public key of IDP\n (Auth0)
Frontend -[hidden]left-> IDP
DA1 -[hidden]-> DA2
User -> [Gui]
[Token Server] --> [Gui]
[Backend Server] --> [Datasafe]
Proxy -[#0000ff]do-> [Backend Server]
Proxy -do-> [Key Management] : (1)
[Backend Server] --> [Secret Server]
[Secret Server] --> [Key Management]
[Secret Server] -[#0000ff]-> [Backend Server]
[Datasafe] -[#0000ff]-> DFS1
RRS -[hidden]left-> [Secret Server]
note bottom of DA1
Datacenter 1 keeps the
encrypted data of the user.
Key of encryption kept in
Datacenter 2.
end note
note bottom of DA2
Datacenter 2 keeps the users
secret needed to open keystore
of user in datacenter 1
end note
note bottom of DFS1
S3 compliant DFS
end note
@enduml
| false | true | false | false | usecase |
008a78d3a8004c74238c8092f66f94b7ea3bb307 | 85223a0947313518366b6a1d862e420c1f657503 | /app/src/androidTest/java/com/shneddy/dietdiary/dietdiary.plantuml | 4fe411a3803616aa53c690fea6b079f2bf637e17 | [] | no_license | SR88/DietDiary | 11a7346a37f0401ad4e1a75e6585147d557781d5 | d8771e1688f864c9a53c80dfef929d0e31145d8d | refs/heads/master | 2020-04-24T17:28:35.443241 | 2019-03-22T05:24:32 | 2019-03-22T05:24:32 | 172,148,663 | 0 | 0 | null | 2019-03-05T14:09:34 | 2019-02-22T23:33:37 | Java | UTF-8 | PlantUML | false | false | 1,535 | plantuml | @startuml
title __DIETDIARY's Class Diagram__\n
package com.shneddy.dietdiary {
class DiaryEntryDAOTest {
+ rule : MockitoRule
+ mInstantTaskExecutorRule : InstantTaskExecutorRule
+ setUp()
+ insert()
+ update()
+ delete()
+ tearDown()
}
}
package com.shneddy.dietdiary {
class FoodDAOTest {
+ rule : MockitoRule
+ mInstantTaskExecutorRule : InstantTaskExecutorRule
+ setUp()
+ insertFood()
+ updateFood()
+ deleteFood()
+ tearDown()
}
}
package com.shneddy.dietdiary {
class FoodTypeDAOTest {
+ rule : MockitoRule
+ mInstantTaskExecutorRule : InstantTaskExecutorRule
- observer : Observer<List<FoodType>>
+ setUp()
+ insertFoodType()
+ updateFoodType()
+ deleteFoodType()
+ tearDown()
}
}
DiaryEntryDAOTest o-- FoodDiaryDatabase : database
DiaryEntryDAOTest o-- FoodDAO : foodDAO
DiaryEntryDAOTest o-- FoodTypeDAO : foodTypeDAO
DiaryEntryDAOTest o-- DiaryEntryDAO : entryDAO
FoodDAOTest o-- FoodDiaryDatabase : database
FoodDAOTest o-- FoodDAO : foodDAO
FoodDAOTest o-- FoodTypeDAO : foodTypeDAO
FoodTypeDAOTest o-- FoodDiaryDatabase : database
FoodTypeDAOTest o-- FoodTypeDAO : foodTypeDAO
right footer
PlantUML diagram generated by SketchIt! (https://bitbucket.org/pmesmeur/sketch.it)
For more information about this tool, please contact philippe.mesmeur@gmail.com
endfooter
@enduml
| false | true | false | false | class |
e2bb1e76d02d50b7f6898f72f0e92789d2813e4e | 8bb4da8dc4dd3ff3a82d0727dffa7daead9c19df | /docs/uml/diagrama-classe-banco-v1.puml | e6d3105aff971b5b86413a9801b67d20892d624c | [] | no_license | gugawag/banco | 7fd92382d2479c7acfb76d79c1f76c2f01e754ca | b5072d63d5f59dc92f6472107a52eaf124d50635 | refs/heads/master | 2020-03-15T05:56:08.003828 | 2018-07-15T03:12:45 | 2018-07-15T03:12:45 | 131,996,094 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 601 | puml | 'Versao com saldo da conta publico para ver a importancia de metodos para acesso
@startuml
Banco -- Conta
Cliente -- Conta
class Banco{
String nome;
List<Conta> contas;
List<Cliente> clientes;
cadastrarCliente();
cadastrarConta();
List<Conta> getContas();
List<Cliente> getClientes();
}
class Conta{
private String numero;
private String agencia;
private Cliente cliente;
public Double saldo;
transferir(Conta origem, Conta destino, Double valor);
}
class ContaBonificada extends Conta{
private Double porcentagemBonificacao;
bonificar();
}
class Cliente{
String nome;
String cpf;
}
@enduml | false | true | false | false | class |
5586e0f89286ee52068f05ba93746251e1b52784 | 50fbe5d43a08c8b5505cc24c04e2bd670a44b365 | /architecture.puml | aac1ee64488f4a0f9ca056f98fbb60285f42c352 | [] | no_license | mathif92/subscription-service | f4b1e0e3cdb202037001acc448bd45c21e46aa8e | bdc18bff944403ff75126cbc50bee20e17d1a865 | refs/heads/master | 2020-04-18T00:46:52.085060 | 2019-01-26T22:02:16 | 2019-01-26T22:02:16 | 167,091,107 | 1 | 2 | null | null | null | null | UTF-8 | PlantUML | false | false | 497 | puml | @startuml
node "Subscription Service" {
component "subscription-service" <<Spring Boot 2.1.2>> as subscriptionService #Yellow
database "Subscriptions DB" <<MySQL>> as database #Yellow
}
node "Events Service" {
component "events-service" <<Any>> as eventsService #Yellow
}
node "Email Service" {
component "email-service" <<Any>> as emailService #Yellow
}
subscriptionService --> database
subscriptionService -up-> eventsService
subscriptionService -up-> emailService
@enduml
| false | true | false | false | sequence |
9256fe719ffed980f68d604289bb742350e241bb | 0823b999b6c9168dd6f9139af4b4d24e90043021 | /UMl/Sintomas.puml | 40f1cec81153ca5d1d93760ecdc535bbbf160077 | [] | no_license | mpata2000/Algo3-TP1-Algovid | f1ee58b088c459cfc956e014da5ecc61cc1cfe79 | ca03f8860131ba69ac3a88f0ceac398e0eddb19e | refs/heads/master | 2023-06-01T19:45:48.306965 | 2021-06-17T17:02:03 | 2021-06-17T17:02:03 | 377,239,752 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,282 | puml | @startuml Sintomas
abstract class Sintomas{
-tiposSintomas: List
-diagnostico: DiagnosticoCovid
+agregarSintoma(unSintoma: String): Sintomas
+agregarSintomaHabitual(unSintoma: String): Sintomas
+agregarSintomaNoHabitual(unSintoma: String): Sintomas
+conSintomas(listaSintomas : List)
+contactoEstrechoNoPuedeCircular(): Boolean
+diagnostico(): String
+pincharBurbuja(unaBurbuja: Burbja)
+puedeCircular(): Boolean
}
Sintomas <|-- SinSintomas
Sintomas <|--- UnSintomaHabitual
Sintomas <|--- UnSintomaNoHabitual
Sintomas <|---- DosSintomasConHabituales
Sintomas <|---- DosSintomasSinHabituales
Sintomas <|----- TresSintomasConHabituales
Sintomas <|----- TresSintomasSinHabituales
Sintomas <|----- CuatroSintomasOMas
SinSintomas ..> UnSintomaHabitual
SinSintomas ..> UnSintomaNoHabitual
UnSintomaHabitual ..> DosSintomasConHabituales
UnSintomaNoHabitual ..> DosSintomasSinHabituales
UnSintomaNoHabitual ..> DosSintomasConHabituales
DosSintomasSinHabituales ..> TresSintomasConHabituales
DosSintomasSinHabituales ..> TresSintomasSinHabituales
DosSintomasConHabituales ..> TresSintomasConHabituales
TresSintomasSinHabituales ..> CuatroSintomasOMas
TresSintomasConHabituales ..> CuatroSintomasOMas
@enduml
| false | true | false | false | class |
848927d65f6deb2351052f1483f9200a288e3f23 | d2bd504225b3226408cd6d694463026901351beb | /LigneUml.plantuml | 5f91887d3848c1cbd8db8df0fd2de6ce64292430 | [
"MIT"
] | permissive | IUT-Blagnac/bcoo-Wassim746531 | f1837cb1da547d080a1dff80777a7ee8e74eb0aa | d02f3aa2ace6fbce82314511afaa3fa6cdf3239a | refs/heads/main | 2023-04-05T23:39:11.614138 | 2021-04-27T12:50:28 | 2021-04-27T12:50:28 | 335,635,831 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 108 | plantuml | @startuml
class Ligne {
Point a
Point b
}
class Ligne {
float x
float y
}
Ligne - Point
@enduml
| false | true | false | false | class |
232cfb48992af89580c5e94e156e6c523d484dad | 2747d367c7d35d4ed5f456c7c378cdc3b4b38b46 | /diagrams/kitchmng.puml | 8d88830359e74b38a377dc9e4df4b902277a26b3 | [] | no_license | silviurdr/kitchen-management | 06e70ffa4e16aa6f78caa33fe8ac042d77615ff7 | 6babb377ff69dde8cd5943e8c16de6819a9769e0 | refs/heads/master | 2022-11-14T03:29:53.098281 | 2020-07-11T12:28:00 | 2020-07-11T12:28:00 | 276,058,601 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,205 | puml | @startuml
title Kitchen Management Diagram
package "parent" {
together {
class Cooking {
}
abstract class Employee {
- name: String
- birthDate: String
- salary: Double
+ Employee(): Employee
+ getName(): String
+ getSalary(): Double
+ setSalary(): void
+ createTaxReport(): void
+ getTaxReport(): Double
}
interface KnifeAvailability {
+ isWithKnife():
}
}
together {
class Chef {
- ingredients: ArrayList<String>
- hasKnife: boolean
+ askForIngredient(String): String
}
class Cook {
- hasKnife: boolean
+ cook(): void
}
class KitchenHelper {
- id: int
- ingredients: hashMap
+ getId(): int
+ setId(): void
+ getIngredients(): hashMap
+ hasIngredient(String): boolean
}
}
class Chef extends Employee
class Chef implements KnifeAvailability
class Cook extends Employee
class Cook implements KnifeAvailability
class KitchenHelper extends Employee
}
@enduml | false | true | false | false | class |
7e6ad1313d36be2dc5f668a3621a2259a2a6333c | 3b7c68df3858801924f2afa641f067987959ef77 | /doc/tp_exceptions.iuml | 0d64a08d9c4f70a6d033aeb0622f9d7f1946c8a3 | [] | no_license | jponcy/java_eni_example | 058cd2df75b7252a7cf990371368da424d4fa7d6 | 91443656d5e6b5a8113fb7a6837fac9d8747332a | refs/heads/master | 2023-03-12T13:12:01.747764 | 2021-02-26T13:58:48 | 2021-02-26T13:58:48 | 341,159,118 | 0 | 2 | null | null | null | null | UTF-8 | PlantUML | false | false | 830 | iuml | @startuml TP_exception
package Java {
class Exception
}
class DepassementCapaciteException extends Exception
class Operation {
{static}+ajouter(a: int, b: int): int
{static}+soustraire(a: int, b: int): int
{static}+multiplier(a: int, b: int): int
}
class Calculatrice {
{static}+main(argv: String[*]): void
}
Operation ..> DepassementCapaciteException: throw >
Calculatrice .> Operation
@enduml
' return a + b;
' int => 32 bits => 2^32
' long => 64 bits => 2^64
int ajouter(int a, int b) {
long aLong = (long) a;
long bLong = (long) b;
int retour = a + b;
if (-294 967 296 != 4 000 000 00) {
throw ...
}
if (20 != 20) {
}
if (retour != aLong + bLong) {
throw new DepassementCapaciteException();
}
return a + b;
}
4 => 0100
4 => 0000 0100
| false | true | true | false | activity |
bd93af42a3ee1b54c514e0522aa2421d72a878b3 | d97b774fd95a8e98e37c46ee1771f6e6e407a148 | /uml/api/OrderSetLineItemCustomFieldAction.puml | b4d8ad7fa9129568305cbda5f14b538562c1c323 | [] | no_license | commercetools/commercetools-api-reference | f7c6694dbfc8ed52e0cb8d3707e65bac6fb80f96 | 2db4f78dd409c09b16c130e2cfd583a7bca4c7db | refs/heads/main | 2023-09-01T05:22:42.100097 | 2023-08-31T11:33:37 | 2023-08-31T11:33:37 | 36,055,991 | 52 | 30 | null | 2023-08-22T11:28:40 | 2015-05-22T06:27:19 | RAML | UTF-8 | PlantUML | false | false | 532 | puml | @startuml
hide empty fields
hide empty methods
legend
|= |= line |
|<back:black> </back>| inheritance |
|<back:green> </back>| property reference |
|<back:blue> </back>| discriminated class |
endlegend
interface OrderSetLineItemCustomFieldAction [[OrderSetLineItemCustomFieldAction.svg]] extends OrderUpdateAction {
action: String
lineItemId: String
lineItemKey: String
name: String
value: [[Object.svg Object]]
}
interface OrderUpdateAction [[OrderUpdateAction.svg]] {
action: String
}
@enduml
| false | true | false | false | class |
937782feb6ba1f801c0b341de392d9b740f91242 | cd143798e4614621a3d5f7defdc6c8d1a4870e8f | /uml/Application.puml | 204e2d3bb358650562915a77fd2681000f769149 | [] | no_license | lacostamejia/AcostaMejia-cop3330-assignment4part2 | 7d8ff22ecb6b6f65936271782e7ea20dbce21f9c | caa219bad916c1f569d75234d5fab58988a9302d | refs/heads/main | 2023-06-22T22:43:23.537857 | 2021-07-12T20:45:05 | 2021-07-12T20:45:05 | 383,924,696 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,020 | puml | @startuml
'https://plantuml.com/sequence-diagram
class Todolist{
+main()
+start()
}
class TodoListController{
model: TDList
'GUI functions'
}
class TDList{
List_Name: String
ListItems: ArrayList
+SaveList()
+Save_All_Lists()
+Load_Multiple_Lists()
+Load_List()
+Delete_Item()
+Search()
}
class ListItems{
Name: String
Due_Date: String
Description_Item: String
+Delete_Item()
+getname()
+setname(String name)
+getDue_date()
+setDue_date(String due_date)
+getDescription_item()
+setDescription_item()
+modify_Description_Item()
}
class ModifyItemListController{
}
class NewTodoListController{
}
class NewTodoListItemController{
}
org.javafx.Application <|-- Todolist
Todolist -- TodoListController
TodoListController *-- TDList
ModifyItemListController *-- TDList
NewTodoListController *-- TDList
NewTodoListItemController *-- TDList
TDList *-- ListItems
TodoListController --ModifyItemListController
TodoListController -- NewTodoListItemController
TodoListController -- NewTodoListController
@enduml | false | true | false | false | class |
f3dda23f9b59c2ee7710d19b3c71e0b634ba692d | c72d1b50d499a5dfc83611cba34da91b1be678db | /uml/MAT-169_measure_cql_workspace_codes.puml | 5b96658a66a763ed3459d8404050dcbefeec347b | [
"CC0-1.0"
] | permissive | MeasureAuthoringTool/MeasureAuthoringTool | ea392f61b85b0a6c455c9c91849b728a38e8c0f0 | 68e8d703bc649090b5c0fc2fc6b2e28234ab2253 | refs/heads/develop | 2023-08-30T21:41:28.515221 | 2023-07-11T17:54:31 | 2023-07-11T17:54:31 | 209,829,177 | 10 | 7 | CC0-1.0 | 2023-09-09T02:43:19 | 2019-09-20T15:57:26 | JavaScript | UTF-8 | PlantUML | false | false | 7,038 | puml | @startuml
header as-is current state
actor User order 10
participant "MAT GWT" as gwt order 20
participant "MAT Server" as srv order 30
title CQL Workspace - Codes - Add New Codes
User -> gwt: adds a new code
gwt -> gwt: build a transfer object MatCodeTransferObject
gwt -> srv: MeasureService::saveCQLCodestoMeasure (transfer object)
srv -> srv: MeasureLibraryService::saveCQLCodestoMeasure (transfer object)
note over gwt,srv
Server side logic is exactly the same for the modify logic.
end note
alt measure is not editable
srv --> gwt: result = SaveUpdateCQLResult(success = false)
else measure is editable
srv -> srv: load measure xml by measureId from the DB
srv -> srv: result = CqlService::saveCQLCodes (xml, codes transfer object)
note over srv
CqlService::saveCQLCodes does xml processing,
# parses CQLModel from xml
# updates code lists
# if there is a duplicated name then <b><color #RED> return success false
end note
srv -> srv: update xml value with cqlResult xml returned from CqlService
srv -> srv: CqlService::saveCQLCodeSystem
note over srv
# parses CQLModel from xml
# updates code systems
# if code systems has multiple entries with same code system name
and code system version then <b><color #RED> return success false
end note
srv -> srv: update xml value with cqlResult xml returned from CqlService
srv -> srv: store xml to the DB
srv -> srv: re-load xml and parse codes from xml into the result object
srv --> gwt: result
end
alt result is success
gwt -> gwt: update the view with cql codes from result::getCqlCodeList
gwt --> User: show success message
else result is not success
gwt --[#red]> User: show failure reason: Duplicate \nor Birthdate or Date error
else error
gwt --[#red]> User: Window.alert( error message )
end
'------------------------------------------------------
newpage CQL Workspace - Codes - Paste Codes
User -> gwt: codes are pasted
opt clipboard doesn't contain codes
gwt --[#red]> User: show error <color #RED>CLIPBOARD DOES NOT CONTAIN CODES
destroy gwt
end
gwt -> gwt: prepare a list of cqlcodes to paste
gwt -> srv: MeasureService::saveCQLCodeListToMeasure(list of cqlcodes to paste, measureId)
srv -> srv: MeasureLibraryService::saveCQLCodestoMeasure (transfer object)
alt measure is not editable
srv --> gwt: result = SaveUpdateCQLResult(success = false)
else measure is editable
srv -> srv: load measure xml by measureId from the DB
loop over cql codes to pate
srv -> srv: prepare transfer object from the current code
srv -> srv: CqlService::saveCQLCodes (xml, code)
srv -> srv: update xml with cqlLookUp
srv -> srv: create a code system object from the code
srv -> srv: CqlService::saveCQLCodeSystem (xml, code system)
srv -> srv: update xml with cqlLookUp
note over srv
This logic is quite similar to modify logic,
it's just running in a cycle over the list of the codes.
end note
end
srv -> srv: persist measure xml in the DB
srv -> srv: update result with CQLModel and CQL code list
srv --> gwt: result
end
alt result is success or not success
gwt -> gwt: update the view with cql codes from result::getCqlCodeList
gwt --> User: show message: SUCCESSFULLY PASTED CODES IN MEASURE
else error
gwt --[#red]> User: Window.alert( error message )
destroy gwt
end
'------------------------------------------------------
newpage CQL Workspace - Codes - Modify Codes
User -> gwt: modifies a code
gwt -> gwt: build a transfer object MatCodeTransferObject(object with id, cqlCode, codeList)
gwt -> gwt: remove from the list of applied codes by id
opt applied codes contain a code with same display name
gwt --[#red]> User: show error 'Duplicate - already exists. Please add a unique suffix'
destroy gwt
end
gwt -> srv: MeasureService::saveCQLCodestoMeasure (transfer object)
srv -> srv: MeasureLibraryService::saveCQLCodestoMeasure (transfer object)
alt measure is not editable
srv --> gwt: result = SaveUpdateCQLResult(success = false)
else measure is editable
srv -> srv: load measure xml by measureId from the DB
srv -> srv: result = CqlService::saveCQLCodes (xml, codes transfer object)
note over srv
CqlService::saveCQLCodes does xml processing,
# parses CQLModel from xml
# updates code lists
# if there is a duplicated name then <b><color #RED> return success false
end note
srv -> srv: update xml value with cqlResult xml returned from CqlService
srv -> srv: CqlService::saveCQLCodeSystem
note over srv
# parses CQLModel from xml
# updates code systems
# if code systems has multiple entries with same code system name
and code system version then <b><color #RED> return success false
end note
srv -> srv: update xml value with cqlResult xml returned from CqlService
srv -> srv: store xml to the DB
srv -> srv: re-load xml and parse codes from xml into the result object
srv --> gwt: result
end
alt result is success
gwt -> gwt: update the view with cql codes from result::getCqlCodeList
gwt --> User: show success message
else error
gwt --[#red]> User: Window.alert( error message )
end
'------------------------------------------------------
newpage CQL Workspace - Codes - Delete Codes
User -> gwt: delete code / confirmed
gwt -> srv: MeasureService::deleteCode (\n\tcurrent selected codes id, \n\tmeasureId)
srv -> srv: MeasureLibraryService::deleteCode (\n\tcodeId, \n\tmeasureId)
alt measure is not editable
srv --> gwt: result = SaveUpdateCQLResult(success = false)
else measure is editable
srv -> srv: load measure xml by measureId from the DB
srv -> srv: result = CqlService :: deleteCode (xml, codeId)
note over srv
CqlService :: deleteCode does xml processing,
# looks for a xml node which corresponds to the codeId with /cqlLookUp//code[@id=codeId xpath
# the xml node is parsed into codeOID, codeName, codeSysteOID, codeSystemVersion
# if code system is not used by another codes it's removed
# the xml node is removed
# <b>cql code, xml doc and code lists</b> are updated and stored in the <b>result
end note
srv -> srv: update xml value with cqlResult xml returned from CqlService
srv -> srv: store xml to the DB
srv -> srv: re-load xml and parse codes from xml into the result object
srv --> gwt: result
note over srv #FFAAAA
<b>Remark!</b> why do we need to re-load xml from the DB and re-load codes?
end note
end
alt result is success
gwt -> gwt: update the view with cql codes from result::getCqlCodeList
gwt --> User: show success message
else result is not success
gwt --[#red]> User: show error "Unable to delete."
else error
gwt --[#red]> User: Window.alert( error message )
end
footer actual on 01/27/2020
@enduml | false | true | false | false | usecase |
b9f2842cbed24ef04c0a502bb98ce466bdbd471a | ecc219554fe9c14d408eb3e300c88087ddd7879d | /src/main/resources/mail.puml | fc8075d30b1c6d81bda5e9fb2975b21a2651e957 | [] | no_license | Evilock/bfsu-cs-mir | 219a6c6a068b03e561c8aad68eb5459f7de1c840 | 8f5ad31aecc37215c808a0890ba19643308f7642 | refs/heads/master | 2023-03-19T08:11:10.921532 | 2021-03-18T06:56:39 | 2021-03-18T06:56:39 | 298,587,872 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 379 | puml | @startuml
participant Actor
Actor -> RegisterServiceImpl : sendVerifyMail
activate RegisterServiceImpl
RegisterServiceImpl -> MailService : sendHtmlEmail
activate MailService
MailService -> MailServiceImpl : sendHtmlEmail
activate MailServiceImpl
MailServiceImpl --> MailService
deactivate MailServiceImpl
MailService --> RegisterServiceImpl
deactivate MailService
return
@enduml | false | true | false | false | sequence |
bfcb21495d722fad2779c764e0be4687f2e94e31 | 28f125ec4908b16cdfe21d9e5ff40c3a1e04dc8b | /src/main/resources/ex41/App.puml | 5b0790d90119550842b58abdddd31a158b5bce24 | [] | no_license | ZhengWilliamUCF/Zheng-cop3330-assignment3 | d859fbffdf55fcf75f657a52b72e80b6f7d8984c | 46b6a26e1754ecb0d6961f857548d2646a7c66f1 | refs/heads/master | 2023-06-08T11:39:14.736136 | 2021-06-20T21:44:26 | 2021-06-20T21:44:26 | 378,745,289 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 454 | puml | @startuml
'https://plantuml.com/sequence-diagram
class App {
- imported File
- output File
+ importFile (imported)
+ scanFile (imported)
+ printFile (output)
}
class Names {
- name String
- nameList List<String>
- convertedList String[]
+ createArrayList (names)
+ addNames (String)
+ createArrayOfStrings (nameList)
+ convertArrayList (nameList)
+ sortArray (convertedList)
}
App o--> Names
@enduml | false | true | false | false | class |
4768d6f85028a2c9f06f6aa0b92c2b02be939492 | 02a364d6cc772a9bf2e72d02dbecca74ac14d335 | /eCommerce-Core-2/DPLRef.eCommerce/plantuml/DPLRef.eCommerce.Contracts.Admin/Fulfillment/IAdminFulfillmentManager.puml | 765f4a1ecf5b155dd8d1743e470d1da6eb21770b | [
"BSD-3-Clause"
] | permissive | noelmartens/TransitionAcademy | 4e02379d234aa4859a497ee2846420f4c55b9e12 | 3b95a5c737ab7b1497b77d455cf64caa73f69e1f | refs/heads/master | 2023-06-14T05:25:35.514249 | 2021-07-02T19:40:29 | 2021-07-02T19:40:29 | 362,512,351 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 216 | puml | @startuml
interface IAdminFulfillmentManager {
GetOrdersToFulfill() : AdminOpenOrdersResponse
FulfillOrder(orderId:int) : AdminFulfillmentResponse
}
IServiceContractBase <|-- IAdminFulfillmentManager
@enduml
| false | true | false | false | class |
2a3b9947cd162b483eec7d98ae70d2931299afe1 | 5311c3ad523918b01c52d8f00a9b96e38b24db9e | /bot/src/main/java/Main/uml/Main.plantuml | bfcdfff036a4e7ba2adfcbb90d809d5ae4c233ef | [] | no_license | twgust/DiscordBot | 08bfa99b0e9c3a1baf15b3a04782e518a41f5da9 | 895f8b56dfb7b2c6776c86a88d401cecc2af1d8a | refs/heads/master | 2022-06-04T22:32:34.518640 | 2020-12-20T19:49:56 | 2020-12-20T19:49:56 | 246,451,508 | 1 | 0 | null | 2022-05-20T21:32:36 | 2020-03-11T02:02:05 | Java | UTF-8 | PlantUML | false | false | 1,503 | plantuml | @startuml
title __MAIN's Class Diagram__\n
namespace Main {
class Main.Bot {
{static} + main()
}
}
namespace Main {
class Main.Controller {
- waiter : EventWaiter
+ Controller()
+ getCmdMap()
+ processMessage()
- addCommands()
}
}
namespace Main {
class Main.EventListener {
{static} + prefix : char
+ EventListener()
+ getPrefix()
+ onGuildBan()
+ onGuildJoin()
+ onGuildMessageReceived()
+ onRoleCreate()
{static} + setPrefix()
}
}
namespace Main {
class Main.Token {
- token : String
+ Token()
+ getToken()
}
}
Main.Controller o-- Commands.CommandMap : cmdMap
Main.Controller o-- EconomyModule.EconomyController : economyController
Main.Controller o-- Commands.ErrorCommand : error
Main.Controller o-- ModerationModule.ModerationController : modCtrl
Main.Controller o-- MusicModule.MusicController : musicController
Main.Controller o-- QuizModule.QuizCommand : quizCommand
Main.Controller o-- Main.Token : token
Main.EventListener -up-|> net.dv8tion.jda.api.hooks.ListenerAdapter
Main.EventListener o-- Main.Controller : ctrl
Main.EventListener o-- Commands.ErrorCommand : error
right footer
PlantUML diagram generated by SketchIt! (https://bitbucket.org/pmesmeur/sketch.it)
For more information about this tool, please contact philippe.mesmeur@gmail.com
endfooter
@enduml
| false | true | false | false | class |
c80bfa0ed9c81d9669a9f4cbbf05b37a1405e01d | 81c4a57b630f9ccae2792581f9b18824e2600005 | /ClassDiagram.puml | 044849c068fb1b07d0cc218f585d079eb2ed375f | [] | no_license | houst/CreditTerms | fce01c2c5f73d941cbca223535080d5d9507f41f | 982f58722662fffde29e3dd578349696176c3e06 | refs/heads/master | 2021-07-07T14:46:03.669363 | 2019-07-31T10:30:22 | 2019-07-31T10:30:22 | 199,444,505 | 0 | 1 | null | 2020-10-13T14:57:10 | 2019-07-29T12:01:04 | Java | UTF-8 | PlantUML | false | false | 264 | puml | @startuml
skinparam classAttributeIconSize 0
enum CreditTarget {
MORTGAGE
LEASE
CONSUMER
BUSINESS
}
class Credit {
-bankName : String
-target : CreditTarget
-rate : BigDecimal
-termInMonths : int
-maxSum : BigDecimal
-isEarlyRepayment : boolean
}
@enduml | false | true | false | false | class |
3c46be4d15c19117ab65947b83e985c2ad5edd2a | 084fcc4a31b60fe11f3f647f7d49a3c1c6621b44 | /kapitler/media/uml-codelist-arkivdelstatus.puml | 094c0e925ca12eaca652530579148991b5c6b418 | [] | no_license | arkivverket/noark5-tjenestegrensesnitt-standard | 299f371a341e59402d49bfc11ee9e2672dad657e | 03025f8b9f1496f4a2f5b155e212a44768390274 | refs/heads/master | 2023-06-10T02:19:28.432679 | 2023-06-09T08:40:40 | 2023-06-09T08:40:40 | 136,293,843 | 7 | 11 | null | 2023-08-22T10:40:36 | 2018-06-06T07:58:53 | Python | UTF-8 | PlantUML | false | false | 198 | puml | @startuml
skinparam nodesep 100
hide circle
class Kodelister.Arkivdelstatus <<codelist>> {
+Aktiv periode = A
+Overlappingsperiode = O
+Avsluttet periode = P
+Uaktuelle mapper = U
}
@enduml
| false | true | false | false | class |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.