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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a04361062233775608d43cd6f6b51da927da164c | c0b45d4080a27844edbb5702f1af0e2a07347160 | /src/com/controller/controller.plantuml | 45adc77155badac443dc04b9cab460ba1a02583e | [] | no_license | lanaflonPerso/ReservationDeSalles | 678eaac98d79782a6552e74abc49c4b95bea1830 | 14e745a7a77efce5fa3d06bc2048b587591362a9 | refs/heads/master | 2020-09-30T20:37:29.307189 | 2019-11-28T18:19:59 | 2019-11-28T18:19:59 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 944 | plantuml | @startuml
title __CONTROLLER's Class Diagram__\n
namespace com.controller {
class com.controller.Controller {
+ Controller()
- actionForgot()
- actionSignUp()
- addReservation()
- changeHours()
- connexion()
- deleteReservation()
- init()
- initBoxReservations()
- initBoxSalles()
- initDaysHours()
- initListReservations()
- initListSalles()
- logIn()
- opening()
- register()
- sendPassword()
}
}
com.controller.Controller o-- com.view.Connexion : connexion
com.controller.Controller o-- com.view.MainView : mainView
com.controller.Controller o-- com.model.Utilisateur : utilisateur
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 |
1eb5fc39729fd472f52a1888e3b59cad073fb061 | 07cf8bfec3bd4be950ac918035230447c9f99d66 | /doc/msg_handler_sequence.puml | 7de84c385d5ac14759e1e9df6a8e8f816189d011 | [] | no_license | hiboma/sqsd | b3e07f0f995f4220cf1c2f9e82b5d932b455cfe3 | 001dbc83500bd97ec9d4b5e4abae87be7941ba90 | refs/heads/master | 2021-05-06T19:35:55.756873 | 2017-10-21T10:38:46 | 2017-10-21T10:47:44 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,298 | puml | @startuml
title "sequence about sqsd handler"
hide footbox
participant MessageHandler
participant SQS
participant GoRoutine
participant JobTracker
participant Worker
MessageHandler -> MessageHandler : Run()
activate MessageHandler
MessageHandler -> JobTracker : IsWorking()
activate JobTracker
MessageHandler <-- JobTracker : bool
deactivate JobTracker
MessageHandler -> SQS : GetMessages()
activate SQS
MessageHandler <-- SQS : []*sqs.Message
deactivate SQS
loop HandleMessage([]*sqs.Message)
MessageHandler -> MessageHandler : Newjob(*sqs.Message) *Job
MessageHandler -> JobTracker : AddJob(*job)
activate JobTracker
JobTracker -> JobTracker : CurrentWorkings[job.ID()] = job
MessageHandler <-- JobTracker : bool
deactivate JobTracker
MessageHandler ->> GoRoutine : go HandleMessage(*Job)
activate GoRoutine
deactivate MessageHandler
end
GoRoutine -> Worker : <POST Request>
activate Worker
Worker -> Worker : <work hard!>
GoRoutine <-- Worker : <HTTP response>
deactivate Worker
GoRoutine -> SQS : DeleteMessage(*sqs.Message)
activate SQS
GoRoutine <-- SQS
deactivate SQS
GoRoutine -> JobTracker : Delete(*Job)
activate JobTracker
JobTracker -> JobTracker : delete(CurrentWorkings, job.ID())
GoRoutine <-- JobTracker
deactivate JobTracker
deactivate GoRoutine
@enduml | false | true | false | false | sequence |
09eef7c770ac6a7bafa716fe398e8d2f37ad2cca | b7bb3f20096cbbfaa123ae7b7b786d936496fb67 | /templates/new-template_all.puml | 790a2f0a76bf7660f1826f633e5acdd4676e7d4d | [] | no_license | madhub/plantuml-designs | c82c3a9667b99588ffb8b6fa5a358b49e658150a | c97bc28faae3f489189b5148c1ac7a1e11107ec7 | refs/heads/master | 2023-04-16T12:09:51.925070 | 2021-05-02T11:52:59 | 2021-05-02T11:52:59 | 295,026,632 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 4,585 | puml | @startuml
note as a1c #white
{{
cloud "External Systems" as es{
component "External Systems" as esc#LightYellow{
}
}
node "Business Logic Server" as bls{
frame "Windows Service Host" as wsh{
package "Ext Service" as es1{
component "Ext service" as es1comp#LightYellow{
}
}
package "GUI Service" as gui{
component "GUI service" as guic#LightYellow{
}
}
}
}
node "Client Computer" as cc{
package "Local Storage" as LocalStorage {
component "System Client" as scc#LightYellow{
}
}
}
node "Database Server" as dbs{
database "DB" as db#LightYellow{
}
}
node "Update Server" as us{
package "Remote Storage" as rs{
component "System Storage" as ss#LightYellow{
}
}
}
esc -down->es1comp : WCF HTTP
es1comp -down->guic : inproc
scc -down->guic : WCF HTTP/TCP
guic -down->db : SQL Access
guic -down->ss : SMB
}}
end note
note as ab1c #white
{{
title
abc
xyx
end title
skinparam note {
BackgroundColor<<st1>> #white
BorderColor<<st1>> #green
FontColor<<st1>> #red
shadowing false
shadowing<<with>> true
shadowing<<without>> false
BackgroundColor<<st2>> #red
}
A -> B : msg
note<<st1>> over A : text 1
note over B #line:green;back:lightblue;shadowing:false : text 2
note<<with>> over A : text 3
note<<without>> over A : text 4
}}
end note
note as abc #white
{{
rectangle <size:120><&monitor></size> as p1#Orange{
}
rectangle <size:120><&person></size> as p2#Orange{
}
rectangle <size:120><&hard-drive></size> as p3#Orange{
}
rectangle <size:120><&globe></size> as p4#Orange{
}
card <size:120><&cloud></size> as p5#Orange{
}
card <size:120><&cloud-upload></size> as p6#Orange{
}
card <size:120><&cloud-download></size> as p7#Orange{
}
card <size:120><&browser></size> as p8#Orange{
}
card <size:120><&arrow-left></size> as p9#Orange{
}
card <size:120><&arrow-thick-left></size> as p10#Orange{
}
card <size:120><&document></size> as p11#Orange{
}
card <size:120><&people></size> as p12#Orange{
}
card <size:120><&arrow-circle-left></size> as p13#Orange{
}
card <size:120><&circle-check></size> as p14#Orange{
}
}}
end note
@enduml
@startuml
note as abcd #white
{{
left to right direction
title With "-" diagram grows horizonzally. With "--" vertically. It is general in PlantUML.
class A
Class B
Class C
Class D
A <|- B
B <|-- C
C<|-- D
note as one
' table
|= ColorName|= ColorName|
|<#AliceBlue> AliceBlue |<#Beige> Beige |
|<#AntiqueWhite> AntiqueWhite |<#Bisque> Bisque |
end note
}}
end note
skinparam defaultFontName Segoe UI
skinparam ArrowThickness 2.2
skinparam ArrowColor #gray
skinparam ArrowFontColor #blue
skinparam roundcorner 5
skinparam RectangleStereotypeFontColor #blue
skinparam RoundCorner 10
skinparam InterfaceFontColor red
'skinparam linetype ortho
' hide foot box
actor actor
agent agent
artifact artifact
boundary boundary
card card
cloud cloud
component component
control control
database database
entity entity
file file
folder folder
frame frame
interface interface
node node
package package
queue queue
stack stack
rectangle rectangle
storage storage
usecase usecase
together {
component demo1{
}
component demo2{
}
}
interface HTTP
demo1 .up. HTTP
demo1.[#blue,dashed,thickness=2].>demo2: change color & line thinkness
@enduml
@startuml
skinparam sequenceArrowThickness 2
skinparam roundcorner 20
skinparam maxmessagesize 60
skinparam sequenceParticipant underline
hide footbox
box "Internal Service" #LightBlue
caller -> server : conReq
hnote over caller : idle
caller <- server : conConf
rnote over server
"r" as rectangle
"h" as hexagon
endrnote
end box
@enduml
@startuml
artifact artifact1
artifact artifact2
artifact artifact3
artifact artifact4
artifact artifact5
artifact artifact6
artifact artifact7
artifact artifact8
artifact artifact9
artifact artifact10
artifact1 --> artifact2
artifact1 --* artifact3
artifact1 --o artifact4
artifact1 --+ artifact5
artifact1 --# artifact6
artifact1 -->> artifact7
artifact1 --0 artifact8
artifact1 --^ artifact9
artifact1 --(0 artifact10
@enduml
| false | true | false | false | usecase |
f5f4c8ffb2745fa1fc7bae456aa97c2c7647bbbf | 8eabea6d7b12b141ed8a69c90858dbd35a2af030 | /src/main/java/ex45/WordFinder.puml | 3826f1a2c8a8a4227ac51e1d70161b6ab7cf3a8a | [] | no_license | nick-vigg/Viggiani-cop3330-assignment3 | aa25109fe489d855f39b809cea590ab01fea70e8 | f2ea210afde2d5cf7202a8c1f3531cb57134628f | refs/heads/master | 2023-05-24T09:59:18.207445 | 2021-06-20T17:45:58 | 2021-06-20T17:45:58 | 378,286,766 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 232 | puml | @startuml
'https://plantuml.com/sequence-diagram
class Output {
main()
}
class WordFinder {
String fileName;
String fileDestination;
String target;
String replacement;
String replaceTextFile()
}
Output <--o WordFinder
@enduml | false | true | false | false | class |
a7dec7eec17e52023cd4a5e3b4ac1b2261681907 | a1eb6871a4ccbc6135b331ae824db91ec7b71e4e | /build/safte@0.3.0.puml | 2531db791d5a84efd71487f9a6a3434a4d5b2a25 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference",
"CC-BY-4.0"
] | permissive | accordproject/cicero-template-library | 737586850933daac2fbff2ff8b2d60dd50526b80 | 35e6c93ba9d9e78d9384c44a78d85ac216d9e9ea | refs/heads/main | 2023-04-27T01:07:05.932361 | 2022-08-26T13:02:59 | 2022-08-26T13:02:59 | 109,224,687 | 77 | 149 | Apache-2.0 | 2023-04-20T21:43:00 | 2017-11-02T06:11:37 | HTML | UTF-8 | PlantUML | false | false | 1,490 | puml | @startuml
class org.accordproject.safte.TokenSale << (T,yellow) >> {
+ Double tokenPrice
}
org.accordproject.safte.TokenSale --|> org.hyperledger.composer.system.Transaction
class org.accordproject.safte.TokenShare << (T,yellow) >> {
+ Double tokenAmount
}
org.accordproject.safte.TokenShare --|> org.hyperledger.composer.system.Transaction
class org.accordproject.safte.EquityFinancing << (T,yellow) >> {
+ Double sharePrice
}
org.accordproject.safte.EquityFinancing --|> org.hyperledger.composer.system.Transaction
class org.accordproject.safte.EquityShare << (T,yellow) >> {
+ Double equityAmount
}
org.accordproject.safte.EquityShare --|> org.hyperledger.composer.system.Transaction
class org.accordproject.safte.DissolutionEvent << (T,yellow) >> {
+ String cause
}
org.accordproject.safte.DissolutionEvent --|> org.hyperledger.composer.system.Transaction
class org.accordproject.safte.PayOut << (T,yellow) >> {
+ Double amount
}
org.accordproject.safte.PayOut --|> org.hyperledger.composer.system.Transaction
class org.accordproject.safte.SafteContract << (A,green) >> {
+ String companyName
+ Long companyRegistrationNumber
+ String purchaser
+ State jurisdiction
+ Double purchaseAmount
+ Double discount
+ String projectName
+ String projectDescription
+ Integer months
+ String monthsText
+ Double amount
+ String amountText
}
org.accordproject.safte.SafteContract --|> org.accordproject.cicero.contract.AccordContract
@enduml
| false | true | false | false | class |
ac9ff2d8785500dd6e249dced9d7e5e01715554e | 7cab75a68e30731aee292f8b6a2467454ffc4057 | /design/schema/nemo.puml | ce18014b48c939ad87bbf5e4b82e8abbe0d021e9 | [] | no_license | BICCN/BCDC-Metadata | 61a82970309278086b8a5486256fd58d71c24090 | 3f78b4dd82db5bf41fb66ff422d48490aa115792 | refs/heads/master | 2023-06-25T18:02:40.378118 | 2023-06-09T20:42:32 | 2023-06-09T20:42:32 | 220,517,655 | 6 | 6 | null | 2023-09-09T00:24:41 | 2019-11-08T17:36:38 | null | UTF-8 | PlantUML | false | false | 1,284 | puml | @startuml
hide empty members
class BDBag {
Provided by NeMO
--
NeMO Identifier: String
Source data URL: String
Version: Int
Release Date: Date
File count: Int
File size: Float
--
--
External identifier: String!
Data Set Title: String!
Organization: String!
Contact information: String!
Contact: String!
Grant support: String!
Data set description: String!
Protocol ID: String!
Keywords: String!
Consortium or Project: String!
Data repository RRID: String!
Data license: String!
Data access: String!
Community standards used: String!
--
Author(s): String
Author(s) ORCID: String
Data contributors + roles: String
Alternate ID: String
Full data set citation: String
Data publication (if any): String
Study publication (if any): String
Protocol type: String
Study organism: String
Condition studied: String
Number of subjects studied: String
Sex of subjects: String
Age of subjects categorical: String
Age of subjects numerical: String
Data set parts description: String
Data set parts ID's: String
Data set parts repositories: String
Consortium/Project RRID: String
FAIRsharing Standard ID: String
}
@enduml | false | true | false | false | class |
431eb11645e597e764a3d24a4f77c306962eb20c | f12cda9a8bd887e1ac151257ac672f6b26e2dfc6 | /src/com/jambit/onboarding2020/tbrpg/core/core.plantuml | dd91f8058311254fcdea90e4519b048531b73553 | [
"Apache-2.0"
] | permissive | jambit/onboardingphase2020_TextbasedRPG | 04f81709ae0b03cd39d0da8b17b578b1d5f9d0b0 | 116c8db39f34ea28b05fbddde8cd133d83928811 | refs/heads/Development | 2022-12-28T13:36:26.169235 | 2020-09-25T11:28:01 | 2020-09-25T11:28:01 | 294,055,805 | 2 | 0 | Apache-2.0 | 2020-09-25T11:29:12 | 2020-09-09T08:49:20 | Java | UTF-8 | PlantUML | false | false | 3,163 | plantuml | @startuml
title __CORE's Class Diagram__\n
namespace com.jambit.onboarding2020.tbrpg {
namespace core {
class com.jambit.onboarding2020.tbrpg.core.DungeonGenerator {
~ possibleRooms : ArrayList<AbstractRoom>
~ random : Random
~ roomCountPreset : int
+ DungeonGenerator()
+ generateRooms()
- getRandomCount()
}
}
}
namespace com.jambit.onboarding2020.tbrpg {
namespace core {
class com.jambit.onboarding2020.tbrpg.core.GameEngine {
+ input : Scanner
- in : BufferedReader
- rooms : ArrayList<AbstractRoom>
+ GameEngine()
+ getPlayerInput()
+ interactWithInventory()
+ run()
- rollCredits()
- startStory()
}
}
}
namespace com.jambit.onboarding2020.tbrpg {
namespace core {
class com.jambit.onboarding2020.tbrpg.core.GameInput {
- isGameRunning : boolean
+ GameInput()
{static} + clearScreen()
+ endGame()
+ inputInteger()
+ inputRoomdecision()
+ inputStringToUppercase()
+ isGameRunning()
{static} + waitTillEnter()
}
}
}
namespace com.jambit.onboarding2020.tbrpg {
namespace core {
class com.jambit.onboarding2020.tbrpg.core.GameState {
{static} + QuizMasterQuizzes : ArrayList<Quiz>
+ escapeRopeActive : boolean
{static} - gameStateInstance : GameState
{static} + getGameStateInstance()
- GameState()
}
}
}
namespace com.jambit.onboarding2020.tbrpg {
namespace core {
class com.jambit.onboarding2020.tbrpg.core.InvalidInputException {
+ InvalidInputException()
}
}
}
namespace com.jambit.onboarding2020.tbrpg {
namespace core {
class com.jambit.onboarding2020.tbrpg.core.ItemGenerator {
~ in : BufferedReader
~ junkLore : ArrayList<String>
~ junkNames : ArrayList<String>
~ random : Random
~ weaponLore : ArrayList<String>
~ weaponNames : ArrayList<String>
+ ItemGenerator()
+ interactWithRoomLoot()
+ newConsumable()
+ newJunk()
+ newWeapon()
- getRoomLoot()
- initializeJunkLore()
- initializeJunkNames()
- initializeWeaponLore()
- initializeWeaponNames()
}
}
}
namespace com.jambit.onboarding2020.tbrpg {
namespace core {
enum RoomGamesResult {
LOST
TIE
WON
WON_DIFFICULT
WON_EASY
WON_MIDDLE
}
}
}
namespace com.jambit.onboarding2020.tbrpg {
namespace core {
class com.jambit.onboarding2020.tbrpg.core.Test_Room {
{static} + main()
}
}
}
com.jambit.onboarding2020.tbrpg.core.GameInput -up-|> java.io.BufferedReader
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 |
1b2a55bd6c09e309bebbf9114077fdf146af22aa | 02a364d6cc772a9bf2e72d02dbecca74ac14d335 | /eCommerce-Core-2/DPLRef.eCommerce/plantuml/DPLRef.eCommerce.Accessors/Sales/OrderAccessor.puml | e800e020acb3f4282bcd3ba5cbf15a2402ecc055 | [
"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 | 447 | puml | @startuml
class OrderAccessor {
+ SaveOrder(catalogId:int, order:Order) : Order
+ FindOrder(id:int) : Order
+ SalesTotal() : SellerSalesTotal
+ UnfulfilledOrders() : Order[]
+ UpdateOrderStatus(orderId:int, status:OrderStatuses, notes:string) : Order
+ FulfillOrder(orderId:int, shippingProvider:string, trackingCode:string, notes:string) : Order
}
AccessorBase <|-- OrderAccessor
IOrderAccessor <|-- OrderAccessor
@enduml
| false | true | false | false | class |
3c7883ca5cb41c709b1e429792c4243d6942d297 | 6d4e43d4226efe06a455648979476d75e348bf6a | /example.puml | 27d3934292d3f25585cbee65658e9188f09a3678 | [] | no_license | joekir/renderToDepth | 4ea24780fcb9799a1d8f9747970773e400d03993 | 20820b14dbe4191c60846bc686b1c7265e200177 | refs/heads/master | 2020-03-13T04:27:21.748907 | 2018-04-26T04:17:18 | 2018-04-26T04:17:18 | 130,963,331 | 1 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 221 | puml | ' vim: noexpandtab
@startuml
actor joe
participant foobar
alt depth1
alt depth2
joe->foobar: hi
else something cool
end
else something
alt depth2
alt depth3
joe->foobar: hi
end
end
end
@enduml
| false | true | false | false | sequence |
b3c9e9afe88d858ece3c5b7624a3375f18794739 | f322fffa65e64ccb82370b7b45458ae07eef2571 | /uml/ucecase.puml | 913b19a198e52cf1733d995b08034a41a7a11598 | [] | no_license | markoweb/car-cam | bbf237811ec22736884fb053744e54c1001e3214 | dd8bb060bdccd1d4386abfc06ed04cf677d1f988 | refs/heads/master | 2020-09-15T20:43:00.304900 | 2016-09-27T07:39:00 | 2016-09-27T07:39:00 | 66,639,725 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 352 | puml | @startuml
left to right direction
actor User
rectangle Reversing {
User --> (View rear camera)
(View front camera\nwith timer) as front2
User --> front2
}
rectangle Driving {
(View rear camera\nwith timer) as front1
User -left-> (View front camera\nwith timer)
User -left-> front1
User -left-> (Turn off both)
}
@enduml | false | true | false | false | usecase |
d858138b9580e46467196547c58cf47746cdb1e6 | c662a1f1f4660cc644b63f417f0911cee5e8fbfb | /components/netty-demo/docs/blockingio.puml | a5096f7b2eba2b7a7017b6cecf7887bd1196316c | [] | no_license | qdriven/walkthough-backend | c10308b4fb1a3524d9c11f313f5c22620e554432 | df9cb95e814e66eb582c319c983154f36f1acf23 | refs/heads/master | 2022-07-08T11:34:39.424832 | 2021-12-11T03:47:08 | 2021-12-11T03:47:08 | 200,501,198 | 0 | 0 | null | 2022-06-21T04:16:24 | 2019-08-04T14:14:29 | Java | UTF-8 | PlantUML | false | false | 257 | puml | @startuml
Request1 --> "Socket Accept1"
--> read/write 1
--> "Run Thread"
-->Response1
Request2 --> "Socket Accept2"
--> read/write 2
--> "Run Thread 2"
-->Response2
Request3 --> "Socket Accept3"
--> read/write 3
--> "Run Thread 3"
-->Response3
@enduml
| false | true | false | false | uml-unknown |
8b9423ff21a232d91000853499f478543dce6fa1 | e26b12eef876a125fde9033090a333f28cd1f098 | /Latex/UML/PAT-fine-v2.plantuml | 2e3891355b50a9be34e3fe86d13a37fc92240ff6 | [] | no_license | XaBerr/tesi-magistrale | 6dfe91f887af0d8f6d44d3bfe1c2709dc86adea2 | 0408d1ea5a0e337b00e5e1e3d0d4641be448cf34 | refs/heads/master | 2022-12-14T23:07:52.957898 | 2020-09-07T13:34:03 | 2020-09-07T13:34:03 | 281,984,022 | 0 | 1 | null | null | null | null | UTF-8 | PlantUML | false | false | 618 | plantuml | @startuml PAT-fine-v2
!$LIGHT = 1
!includeurl https://raw.githubusercontent.com/XaBerr/plantUMLstyle/master/style.plantuml
hide members
rectangle "camera" as sensor
rectangle "One shot" as controller
rectangle "two axis motors" as actuator
rectangle "fast steering mirror" as system
circle "input\lpixel\lposition\l(x,y)" as x
circle "output\rpixel\rposition\r(x,y)" as y
circle "error\rdelta\rpixel" as e
circle "vibrations + beam fluctuation" as d
x -right--> e
e -right-> controller
controller -right-> actuator
actuator -right-> system
d -down-> system
system -right-> y
y -down-> sensor
sensor --> e
@enduml
| false | true | false | false | uml-unknown |
71f8f5bd937854a8f3685ce39f8cff25153c6df0 | 9f38c66cd0b9a5dc252e6af9a3adc804915ff0e9 | /java/resources/plantuml/structural/adapter-class.puml | 39452b32d7cbf8da608bfdb843722b5a81c6ffc2 | [
"MIT"
] | permissive | vuquangtin/designpattern | 4d4a7d09780a0ebde6b12f8edf589b6f45b38f62 | fc672493ef31647bd02c4122ab01992fca14675f | refs/heads/master | 2022-09-12T07:00:42.637733 | 2020-09-29T04:20:50 | 2020-09-29T04:20:50 | 225,505,298 | 0 | 0 | null | 2022-09-01T23:16:34 | 2019-12-03T01:41:33 | Java | UTF-8 | PlantUML | false | false | 284 | puml | @startuml
scale 1024 height
title Adapter pattern class diagram
interface Target {
+ targetMethod()
}
class Adaptee {
+ srcMethod()
}
class Adapter
Target <|.. Adapter
Adaptee <- Adapter
note "targetMethod() { \n adaptee.srcMethod() \n}" as N1
Adapter .right. N1
@enduml | false | true | false | false | class |
9da332f466dc00942cca40bcde3acc17108ee378 | a751888fd29a1b92bb32ef7d272d3e72f664ed30 | /src/design/data-loaders-data-providers-class-diagram.puml | 1288e3b96b2596d7da8bfaab9c0193d4589a3385 | [
"Apache-2.0",
"MIT",
"EPL-1.0"
] | permissive | petrushy/Orekit | b532c7db85c992d85b5ac3d858d18d656e2b8c46 | 1f8ff45caf82e0e7e85f8cf9fd4f41c3ba379443 | refs/heads/develop | 2023-08-16T11:37:43.709083 | 2023-07-18T20:13:14 | 2023-07-18T20:13:14 | 42,349,064 | 10 | 2 | Apache-2.0 | 2023-07-21T14:54:14 | 2015-09-12T07:39:56 | Java | UTF-8 | PlantUML | false | false | 3,421 | puml | ' Copyright 2002-2022 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
package org.orekit #ECEBD8 {
package data #DDEBD8 {
interface DataProvider {
+boolean feed(Pattern supported, DataLoader visitor, DataProvidersManager manager)
}
note left
knows how to retrieve data
from storage, not parse it
end note
class DataProvidersManager {
+String OREKIT_DATA_PATH
+void addDefaultProviders()
+void addProvider(DataProvider provider)
+DataProvider removeProvider(Class<? extends DataProvider> providerClass)
+DataProvider removeProvider(DataProvider provider)
+void clearProviders()
+FiltersManager getFiltersManager()
+void resetFiltersToDefault()
+boolean isSupported(Class<? extends DataProvider> providerClass)
+boolean isSupported(DataProvider provider)
+List<DataProvider> getProviders()
+Set<String> getLoadedDataNames()
+void clearLoadedDataNames()
+boolean feed(String supportedNames, DataLoader loader)
}
note bottom
manages providers
(i.e. knows how to retrieve
data from storage)
end note
class FiltersManager {
+addFilter(final DataFilter filter)
+void clearFilters()
+DataSource applyRelevantFilters(final DataSource original)
}
interface DataLoader {
+boolean stillAcceptsData()
+void loadData(InputStream input, String name)
}
note top
knows how to parse data,
not retrieve it from storage
end note
interface DataFilter {
DataSource filter(DataSource original)
}
DataProvider "*" <--o "1" DataProvidersManager : manages, feeds
DataProvidersManager "1" o--> "1" FiltersManager
FiltersManager "1" o--> "*" DataFilter: applies
DirectoryCrawler --|> DataProvider
ClassPathCrawler --|> DataProvider
NetworkCrawler --|> DataProvider
ZipJarCrawler --|> DataProvider
DataProvider --> DataLoader : feeds
}
package "..." as dummy #DDEBD8 {
class "...Loader" as DummyLoader
note bottom
all Orekit loaders are
implemented this way
end note
DataLoader <|-- DummyLoader
}
}
@enduml
| false | true | false | false | sequence |
c5a70a589db227a6c71cbde15f6dcd7c2d1b140d | 614d69a4292ebe64a5d5f7ec110e7ed0bc85c00f | /metrics/cli/docs/diagrams/prompt_class_diagram.puml | 9ce8b8a70246c501af110274aa106f32fc7b8da5 | [
"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 | 788 | puml | @startuml prompt_class_diagram
package prompt {
package writer {
interface PromptWriter {
+ prompt(String text) : String
+ promptConfirm(String text, String confirmText) : bool
}
class IOPromptWriter implements PromptWriter{
- _stdin : Stdin
- _stdout : Stdout
}
}
package strings {
class PromptStrings{}
}
class Prompter {
- _promptWriter : PromptWriter
+ prompt(String text) : String
+ promptConfirm(String text, {String confirmText}) : bool
}
}
package cool.adapter {
class CoolCliServiceAdapter {
}
}
Prompter --> PromptWriter : uses
CoolCliServiceAdapter --> Prompter : uses
CoolCliServiceAdapter --> PromptStrings : uses
@enduml
| false | true | false | false | sequence |
39a527d4352016bf311d7e7bc902e43b60bc104d | b9f75f83a35ca49586f83d3c58cb353029d67640 | /src/Ejercicio1.puml | f437e0e6d453cd7fd71907e3004ac071645ef3de | [] | no_license | mgi007/PCV06-10 | a998a10e35cb61653032e73ffe1569c52c19acee | 382e57ab378b7a480514a2599f67f660162a6d37 | refs/heads/master | 2022-05-22T17:54:52.146950 | 2020-04-22T14:19:05 | 2020-04-22T14:19:05 | 257,573,588 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,086 | puml | @startuml Ejercicio 1
skinparam packageStyle rectangle
left to right direction
actor Socios
actor Fabrica
actor Cliente
rectangle Sistema_de_Ventas_de_la_Empresa {
(Compra producto) as (Comprar)
(Comprar en la fabrica) as (CompFab)
(Comprar por Internet) as (CompInt)
(Comprar en la tienda) as (CompTie)
(Venta en fabrica) as (VenFab)
(Venta por Internet) as (VenInt)
(Venta en tienda) as (VenTien)
(Venta a otro socio) as (VenSoc)
(Recogen beneficios) as (Benef)
(Elabora productos) as (Productos)
(Retirar productos) as (Recoger)
(Venta a un precio mayor o igual al de la fábrica) as (VentaNormal)
(Venta en lotes del stock no deseado) as (Lotes)
Fabrica ---- Productos
Productos <.... VenInt : extend
Productos <.... VenFab : extend
Productos <.. Recoger : extend
Recoger ------ Socios
Socios ----- VenSoc
Socios -- VenTien
VenTien <.... VentaNormal : extend
VenTien <.... Lotes : extend
Cliente ---- Comprar
Comprar <.... CompTie: extend
Comprar <.... CompFab : extend
Comprar <.... CompInt : extend
VenFab ..> Benef : include
VenInt ..> Benef : include
}
@enduml | false | true | true | false | usecase |
b7bf2268e9644195bd299d51c349a6e544bc6e26 | 1c8c02cefe50c0c09a00d1346c34e7d88fa0a1f7 | /plantuml/sequence_state_channel.plantuml | ccb39bae854ababa779c9ee2e5885f19c893e037 | [] | no_license | mstroehle/papers | 57c16dd23988fb4c7782460e672c3f04235490f8 | 769994919c83762c0dc6721e80edaa30a94b5a71 | refs/heads/master | 2021-05-10T10:26:12.094134 | 2017-11-23T16:21:29 | 2017-11-23T16:21:29 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 551 | plantuml | @startuml
boundary "Transaction\nsidechain" as tsc
database "Channel state" as state
participant "Validator 1" as val1
participant "Validator 2" as val2
collections "Worker nodes" as workers
collections "Verifier nodes" as verifiers
collections "Arbiter nodes" as arbiters
autonumber
tsc -> state: INIT_CWSC<>
workers -> val1: AGREE
workers -> val2: AGREE
... timeout ...
val1 -> val2: [worker_resps] encrypted
val2 -> val1: [worker_resps] encrypted
val1 -> val2: decryption_key
val2 -> val1: decryption_key
val1 -> state: GATHERED<workers>
@enduml
| false | true | false | false | sequence |
b60093027ddc98760b2d581c7c0c902e83d71e34 | 52967fc781f6c838c016989270fd604c438ffe0d | /tbr-website/src/main/webapp/images/puml/oop-uml/oop-identity-def.puml | 2e1869c0a4707638747180effef1a18284c82962 | [] | no_license | thomasbroussard/website | c8084b733ea8d44427e3947ae065b007b3fb04a6 | 72caa7df57107961cd33e36b93d26640c8b927ae | refs/heads/master | 2021-01-13T12:40:45.213735 | 2018-12-16T07:42:27 | 2018-12-16T07:42:27 | 72,539,195 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 155 | puml | @startuml
class Identity {
- String displayName
- String uid
- String email
- Map<String,String> attributes
methods()...
}
@enduml | false | true | false | false | class |
47a845da52d3c12fa48d19bb17b5b31569cd94cf | 3c55d3c11501d1889a5547f4b8d64518c97fb0da | /doc/design/004-payment-interface/payment-interface.puml | 21e782349fb1f0d69bfefda97dc6bc4f22427bcf | [
"Apache-2.0"
] | permissive | nveskovic/indy-sdk | b28e5c535fc7c386f9142c3b9846813ac882226c | 24a8b49165969cdb016c679b343eb169d004fd1d | refs/heads/master | 2020-03-19T02:01:09.613210 | 2018-05-31T12:50:44 | 2018-05-31T12:50:44 | 135,591,482 | 0 | 0 | Apache-2.0 | 2018-05-31T14:02:31 | 2018-05-31T14:02:30 | null | UTF-8 | PlantUML | false | false | 1,152 | puml | @startuml tokens-interface
[Application] as application
package "Indy SDK" {
() "Payments API" as i_payments_api
application ..> i_payments_api
note right of i_payments_api
An API that allows applciation
to work with payments
end note
() "Payment Method API" as i_payment_method_api
application ..> i_payment_method_api
note left of i_payment_method_api
An API that allows
registration of payment
methods
end note
[API Layer] as indy_api
i_payments_api -- indy_api
i_payment_method_api -- indy_api
[Payment Service] as payment_service
indy_api ..> payment_service
note right of payment_service
Stores all registered payment methods
and perform requests dispatching
to corresponded payment method
end note
() "Payment Method Handler Interface" as i_payment_handler_method
payment_service ..> i_payment_handler_method
}
[Sovrin Payment Method] as sovrin_payment_method
i_payment_handler_method -- sovrin_payment_method
[Another Payment Method] as another_payment_method
i_payment_handler_method -- another_payment_method
@enduml | false | true | false | false | class |
c2d6fc7ca2cedd27013dc04592d42b596d5392d1 | b30ca27bc895f4c80d04316318d96088f3015c7a | /docs/component.iuml | 28a94245f140ca3b630b0e5366be914d217693ae | [] | no_license | intelligentArtificials/euphonic | e3be5d136854fa81d62560c2a6c29bf79083b99f | 20efa31b5d7dfda8e2d0ebc52ad47ac20f14f87b | refs/heads/master | 2022-04-25T09:02:37.429582 | 2020-04-27T06:37:11 | 2020-04-27T06:37:11 | 258,687,771 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 890 | iuml | @startuml component
package "thermometer" {
component analyzer
database stats_db
component website
}
package "text_processor" {
component processor
component tagger
}
package "user interface" {
cloud AWStranscriber
cloud AWSpolly
cloud AWSconnect as welcomer
component processor
component tagger
}
database "database" {
database users
database texts
database tags
}
actor user
component tagger
component onboarder
component connector
component feeder
user -- welcomer
welcomer -- onboarder
welcomer -- AWSpolly
welcomer -- AWStranscriber
welcomer -- users
welcomer -- processor
welcomer -- feeder
welcomer -- connector
feeder -- users
feeder -- texts
connector -- users
onboarder -- users
onboarder -- texts
processor -- tagger
processor -- texts
analyzer -- users
analyzer -- texts
analyzer -- tags
analyzer -- stats_db
website -- stats_db
@enduml | false | true | false | false | sequence |
1fe503ab10ef7ec3eba52d0103932d7b4ae5fdc4 | c815f9c82c1400f76243750cd0ec609d217b9943 | /model-view-presenter/etc/model-view-presenter.urm.puml | 0cec653e44c15d0066dfae80e8ac6fb75ae04059 | [
"MIT"
] | permissive | mikulucky/java-design-patterns | 6ab10e9e5c95b6caffebf045d37d04a1571bc0cd | cbbf3bf08842723964719ed7d8ab92864ec5a58d | refs/heads/master | 2021-01-17T23:34:49.962450 | 2016-09-28T19:54:28 | 2016-09-28T19:54:28 | 48,302,802 | 1 | 1 | null | 2016-01-02T23:58:44 | 2015-12-20T01:00:47 | Java | UTF-8 | PlantUML | false | false | 2,490 | puml | @startuml
package com.iluwatar.model.view.presenter {
interface FileSelectorView {
+ close() {abstract}
+ displayData(String) {abstract}
+ getFileName() : String {abstract}
+ getPresenter() : FileSelectorPresenter {abstract}
+ isOpened() : boolean {abstract}
+ open() {abstract}
+ setFileName(String) {abstract}
+ setPresenter(FileSelectorPresenter) {abstract}
+ showMessage(String) {abstract}
}
class FileSelectorStub {
- dataDisplayed : boolean
- name : String
- numOfMessageSent : int
- opened : boolean
- presenter : FileSelectorPresenter
+ FileSelectorStub()
+ close()
+ dataDisplayed() : boolean
+ displayData(data : String)
+ getFileName() : String
+ getMessagesSent() : int
+ getPresenter() : FileSelectorPresenter
+ isOpened() : boolean
+ open()
+ setFileName(name : String)
+ setPresenter(presenter : FileSelectorPresenter)
+ showMessage(message : String)
}
class FileLoader {
- fileName : String
- loaded : boolean
+ FileLoader()
+ fileExists() : boolean
+ getFileName() : String
+ isLoaded() : boolean
+ loadData() : String
+ setFileName(fileName : String)
}
class FileSelectorPresenter {
- loader : FileLoader
- view : FileSelectorView
+ FileSelectorPresenter(view : FileSelectorView)
+ cancelled()
+ confirmed()
+ fileNameChanged()
+ setLoader(loader : FileLoader)
+ start()
}
class App {
+ App()
+ main(args : String[]) {static}
}
class FileSelectorJFrame {
- area : JTextArea
- cancel : JButton
- contents : JLabel
- fileName : String
- info : JLabel
- input : JTextField
- ok : JButton
- panel : JPanel
- presenter : FileSelectorPresenter
- serialVersionUID : long {static}
+ FileSelectorJFrame()
+ actionPerformed(e : ActionEvent)
+ close()
+ displayData(data : String)
+ getFileName() : String
+ getPresenter() : FileSelectorPresenter
+ isOpened() : boolean
+ open()
+ setFileName(name : String)
+ setPresenter(presenter : FileSelectorPresenter)
+ showMessage(message : String)
}
}
FileSelectorJFrame --> "-presenter" FileSelectorPresenter
FileSelectorStub --> "-presenter" FileSelectorPresenter
FileSelectorPresenter --> "-loader" FileLoader
FileSelectorPresenter --> "-view" FileSelectorView
FileSelectorStub ..|> FileSelectorView
FileSelectorJFrame ..|> FileSelectorView
@enduml | false | true | false | false | class |
f9864c302f43c4bf71733c8b5f837e9c9f5f98d5 | 91678f027f1da807dfe4c113028f331f458c3a3d | /src/Docs/Resources/current/60-references-internals/10-core/10-erd/_puml/erd-shopware-core-system-integration.puml | d9811999eb3d8999d5598494c1a2c579abaa099f | [
"MIT",
"LicenseRef-scancode-generic-cla"
] | permissive | amtee/platform | fd4b863a98c4302a26782486d173c437dfa98baa | 3518811b02bcfb746abb8553ae8e5ac6f15338c0 | refs/heads/trunk | 2023-08-20T03:41:00.473175 | 2021-09-27T11:20:36 | 2021-09-27T11:20:36 | 410,864,620 | 1 | 0 | MIT | 2022-02-06T18:56:01 | 2021-09-27T11:54:21 | null | UTF-8 | PlantUML | false | false | 1,847 | puml | @startuml
' uncomment the line below if you're using computer with a retina display
' skinparam dpi 300
!define Table(name,desc) class name as "desc" << (T,#FFAAAA) >>
!define ForeignTable(name,desc) class name as "desc" << (T,#ada6a6) >>
!define TranslationTable(name,desc) class name as "desc" << (I,#4286f4) >>
' we use bold for primary key
' green color for unique
' and underscore for not_null
!define primary_key(x) <b>x</b>
!define unique(x) <color:green>x</color>
!define not_null(x) <u>x</u>
' other tags available:
' <i></i>
' <back:COLOR></color>, where color is a color name or html color code
' (#FFAACC)
' see: http://plantuml.com/classes.html#More
hide methods
hide stereotypes
hide empty members
skinparam backgroundColor #FFFFFF
' entities
Table(ShopwareCoreSystemIntegrationIntegrationDefinition, "integration\n(O-Auth integration)") {
primary_key(id) id
not_null(label) string
not_null(accessKey) string
not_null(secretAccessKey) password
writeAccess bool
lastUsageAt dateTime
admin bool
customFields customFields
not_null(createdAt) createdAt
updatedAt updatedAt
}
Table(ShopwareCoreSystemIntegrationAggregateIntegrationRoleIntegrationRoleDefinition, "integration_role\n(M:N Mapping)") {
primary_key(integrationId) foreignKey
primary_key(aclRoleId) foreignKey
}
ForeignTable(ShopwareCoreFrameworkAppAppDefinition, "app") {
}
ForeignTable(ShopwareCoreFrameworkApiAclRoleAclRoleDefinition, "acl_role") {
}
' relationshipd
ShopwareCoreSystemIntegrationIntegrationDefinition --> ShopwareCoreFrameworkAppAppDefinition
ShopwareCoreSystemIntegrationAggregateIntegrationRoleIntegrationRoleDefinition --> ShopwareCoreSystemIntegrationIntegrationDefinition
ShopwareCoreSystemIntegrationAggregateIntegrationRoleIntegrationRoleDefinition --> ShopwareCoreFrameworkApiAclRoleAclRoleDefinition
@enduml
| false | true | false | false | uml-unknown |
aacafe9c50e5bc64ca231df94feb8d19d1f9cfc2 | e5c092a77299001abd168cf62a5ca58aafc116f7 | /docs/diagrams/Parser.puml | 0d7a038de8aae419f0dce8a6dc706c071c2aa35c | [] | no_license | vgrme/iudx-adaptor-framework | 93d50e40b8f5ce95f7f63f4da21497473a64478f | 95ad59f890a126fb1eaad87466f58e847c6ac9e8 | refs/heads/master | 2023-05-05T19:49:03.826927 | 2021-05-31T14:17:16 | 2021-05-31T14:17:16 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 226 | puml | @startuml
interface Parser {
<extends SerializationSchema>
-- public methods --
String getKey()
String getTimeIndex()
Message parse(String message)
Parser initialize()
byte[] serialize(Message body)
}
@enduml
| false | true | false | false | class |
30393069f0c2d909a85bdaf37341378349d32501 | 2022ebbd0bcd636f310dabc3266bb874a220ec11 | /arch/components.puml | 44f450598bbc1a243a45748528d82277337b4437 | [] | no_license | Danylov/JHipster_Pr | 6fdd4ad89bd3079bf8a13faae9fbf97af7b07cbb | 8fc2fd71cd9bb94fff186a274a41930505dfc271 | refs/heads/master | 2022-12-28T04:11:10.588032 | 2019-06-08T10:49:18 | 2019-06-08T10:49:18 | 186,627,630 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,079 | puml | @startuml
node "Consul" {
[Registration & Discovery]
}
node "Gateway" {
[ZuulRouter]
}
node "UAA" {
[UAA Component]
}
database "Service_A_DB" {
}
node "Service_A" {
[Service_A_ConsulClient]
[Service_A_Resource] -down-> [Service_A_Component]
[Service_A_Resource] -down-> [Service_A_Repository]
[Service_A_Repository] -down-> Service_A_DB
}
database "Service_B_DB" {
}
node "Service_B" {
[Service_B_ConsulClient]
[Service_B_Resource] -down-> [Service_B_Repository]
[Service_B_Repository] -down-> Service_B_DB
}
UAA_HTTP -down- [UAA Component]
Service_A_HTTP -down- [Service_A_Resource]
Service_B_HTTP -down- [Service_B_Resource]
[ZuulRouter] <-down-> [Registration & Discovery]
[UAA Component] -up-> [Registration & Discovery]
[Service_A_ConsulClient] --> [Registration & Discovery]
[Service_B_ConsulClient] --> [Registration & Discovery]
Gateway_HTTP -down-> [ZuulRouter]
[ZuulRouter] -down-> UAA_HTTP
[ZuulRouter] -down-> Service_A_HTTP
[ZuulRouter] -down-> Service_B_HTTP
[Service_A_Component] -down-> Service_B_HTTP
@enduml | false | true | false | false | sequence |
1beda1b23a3f0c82cdc786980fda27d64a66fc92 | 0b9568945c1a68a0da0d7510eac1a5f7eb84a218 | /source/uml/odahu_security_sequence.puml | 7a87b67b081cab036173c729d5283e7151b1c329 | [
"Apache-2.0"
] | permissive | odahu/odahu-docs | 14354a0f259aa5dfc56d4068a21089a05f609825 | e4b3bea10a35453babb404a9275e8cfe792c4462 | refs/heads/develop | 2022-08-09T16:05:38.244709 | 2022-02-01T09:38:39 | 2022-02-01T09:38:39 | 219,942,967 | 8 | 2 | Apache-2.0 | 2022-07-29T23:32:51 | 2019-11-06T08:02:18 | Python | UTF-8 | PlantUML | false | false | 1,489 | puml | @startuml
participant Client order 10
participant Nginx order 20
participant Auth2Proxy order 30
box "App Pod"
participant "Envoy Proxy\nsidecar" order 40
participant "Authn Filter" order 40 #EEEBDC
participant "Authz Filter" order 50 #EEEBDC
participant "Open Policy Agent\nsidecar" order 60
participant "App Container" order 70
endbox
title Odahu Request Lifecycle
== Cluster ingress processing ==
Client -> Nginx: HTTP Request\n + JWT in cookie\nor in Header
Nginx --> Auth2Proxy: Authenticated?
note over Auth2Proxy: 1. Verify token in\nOpenID Provider
note over Auth2Proxy: 2. Set token from \ncookie to header\nif header is empty
Auth2Proxy --> Nginx: Yes
== In a Cluster processing ==
Nginx -> "Envoy Proxy\nsidecar": HTTP Request\n + JWT in Header
group envoy sidecar forces authentication and authorization
"Envoy Proxy\nsidecar" --> "Authn Filter": Authenticated?
note over "Authn Filter": 1. Verify JWT
note over "Authn Filter": 2. Parse JWT Claims
"Authn Filter" --> "Envoy Proxy\nsidecar": Yes + Parsed Claims
"Envoy Proxy\nsidecar" --> "Authz Filter": Authorized? + Claims
"Authz Filter" --> "Open Policy Agent\nsidecar": Authorized? + Claims + \nHTTP Request Info
"Open Policy Agent\nsidecar" --> "Authz Filter": Yes
"Authz Filter" --> "Envoy Proxy\nsidecar": Yes
end
"Envoy Proxy\nsidecar" -> "App Container": HTTP Request
"App Container" -> "Envoy Proxy\nsidecar": HTTP Response
"Envoy Proxy\nsidecar" -> Nginx: HTTP Response
Nginx -> Client: HTTP Response
@enduml | false | true | false | false | sequence |
e242aae3b902e0a7cd68ee537fa9d40364b12f08 | ded296da4bb9fcc7316fd6f789e3554fffac118e | /design/ACC-Client.py/thermistor.puml | 4dfe642f5458ad4639ee0be2605c966f22c6e525 | [
"MIT"
] | permissive | giuliobosco/domotics | 7feacd7647318222ad89f20a5c6cd5b83bd1ad90 | b327a94e319c379148b3a0ec1d840d820bb1c4bd | refs/heads/master | 2021-06-21T16:28:59.965625 | 2019-05-29T09:29:45 | 2019-05-29T09:29:45 | 133,505,107 | 3 | 1 | MIT | 2018-10-16T14:47:08 | 2018-05-15T11:18:30 | JavaScript | UTF-8 | PlantUML | false | false | 185 | puml | @startuml
class Thermistor {
float RT0
float B
float T0
float vcc
float r
void __init__(float vcc, float r)
float getKelvin(voltage)
float getCelsius(voltage)
}
@enduml
| false | true | false | false | class |
108a4b74f0a890d21f82fa9d3098a8365f930db6 | c0338d362d51a4ca4537dcbcf72cd3db19b442ed | /src/main/java/com/lelib/designpattern/behavior/state/workflow/WorkflowInstance.puml | eacd7ab9da48b2a3c7ee9c2cde42700b34318edd | [] | no_license | lewisliu725/design-pattern | 3f5be8707eba94a2cb22645f336a9e13ed67ed2c | 7c87032b7410f4a759aeabfd542e5444ee90ee13 | refs/heads/master | 2022-12-12T00:19:55.589569 | 2020-09-15T03:07:30 | 2020-09-15T03:07:30 | 283,059,271 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 716 | puml | @startuml
interface WorkflowState {
+ submit(instance): void
+ approve(instance): void
+ pushback(instance): void
+ cancel(instance): void
}
abstract AbstractWorkflowState implements WorkflowState {
}
class DraftState extends AbstractWorkflowState
class MemberFirmState extends AbstractWorkflowState
class GlobalState extends AbstractWorkflowState
class CompletedState extends AbstractWorkflowState
class CancelledState extends AbstractWorkflowState
class WorklfowInstance {
- WorkflowState state;
+ setState(state): void
+ submit(): void
+ approve(): void
+ pushback(): void
+ cancel(): void
}
WorklfowInstance o-- WorkflowState
WorklfowInstance <-- WorkflowState
@enduml | false | true | false | false | class |
a30800206a620afe87efb10eb3a47c9161145eda | 3e8de74dfe19cd437fd7842887394d4921a109d7 | /docs/images/assoc1.plantuml | 9d29a63c41ecf401a0213035226cee9981727d57 | [] | no_license | jmbruel/InnopolisDesignPatterns | 62c5f1df870883cd44245d6459243c83b96d0995 | a9ffbfc16a29ed3d560d5be12e8fb1d2f1bed50e | refs/heads/master | 2021-02-04T20:34:22.378185 | 2020-11-16T17:40:28 | 2020-11-16T17:40:28 | 243,707,157 | 0 | 7 | null | 2020-10-23T08:58:33 | 2020-02-28T07:49:59 | JavaScript | UTF-8 | PlantUML | false | false | 881 | plantuml | @startuml
skinparam classAttributeIconSize 0
class AgenceBancaire1 {
-String nom
-String loc
-ArrayList<Compte> alCptes
+String getProprietaire()
+int getNbComptes()
...()
+void addCompte(Compte pCompteAAjouter)
}
class Compte {
}
class AgenceBancaire2 {
-String nom
-String loc
-ArrayList<Compte> alCptes
+String getProprietaire()
+int getNbComptes()
...()
+void addCompte() {... new Compte(...)...}
}
class AgenceBancaire3 {
-String nom
-String loc
+ArrayList<Compte> alCptes
+String getProprietaire()
+int getNbComptes()
...()
+void addCompte(Compte pCompteAAjouter)
}
class AgenceBancaire4 {
-String nom
-String loc
+String getProprietaire()
...()
+void addCompte(Compte pCompteAAjouter)
}
class AgenceBancaire5 {
-String nom
-String loc
-Compte compte
+String getProprietaire()
...()
+void addCompte(Compte pCompteAAjouter)
}
@enduml
| false | true | false | false | class |
47f3992c91e887c7db6a7d06fac5aede7c645eb4 | 4e84652a2d0fa8d9b917260f8647d36f3ad599f0 | /classDiagram.iuml | 56828637defbfd013d1a6011a57394379d2cf79d | [] | no_license | fh-erfurt/bord-festival | 042cd970418d8c05170c256ce0e2cad956ef9556 | 5a2b2d63a9c3e9a997d58b6810bf378cdf53d65e | refs/heads/java2 | 2022-09-19T11:06:16.620169 | 2020-08-07T09:50:37 | 2020-08-07T09:50:37 | 216,572,004 | 2 | 0 | null | 2022-02-16T01:10:21 | 2019-10-21T13:14:18 | Java | UTF-8 | PlantUML | false | false | 5,680 | iuml | @startuml
Event --o Ticket : > has
Event -- LineUp : > has
Event --o Address : > has
Ticket o-- Client : < has
CampingTicket --|> Ticket
VIPTicket --|> Ticket
DayTicket -left-|> Ticket
Client --o Address : > has
TimeSlot -- Stage : > has
LineUp --o TimeSlot : > has
LineUp --o Band : > has
class Client{
-int id
-String firstname
-String lastname
-String mail
-Address address
-LinkedList<Ticket> tickets
-LinkedList<Ticket> cart
+Client(String firstname, String lastname, String mail, int id, Address address)
+Ticket byTicket(TicketType type)
+boolean cancelTicket(Ticket ticket)
+Address getAddress()
}
abstract class Ticket{
enum TicketType{DAY, CAMPING, VIP}
#int ID
#String description
#boolean available
#Event event
#double stdPrice
+Ticket(int id, String description, boolean available, double standardPrice, Event event)
+boolean isAvailable()
+TicketType getTicketType()
}
class Event{
-int id
-String date
-String name
-double budget
-double actualCosts
-LineUp lineup
-LinkedList<Ticket> tickets
-int maxCapacity
-Address address
+Event(int id, LocalDate startDate, LocalDate endDate, String name, double budget, int maxCapacity, Stage stage, TicketManager ticketManager, Address address)
+int getNumberOfBands()
+int getNumberOfStages()
+int getNumberOfDays()
-boolean isNewBandAffordable(Band band)
+boolean addStage(Stage stage)
+boolean removeStage(int id)
+EventInfo addBand(Band band, long minutesOnStage)
+boolean removeBand(Band band)
+boolean removeBand(Band band, LocalDateTime dateAndTime)
+addToTheActualCosts(double amount)
}
class EventInfo{
LocalDate date
LocalTime time
Stage stage
+EventInfo(LocalTime time, Stage stage)
+setDate(LocalDate date)
+LocalTime getTime()
+LocalDate getDate()
}
class Band{
-int id
-String name
-String phoneNumber
-double priceProEvent;
-LinkedList<EventInfo> eventInfos
+Band(int id,String name, String phoneNumber, double priceProEvent)
+double getPriceProEvent()
+int getNumberOfEventInfo()
+addEventInfo(EventInfo eventInfo)
+boolean equals(Object object)
+String getName()
+removeEventInfo()
+removeEventInfo(LocalDateTime dateAndTime)
}
class Stage{
-int id
-String name
-int capacity
+stage(int id, String name, int capacity)
+int getId()
}
class Program{
-Map<Stage, LinkedList<TimeSlot>> programsForStages
-LineUp lineUp
+Program(Stage stage, LineUp lineUp)
+addStage(Stage stage)
+EventInfo addBand(Band band, long minutesOnStage)
-doesAlreadyPlay(Band band, LocalTime time)
-LocalTime getNewTime(TimeSlot previousTimeSlot, long minutesOnStage)
-boolean canPlayBeforeTheEndOfDay(long minutesOnStage, LocalTime previousTimePlusBreak)
-boolean existOnStageTimeSlots(int id)
+removeStage(int id)
+removeBand(Band band)
+boolean isTheSameBand(TimeSlot timeslot, Band band)
+boolean removeBand(Band band, LocalTime time)
}
class Address{
-String country
-String city
-String street
-String zip
+Address(String country, String city, String street,String zip);
+boolean equals(Object object)
-String getStreet()
-String getZip()
-String getCity()
-String getCountry()
}
class DayTicket{
-String date
-TicketType ticketType
+DayTicket(TicketType ticketType, int id, String description, boolean available, double standardPrice, Event event, String date)
+TicketType getTicketType()()
}
class CampingTicket{
-String campingPlaceName
-TicketType ticketType
+CampingTicket(TicketType ticketType, int id, String description, boolean available, double standardPrice, String campingPlaceName, Event event)
+TicketType getTicketType()()
}
class VIPTicket{
-TicketType ticketType
+VIPTicket(TicketType ticketType, int id, String description, boolean available, double standardPrice, Event event)
+TicketType getTicketType()()
}
class PriceLevel{
-double dayTicketPrice
-double CampingTicketPrice
-double VipTicketPrice
-double PercentageForPricelevel
+PriceLevel(double dayTicketPrice, double CampingTicketPrice, double VipTicketPrice, double PercentageForPricelevel)
+int compareTo(PriceLevel priceLevel)
+double getCampingTicketPrice()
+double getPercentageForPricelevel()
}
class TicketManager{
-ArrayList<PriceLevel> priceLevels
-int nPriceLevels
-int actualPriceLevel
-int nDayticketsLeft
-int nCampingticketsLeft
-int nVipticketsLeft
-int nDaytickets
-int nCampingtickets
-int nViptickets
-boolean automaticPriceLevelChange
+TicketManager(ArrayList<PriceLevel> priceLevels, int nPriceLevels, int nDaytickets, int nCampingtickets,int nViptickets)
+updatePriceLevel()
+boolean isPercentageOfSoldTicketsExceeded()
+int getnDaytickets()
+int getnCampingtickets()
+int getnViptickets()
+int totalNumberOfTickets()
+int getnDayticketsLeft()
+int getnCampingticketsLeft()
+int getnVipticketsLeft()
+int totalNumberOfTicketsLeft()
}
class LineUp{
-Map<LocalDate, Program> dayPrograms
-LinkedList<Stage> stages
-LinkedList<Band> bands
-Event event
-LocalDate startDate
-LocalDate endDate
-LocalTime startTime
-LocalTime endTime
-long breakBetweenTwoBandsInMinutes
+LineUp(LocalDate startDate, LocalDate endDate, Stage stage, Event event)
-createProgramsBetweenStartAndEndDates()
+boolean addStage(Stage stage)
+EventInfo addBand(Band band, long minutesOnStage)
+int getNumberOfStages()
+int getNumberOfBands()
+LocalTime getStartTime()
+LocalTime getEndTime()
+long getBreakBetweenTwoBandsInMinutes()
+int getNumberOfDays()
+boolean removeStage(int id)
+Stage findStage(int id)
+boolean removeBand(Band band)
+boolean removeBand(Band band, LocalDateTime dateAndTime)
-boolean doesBandExistsInTheList(Band band)
}
class TimeSlot{
-LocalTime time
-Band band
-long minutesOnStage
+TimeSlot(LocalTime time, Band band, long minutesOnStage)
+String getNameOfBand()
+LocalTime getTime()
+long getMinutesOnStage()
}
@enduml | false | true | false | false | class |
539634837a6ed36e159ea60f9f565b2bf90d041f | 946ca0699fccb2455f31002962ad94ac92a40e13 | /depot/docs/er_digram.puml | 50c0854c5d52c9b565eea37dd1db2077eee99999 | [] | no_license | swayongshen/depot | 65f63468074d6fbc49a313653befde7b491a9833 | ec364f364d90ba4e80074bab628dcbf3d1af1101 | refs/heads/master | 2023-07-01T02:23:36.112489 | 2021-08-08T11:24:53 | 2021-08-08T11:24:53 | 393,758,572 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,178 | puml | @startuml
'https://plantuml.com/class-diagram
entity users {
* id <<PK>>
* username
* password
* updated_at
* created_at
}
entity business_permits {
* id <<PK>>
* permit_number
* user_id <<FK>>
}
entity products {
* id <<PK>>
* user_id <<FK>>
* name
* description
* price
image
* updated_at
* created_at
}
entity best_seller_rankings {
* id <<PK>>
* product_id <<FK>>
* category
* ranking
}
entity line_items {
* id <<PK>>
* product_id <<FK>>
* cart_id <<FK>>
* order_id <<FK>>
* quantity
* price
* updated_at
* created_at
}
entity carts {
* id <<PK>>
* updated_at
* created_at
}
entity orders {
* id <<PK>>
* buyer_name
* buyer_email
* address
* payment_info
* updated_at
* created_at
}
entity genres {
* id <<PK>>
* name
* description
* product_id <<FK>>
}
users }o--|| products
users |o--|| business_permits
products }o--|| line_items
line_items |o--o{ carts
line_items |o--o{ orders
orders }o--o{ users
orders }o--o{ products
products }o--|| genres
products }o--|| best_seller_rankings
@enduml | false | true | false | false | sequence |
b566ecf80e3163e2c4fcd6efc3f6859aa445f313 | 71a886e08b95bc6eb6bcf83fee1e494a0be5c231 | /architecture/src/main/resources/diagrams/ext-claim-int/high-level-component.puml | ee1046f2c5642028eef5f4f326019a5405886272 | [] | no_license | siarhei/java8 | 6cfce577f9c25daecc930042a71347998a5988e1 | 18201e75ddfca19415a63dbddfe031162c4738e2 | refs/heads/master | 2021-09-08T04:01:25.935910 | 2021-09-06T17:01:51 | 2021-09-06T17:01:51 | 147,394,381 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 633 | puml | @startuml
package "EIS" {
[Claims Integration] as ci #lightgreen
[Party] as party #lightblue
[Claims] as claims #lightblue
[Policy] as policy #lightblue
[Customer] as crm #lightblue
[Billing] as billing #lightblue
crm - policy
crm -- party
party - claims
policy - claims
crm - claims
policy - billing
claims - ci
}
package "External Claims System" {
interface SOAP #red
[External Claims] as extcl #red
SOAP - extcl
ci <--> SOAP
}
legend
|= |= Type |
|<back:#red> </back>| Third Party |
|<back:#lightgreen> </back>| Integration |
|<back:#lightblue> </back>| EIS |
endlegend
@enduml | false | true | false | false | class |
82d29b2bee3fcfd5edd916905b45714ae32a3c81 | bf3e610c8668e525aedcca58ddbe9da7c19e427e | /docs/design/server42/cp.puml | 30d8dd89870db8be953848b3e5a956bc83384a8f | [
"Apache-2.0"
] | permissive | telstra/open-kilda | 874b5204f8c2070860a2e7fc6f8be368a5d18726 | 686d31220f1033595d7f1d4374544af5ba9c42fe | refs/heads/develop | 2023-08-15T21:24:21.294425 | 2023-08-14T08:51:52 | 2023-08-14T08:51:52 | 104,974,693 | 82 | 70 | Apache-2.0 | 2023-09-14T19:11:22 | 2017-09-27T05:13:18 | Java | UTF-8 | PlantUML | false | false | 713 | puml | @startuml
participant Northbound as NB
participant "Flow topology" as FT
participant "Control topology" as CPT
participant "Control application " as CPA
participant "Server 42" as S42
== Northbound communication ==
-> NB: REST
activate NB
NB -> CPT : kafka
activate CPT
CPT -> CPA: kafka
deactivate CPT
activate CPA
CPA -> S42: zeroMQ
deactivate CPA
activate S42
CPA <-- S42: zeroMQ
deactivate S42
activate CPA
CPA --> CPT: kafka
deactivate CPA
activate CPT
NB <-- CPT: kafka
deactivate CPT
<- NB: REST
deactivate NB
== Flow event reaction ==
-> FT : flow event
activate FT
FT -> CPT : kafka
deactivate FT
activate CPT
CPT -> CPA: kafka
deactivate CPT
activate CPA
CPA -> S42: zeroMQ
deactivate CPA
@enduml | false | true | false | false | sequence |
6ad43a189b26b5de5583032a813aebc2b798f09b | 63114b37530419cbb3ff0a69fd12d62f75ba7a74 | /plantuml/Library/PackageCache/com.unity.textmeshpro@2.1.1/Scripts/Runtime/TMP_FontAssetUtilities.puml | 3a6e70b6132ed762c0ee6d62e186acb5703b2c74 | [] | 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 | 860 | puml | @startuml
class TMP_FontAssetUtilities {
{static} TMP_FontAssetUtilities()
+ {static} GetCharacterFromFontAsset(unicode:uint, sourceFontAsset:TMP_FontAsset, includeFallbacks:bool, fontStyle:FontStyles, fontWeight:FontWeight, isAlternativeTypeface:bool) : TMP_Character
+ {static} GetCharacterFromFontAssets(unicode:uint, sourceFontAsset:TMP_FontAsset, fontAssets:List<TMP_FontAsset>, includeFallbacks:bool, fontStyle:FontStyles, fontWeight:FontWeight, isAlternativeTypeface:bool) : TMP_Character
+ {static} GetSpriteCharacterFromSpriteAsset(unicode:uint, spriteAsset:TMP_SpriteAsset, includeFallbacks:bool) : TMP_SpriteCharacter
{static} GetSpriteCharacterFromSpriteAsset_Internal(unicode:uint, spriteAsset:TMP_SpriteAsset, includeFallbacks:bool) : TMP_SpriteCharacter
}
TMP_FontAssetUtilities --> "instance" TMP_FontAssetUtilities
@enduml
| false | true | false | false | class |
d23341fba2c3d52d5c1cc60c4fd92ab7e57df86e | ace7dbd4445973a93e7114680ba108840e9104ea | /UML/workarea/von_base/doc/pic/src/boot.holderprover.puml | b6f786db817c39e9dd79fffaf7f56a69d7301d9c | [
"Apache-2.0"
] | permissive | shlemph/indy-quickstart | 2ca8150d949725ee5e942391c62365a01466a1ea | c2ff7151dd7eca193f07b12ccb15ffaa647fe499 | refs/heads/master | 2020-04-05T05:12:13.528645 | 2018-11-14T02:29:15 | 2018-11-14T02:29:15 | 156,585,591 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,682 | puml | @startuml
/'
Copyright 2017-2018 Government of Canada - Public Services and Procurement Canada - buyandsell.gc.ca
Licensed 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.
'/
skinparam ParticipantPadding 20
skinparam BaloxPadding 20
title Holder-Prover Anchor (On-Line) Boot Sequence
box "Indy" #LightBlue
participant "Ledger" as ledger
endbox
actor "Trustee VON Anchor" as tan
actor "Holder-Prover\n(e.g., The Org Book)\nVON Anchor" as oban
=== BOOTSTRAP ==
note over ledger, oban
Holder-Prover VON anchor is on-line (i.e., its node pool is open)
Trustee VON anchor service wrapper API is up
endnote
oban -> oban: call get_nym(did)
group get_nym() implements
oban -> ledger: Look up anchor nym
ledger --> oban: anchor nym if present
end
alt Nym not present
note over ledger, oban
Trustee VON anchor service wrapper API is up
endnote
oban -[#blue]> tan: call send_nym(did, verkey, alias, role)
group send_nym() implements
tan -[#blue]> ledger: send anchor nym
ledger --[#blue]> tan: anchor nym
tan --[#blue]> oban: anchor nym
end
end
oban -> oban: create, store link secret
@enduml
| false | true | false | false | usecase |
7729ef6889a03e6c655acd2ccb1ba4e4e3cb1ade | d62eb36247d422453d13124cdadb4cce6042d1f7 | /diagramas/secuencia6.puml | dd2bf71f676dcbc8902424e9ed35bf06f64457ee | [
"MIT"
] | permissive | valengutierrez/algo3_tp2 | d5579f678ffd301b284e1b5a3c4b4842520ca485 | 7435ad6d2cf44df9baadcdb6557017a133c98840 | refs/heads/master | 2023-07-07T21:35:37.949278 | 2021-08-13T17:51:03 | 2021-08-13T17:51:03 | 382,075,823 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 768 | puml | @startuml Diagrama de secuencia - Jugador realiza canje de tarjetas
title Jugador realiza canje de tarjetas y es valido por ser iguales
skinparam style strictuml
actor Jugador as Jugador
participant ":GestorDeCanje" as GestorDeCanje
participant "t1:Tarjeta" as Tarjeta1
Jugador -> GestorDeCanje: validarCanje(TresTarjetas)
GestorDeCanje -> GestorDeCanje: verificarQueCanjeEsValido(TresTarjetas)
GestorDeCanje -> Tarjeta1: tieneMismoSimboloQue(Tarjeta2)
Tarjeta1 -> GestorDeCanje: sonIguales
GestorDeCanje -> Tarjeta1: tieneMismoSimboloQue(Tarjeta3)
Tarjeta1 -> GestorDeCanje: sonIguales
GestorDeCanje --> Jugador: canjeEsValido
Jugador -> GestorDeCanje: dameCantidadDeEjercitos(numeroDeCanje, TarjetasUsadas)
GestorDeCanje --> Jugador: cantidadDeEjectitos
@enduml | false | true | false | false | usecase |
6439c41e106fa64e33b160fb1b0fd447294892c7 | 3c6164cf431f21837cb17ba23a43de39a08965df | /20180205-jfokus-stockholm/pleasant-kotlin/src/docs/asciidoc/images/ide.puml | 68e643f28bca1af2f801c03c916f0f9d70aabef9 | [] | no_license | breskeby/talks | ab24ec20a6512fea82f7c6b38d282726fd01e6d0 | b1c928340fdead0b73d01cb6356165c0fa87a5c0 | refs/heads/master | 2021-01-17T12:30:07.534358 | 2018-02-06T14:05:32 | 2018-02-06T14:05:32 | 8,325,767 | 1 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,103 | puml | @startuml
skinparam sequence {
ArrowThickness 2
ArrowColor #00C489
ParticipantBorderColor #00C489
ParticipantBackgroundColor White
ParticipantFontColor #02303A
ActorBorderColor #00C489
ActorBackgroundColor White
ActorFontColor #02303A
ActorFontSize 17
LifeLineBorderColor #02303A
BoxBorderColor #02303A
BoxBackgroundColor #e5fff7
}
title Authoring a build script
hide footbox
actor User as U
participant IDE as I
box "Gradle"
participant "Kotlin DSL\nClient" as K
participant "Kotlin DSL\nServer" as G
end box
U -> I: Opens\n`build.gradle.kts` file
I -> K: Resolves the classpath
K -> G: Queries classpath model\nover TAPI
group Classpath computation
|||
group Build script dependencies
G -> G: Extracts, compiles and executes `buildscript` block
G -> G: Extracts, compiles and executes `plugins` block
end
|||
G -> G: Assemble dynamic model accessors
G -> G: Compiles and executes the body of `build.gradle.kts`
|||
end
G -> K: Classpath model
K -> I: Classpath IDE model
I -> U: Highlights\n`build.gradle.kts`
@enduml
| false | true | false | false | sequence |
36ad0eb4d1757b33437c98a394535ab36afd9f67 | 54ebd9eb2ddadc17b215617d96fac1f93f4acfef | /behavioral/state/state.puml | f9c47a1b4395bd43425f52ba0859afab3439d185 | [] | no_license | cesarkohl/design-patterns | acb42191662c141f064d9c90426dfd4491d43dfe | 991f83d0076b0a69e9d6b7c1163cf49fde3bfcbf | refs/heads/main | 2023-06-11T07:16:18.484116 | 2023-05-28T14:41:01 | 2023-05-28T14:41:01 | 199,520,479 | 4 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 378 | puml | @startuml
class Phone {
- state: State
+ setState(state: State)
+ lock()
+ unlock()
}
abstract State {
- phone: Phone
+ onOpen()
+ onClose()
}
class LockedState {
+ onOpen()
+ onClose()
}
class UnlockedState {
+ onOpen()
+ onClose()
}
Phone *-- LockedState
Phone <.. State
State <|-- LockedState
State <|-- UnlockedState
@enduml
| false | true | false | false | state |
ab925649cb7234b01b12d2247449216315b46036 | 91eb4acfc7811fe1b5356b81403f6a6b7ff53ca8 | /synthesizers/simple.plantuml | acf4ea4c91dca4dbca26b5e9f06f4e10fee41d36 | [] | no_license | LeStahL/garlic_crust | 26b66f6c6efc38869895892c2523719d9d8e3552 | 9d6178f5a77d4ac08e9a66239957eead89052338 | refs/heads/main | 2023-06-26T19:54:47.035812 | 2021-06-05T22:33:54 | 2021-06-05T22:33:54 | 363,393,073 | 2 | 0 | null | 2021-05-01T11:25:54 | 2021-05-01T11:25:53 | null | UTF-8 | PlantUML | false | false | 1,121 | plantuml | @startuml simple
class sequencer <Sequencer> {
}
class osc_a <Oscillator> {
- shape: WaveShapes::Saw
}
class osc_b <Oscillator> {
- shape: WaveShapes::Square
}
class env_a <ADSREnvelope> {
- attack: .1
- decay: .1
- sustain: .5
- release: .1
}
class env_b <ADSREnvelope> {
- attack: .5
- decay: .3
- sustain: .4
- release: .2
}
class mix <Mixer> {
- cv: .5
}
class output <Output> {
}
class lfo1 <Oscillator> {
- shape: WaveShapes::Triangle
- frequency: 12.
}
class filter <Filter> {
- type: FilterTypes::LowPass
- resonance: .5
}
class lfo_filter_transform <Math> {
- mapping: "lfoTransform1.rs"
}
Sequencer "NoteOnOff1" *-- "on_off" env_a
Sequencer "NoteOnOff2" *-- "on_off" env_b
Sequencer "NoteFrequency1" *-- "frequency" osc_a
Sequencer "NoteFrequency2" *-- "frequency" osc_b
env_a "output" *-- "amplitude" osc_a
env_b "output" *-- "amplitude" osc_b
osc_a "output" *-- "input1" mix
osc_b "output" *-- "input2" mix
mix "output" *-- "input" filter
lfo1 "output" *-- "input" lfo_filter_transform
lfo_filter_transform "output" *-- "cutoff" filter
filter "output" *-- "input" output
@enduml
| false | true | false | false | class |
02242c1cf2847745df616e5d44c37d81a6099988 | 9e418a0fb69b8ee356d5c1d5d009706394edf54d | /class - analysis/authentication/updateMyProfile.plantuml | 7fb7d8dd1406672625714588e5ae09a816b19430 | [] | no_license | anonyhostvn/OOAD-Diagram | 67f3a3a4aa976ee8459d3f4801147ddd1382e41e | f8f7a0e4ba826335cc964d3b73bebea3f4f857e4 | refs/heads/master | 2023-01-10T04:26:29.983705 | 2020-11-13T10:08:12 | 2020-11-13T10:08:12 | 311,749,932 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 943 | plantuml | @startuml login
class User <<entity>> {
id: bigint
email: string
password: string
first_name: string
last_name: string
dob: date
school_id: string
phone_number: string
avatar_url: string
token: string
last_logged_in: datetime
is_banned: bool
is_admin: bool
is_verify: bool
created_at: datetime
updated_at: datetime
// create ()
// read ()
// update ()
// delete ()
// get user ()
// get classrooms ()
// get token ()
// delete token ()
}
class UpdateMyProfileForm <<boundary>> {
// validate ()
// update profile ()
}
class AuthenticationController <<controller>> {
// update profile ()
}
hide User <<entity>> circle
hide UpdateMyProfileForm <<boundary>> circle
hide AuthenticationController <<controller>> circle
AuthenticationController "1" -left- "1" User
AuthenticationController "1" -down- "1" UpdateMyProfileForm
@enduml
| false | true | false | false | class |
4b29f0890dcfcef4068f561e40cbc196c2426387 | 78efd14b4f96503d5c5b4c2bd598555b1d505298 | /UML File/UML.puml | dc8f079d95f30b77d13e99a1eea6765cc710f365 | [] | no_license | vincentv1345/verapen-6448-a5 | cecd729ec33df411c1e0f68de88b3d7719db8809 | 85acec09cd4746c6de8e7263f2f84ff9b6cf6ad3 | refs/heads/master | 2023-06-24T17:10:11.864700 | 2021-07-26T03:58:30 | 2021-07-26T03:58:30 | 388,691,757 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,230 | puml | @startuml
'https://plantuml.com/sequence-diagram
class Main{
main()
start()
}
class InventoryController{
Item = item(Value, SerialNumber, Name);
saveFile()
loadFile()
void close()
void validate()
saveEditItemSerialNumber()
saveEditItemName()
saveEditItemValue()
void initialize()
removeItem();
addItem();
}
class changeToCurrency{
changeToCurrency(String x)
}
class ItemClass{
private String value;
private String serialNumber;
private String name;
public Item(int value, String serialNumber, String name)
getValue();
setValue(dollarFormat);
getSerialNum(checkItemInput);
setSerialNum();
getName();
setName(between 2,256);
checkName();
}
class SearchClass{
searchByName()
searchBySerialNumber()
}
class SaveLoadController{
choice()
SaveLoadFiles saveAsTSV()
SaveLoadFiles saveAsHTML()
SaveLoadFiles saveAsJSON()
}
class CheckErrors{
boolean checkIf(String x)
}
class SaveLoadFiles{
saveAsHTML(nameOfFile)
saveAsTSV(nameOfFile)
load()
}
javafx.Main - Main
Main <|- InventoryController
InventoryController <|- ItemClass
InventoryController <|- SaveLoadController
InventoryController <|- CheckErrors
SaveLoadController <|- SaveLoadFiles
InventoryController <|- SearchClass
InventoryController <|- changeToCurrency
@enduml | false | true | false | false | class |
108bfa21c7cc514525a3fc25115cf5cfe1a0f8c5 | a31d4d705e38e84a6da6e491a811599d813d56a0 | /ntu_6_6/src/com/company/company.plantuml | 7183c93b583450700729aade88b252e2d1994ad2 | [] | no_license | rabiefw/Java_Examples_NTU | ea97330e2d8aabc03a9d8b97693ece475a3ccee1 | c653bb6fab68f2246b13378a7aba0f58e1ad76a1 | refs/heads/main | 2023-06-14T04:07:49.284710 | 2021-07-16T15:44:36 | 2021-07-16T15:44:36 | 384,429,520 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 999 | plantuml | @startuml
title __COMPANY's Class Diagram__\n
namespace com.company {
abstract class com.company.Animal {
- name : String
+ Animal()
{abstract} + greets()
}
}
namespace com.company {
class com.company.BigDog {
+ BigDog()
+ greets()
+ greets()
+ greets()
}
}
namespace com.company {
class com.company.Cat {
+ Cat()
+ greets()
}
}
namespace com.company {
class com.company.Dog {
+ Dog()
+ greets()
+ greets()
}
}
namespace com.company {
class com.company.Main {
{static} + main()
}
}
com.company.BigDog -up-|> com.company.Dog
com.company.Cat -up-|> com.company.Animal
com.company.Dog -up-|> com.company.Animal
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 |
39cd0e833a9be5fe6e98609cad4885149542085d | 63114b37530419cbb3ff0a69fd12d62f75ba7a74 | /plantuml/Library/PackageCache/com.unity.postprocessing@2.3.0/PostProcessing/Runtime/PostProcessProfile.puml | 54801bdcfdc878af459c7406c315e3548798f040 | [] | 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 | 599 | puml | @startuml
class PostProcessProfile <<sealed>> {
+ isDirty : bool = true
OnEnable() : void
+ AddSettings() : T
+ AddSettings(type:Type) : PostProcessEffectSettings
+ AddSettings(effect:PostProcessEffectSettings) : PostProcessEffectSettings
+ RemoveSettings() : void
+ RemoveSettings(type:Type) : void
+ HasSettings() : bool
+ HasSettings(type:Type) : bool
+ GetSetting() : T
+ TryGetSettings(outSetting:T) : bool
}
class "List`1"<T> {
}
ScriptableObject <|-- PostProcessProfile
PostProcessProfile o-> "settings<PostProcessEffectSettings>" "List`1"
@enduml
| false | true | false | false | class |
c9481467557c7b3fb41c5f5cb6c5bf4fa668dc62 | 1f5a6d8f6827e4add92c2154e20310793d32f549 | /OOP教育訓練計畫/9/01.Observer/src/ES2015-CascadingComboBox/diagrams/v2/ClassDiagram.puml | be25491e32a968189418b221308730827dd22dc2 | [] | no_license | YenCheChangGoogle/YccSenaoOOP | 8e9c2b02ded12b64e5e7a7d26faed0f593ee0fce | 79e025ace78e966d07a59b8896c68040fe74ab86 | refs/heads/master | 2021-09-06T16:44:44.578700 | 2018-02-08T16:35:22 | 2018-02-08T16:35:22 | 107,415,206 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 479 | puml | @startuml
skinparam defaultFontName "Fira Code"
skinparam class {
FontStyle bold
FontSize 12
}
scale 800*800
class CascadingComboBox{
-children
-data
-defaultOptions
-domObject
-id
+onCreateChildData
+onCreateOption
+onItemSelected
-bindEvents()
-clearChildren
-createOptions()
-fillOptions()
-updateChildren()
+attachChild()
+clear()
+setData()
}
CascadingComboBox o-- "0..*" CascadingComboBox
@enduml | false | true | false | false | class |
7a2dafa3f97e68990197d534dea1eafaf7e96618 | ca1cdd8d52a097e0ea0000d245b942f8f0fd70f8 | /Documentation/UML diagrams/Dao.plantuml | 96a621dcf2acdaa07720984b480a093dc23d33e8 | [] | no_license | SupaGait/JavaProject_Fundamental_class | 5f600f05c59eb0e21a86c790a454b0890a4db785 | a14ca03598424fb97744dc9699067d3951083cd7 | refs/heads/master | 2021-01-09T08:11:44.665377 | 2016-02-08T08:17:04 | 2016-02-08T08:17:04 | 49,128,588 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 981 | plantuml | @startuml
package fr.shazilgerard.findmypatient.dao {
interface IDataDAO<DataType>{
+ List<DataType> get(DataType data,
IMatcher<DataType> matcher)
+ DataType getAll(void)
+ modify(DataType data)
+ delete(DataType data)
}
interface IDAOManagement{
+ createDAO()
+ deleteDAO()
}
class JDBCDAO<DataType> <<abstract>>{
+ JDBCDAO()
+ createDAO()
+ deleteDAO()
..
+ List<DataType> get(DataType data,
IMatcher<DataType> matcher)
+ DataType getAll(void)
+ modify(DataType data)
+ delete(DataType data)
..
# {abstract} readDataFields()
# {abstract} writeDataFields()
}
class UserJDBCDAO{
+ UserJDBCDAO(String DBinfo..)
# readDataFields()
# writeDataFields()
}
class PatientJDBCDAO{
+ PatientJDBCDAO(String DBinfo..)
# readDataFields()
# writeDataFields()
}
}
IDataDAO <|.. JDBCDAO
IDAOManagement <|.. JDBCDAO
JDBCDAO <|-- UserJDBCDAO
JDBCDAO <|-- PatientJDBCDAO
@enduml | false | true | false | false | class |
b73753b6f139497153afd24f0970830de68ae0d6 | 7822bee8d2cf3089457b922832493bab8cfe1685 | /dark-component-test.plantuml | 1f7a8fc839dd9b33ca0b47b6f9e6ebc415fb66ce | [
"MIT"
] | permissive | stfsy/plantuml-darkmode | f87e5795d41814b179ff9f252affdd2e06ffbbe6 | a499c7f3e481fe3b16f9ca5bb8078f923291a2bb | refs/heads/master | 2023-03-10T03:01:48.869466 | 2021-02-19T09:35:57 | 2021-02-19T09:35:57 | 340,320,524 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 715 | plantuml | @startuml microservice-controller-tasks
!include https://raw.githubusercontent.com/stfsy/plantuml-darkmode/master/dark-component.plantuml
rectangle $whiteText("Services") {
rectangle Database blue {
}
}
rectangle $whiteText("Clients") {
rectangle Client blue {
}
}
rectangle $whiteText("Microservice") {
rectangle Provider red {
}
rectangle Controller green {
}
rectangle Service orange {
}
rectangle Cache yellow {
}
rectangle RetryTemplate yellow {
}
}
Client -> Controller
Controller -> Service
' Models <-. Controller
Service -> Provider
' Converter <-. Service
Provider -> Database
Provider --> Cache
Provider --> RetryTemplate
@enduml | false | true | false | false | uml-unknown |
42630d0e5c009768711d4cc178557392f42f4e2f | 63114b37530419cbb3ff0a69fd12d62f75ba7a74 | /plantuml/Library/PackageCache/com.unity.test-framework@1.1.16/UnityEditor.TestRunner/Api/TestRunnerApi.puml | ed855911608a1d88778eae8a4a3ba57195f63d73 | [] | 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 | 364 | puml | @startuml
class TestRunnerApi {
+ Execute(executionSettings:ExecutionSettings) : string
+ RegisterCallbacks(testCallbacks:T, priority:int) : void
+ UnregisterCallbacks(testCallbacks:T) : void
+ RetrieveTestList(testMode:TestMode, callback:Action<ITestAdaptor>) : void
}
ScriptableObject <|-- TestRunnerApi
ITestRunnerApi <|-- TestRunnerApi
@enduml
| false | true | false | false | class |
5524f9d4b77e25ad41322de1a0f6600b8bde9a58 | b27c4bcbe9cc3458154b07461913e3870a73d99e | /doc/structure.puml | a7cf016260ee14a53bfc1fda2887df84d9a88576 | [] | no_license | cseaotter/pirate-ship | d4f29733f6cfed4d0239448482e415d2a969ae12 | 2593a9cd78518a35f4b9baebc7e7c0904a728955 | refs/heads/master | 2023-04-01T05:07:02.294664 | 2019-06-01T04:20:22 | 2019-06-05T06:21:08 | 184,796,852 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 504 | puml | @startuml
participant GamePanel
GamePanel -> GameController: addNotify
activate GameController
activate Scenario
GamePanel -> GameThread:
activate GameThread
group run
GameThread -> GameController: update
GameController -> Scenario: update
GameThread -> GameController: draw
GameController -> Scenario: draw
GameThread->GameThread: drawGraphics
end
GameController -> NetworkThread:
activate NetworkThread
NetworkThread -> GameController: onUpdateData
@enduml | false | true | false | false | sequence |
3e33615720c09ca04350de807729b7a658e560f9 | 973dcef38fb285cf4f14a2e937af23e26a05564b | /docs/UseCases/Manage-Project/Modify-Project.puml | e70c3c7ea5e961d9dfbb4ca477c72b79b008cf5a | [] | 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 | 272 | puml | @startuml
Actor "actorName" as A
box "Manage-Project" #lightblue
participant CLI as CLI
participant Web as Web
participant "caade" as S
A -> CLI : caade-project-modify()
CLI -> S : project/modify()
A -> Web : project/modify()
Web -> S : project/modify()
end box
@enduml
| false | true | false | false | sequence |
3aa528bd38fbe9fe9e064152330f63ea10d78a57 | f6e8d9ffb0fbe22f284a9771933ad71a3538ac49 | /Diagrams/SequenceDiagrams/Settlements/seq-settransfer-6.3.2-reserve.plantuml | 84eb7ce945cc2809222ea7f52c3cdf470de49e86 | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | mDuo13/docs-1 | 2b734c7d927e6e7c9714320c6c3c5ef2b49d76b5 | b2b18663510b0bc92a3c8e8768adc8be0e21cd91 | refs/heads/master | 2020-04-30T13:06:06.901776 | 2019-03-14T11:26:50 | 2019-03-14T11:26:50 | 176,845,744 | 0 | 0 | null | 2019-03-21T01:31:09 | 2019-03-21T01:31:08 | null | UTF-8 | PlantUML | false | false | 7,945 | 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>
--------------
******'/
@startuml
' declate title
title 6.3.2. Settlement Transfer Reserve
autonumber
' declare actors
entity "Settlement DAO" as SETTLE_DAO
database "Central Store" as DB
box "Settlement Service" #lightgreen
participant SETTLE_DAO
end box
box "Central Services" #lightyellow
participant DB
end box
' start flow
activate SETTLE_DAO
group Settlement Transfer Reserve
note right of SETTLE_DAO #lightgray
**Inputs**: settlementId that holds entries with PS_TRANSFERS_RESERVED, transactionTimestamp, enums, trx
end note
SETTLE_DAO -> DB: Retrieve list of PS_TRANSFERS_RESERVED, but not RESERVED
activate DB
hnote over DB #lightyellow
SELECT tp1.transferId, tp1.ledgerEntryTypeId,
tp1.participantCurrencyId AS dfspAccountId, tp1.amount AS dfspAmount,
tp2.participantCurrencyId AS hubAccountId, tp2.amount AS hubAmount
FROM **settlementParticipantCurrency** spc
JOIN **settlementParticipantCurrencyStateChange** spcsc
ON spcsc.settlementParticipantCurrencyId = spc.settlementParticipantCurrencyId
AND spcsc.settlementStateId = {PS_TRANSFERS_RESERVED}
JOIN **transferStateChange** tsc1
ON tsc1.transferId = spc.settlementTransferId
AND tsc1.transferStateId = {RECEIVED_PREPARE}
LEFT JOIN **transferStateChange** tsc2
ON tsc2.transferId = spc.settlementTransferId
AND tsc2.transferStateId = {RESERVED}
JOIN **transferParticipant** tp1
ON tp1.transferId = spc.settlementTransferId
AND tp1.transferParticipantRoleTypeId = {DFSP_POSITION}
JOIN **transferParticipant** tp2
ON tp2.transferId = spc.settlementTransferId
AND tp2.transferParticipantRoleTypeId = {HUB}
WHERE spc.settlementId = {settlementId}
AND tsc2.transferId IS NULL
end hnote
DB --> SETTLE_DAO: Return **settlementTransferList**
deactivate DB
group <color #blue>DB TRANSACTION</color>
loop t IN settlementTransferList
SETTLE_DAO -> DB: Persist transfer state
activate DB
hnote over DB #lightyellow
INSERT INTO **transferStateChange** (transferId, transferStateId, reason)
VALUES (t.transferId, {RESERVED}, 'Settlement transfer reserve')
end note
DB --> SETTLE_DAO: Return **transferStateChangeId**
deactivate DB
opt t.ledgerEntryTypeId == {SETTLEMENT_NET_RECIPIENT}
SETTLE_DAO -> DB: Select dfsp position FOR UPDATE
activate DB
hnote over DB #lightyellow
SELECT participantPositionId AS dfspPositionId,
value AS dfspPositionValue,
reservedValue AS dfspReservedValue
FROM **participantPosition**
WHERE participantCurrencyId = t.dfspAccountId
FOR UPDATE
end note
DB --> SETTLE_DAO: Return **dfspPositionId**, **dfspPositionValue** and **dfspReservedValue**
deactivate DB
SETTLE_DAO -> DB: Select participant NET_DEBIT_CAP limit
activate DB
hnote over DB #lightyellow
SELECT value AS netDebitCap
FROM **participantLimit**
WHERE participantCurrencyId = t.dfspAccountId
AND participantLimitTypeId = {NET_DEBIT_CAP}
end note
DB --> SETTLE_DAO: Return **netDebitCap**
deactivate DB
note right of SETTLE_DAO #lightgray
**isLimitExceeded** = netDebitCap - dfspPositionValue - dfspReservedValue - t.dfspAmount < 0
end note
opt isLimitExceeded == true
SETTLE_DAO -> DB: Select max participantPositionChangeId
activate DB
hnote over DB #lightyellow
SELECT participantPositionChangeId
FROM **participantPositionChange**
WHERE participantPositionId = {dfspPositionId}
ORDER BY 1 DESC
LIMIT 1
end note
DB --> SETTLE_DAO: Return **startAfterPositionChangeId**
deactivate DB
SETTLE_DAO->SETTLE_DAO: Increase NET_DEBIT_CAP with the value of t.amount\n//using ParticipantFacade.adjustLimits method//
end
SETTLE_DAO->DB: Persist latest dfsp position & dfsp position change
hnote over DB #lightyellow
UPDATE **participantPosition**
SET value = {dfspPositionValue + t.dfspAmount}
WHERE participantPositionId = {dfspPositionId}
INSERT INTO **participantPositionChange**
(participantPositionId, transferStateChangeId, value, reservedValue)
VALUES ({dfspPositionId}, {transferStateChangeId},
{dfspPositionValue + t.dfspAmount}, {dfspReservedValue})
end note
activate DB
deactivate DB
SETTLE_DAO -> DB: Select hub position FOR UPDATE
activate DB
hnote over DB #lightyellow
SELECT participantPositionId AS hubPositionId,
value AS hubPositionValue
FROM **participantPosition**
WHERE participantCurrencyId = t.hubAccountId
FOR UPDATE
end note
DB --> SETTLE_DAO: Return **hubPositionId** and **hubPositionValue**
deactivate DB
SETTLE_DAO->DB: Persist latest hub position & hub position change
hnote over DB #lightyellow
UPDATE **participantPosition**
SET value = {hubPositionValue + t.hubAmount}
WHERE participantPositionId = {hubPositionId}
INSERT INTO **participantPositionChange**
(participantPositionId, transferStateChangeId,
value, reservedValue)
VALUES ({hubPositionId}, {transferStateChangeId},
{hubPositionValue + t.hubAmount}, 0)
end note
activate DB
deactivate DB
end
end
end
end
deactivate SETTLE_DAO
@enduml
| false | true | true | false | sequence |
4bc8ed1081ebffcb5e7c88e840c310048b922927 | f5f59016295a183565af167a861e2c8db9f1b070 | /diagrams/src/lib/utility/Application.Utility/Startup/Cors.puml | d7a7f340cf3163d3818bbdc00fdb7ea284110f89 | [
"MIT"
] | permissive | converge-app/collaboration-broker-service | fb21788289134c265f1cd5db3ceaa3f32ba18406 | 69c676a5bbb3e602f939f9c91680560a6c63926a | refs/heads/master | 2023-03-19T11:36:58.937045 | 2019-12-17T12:06:26 | 2019-12-17T12:06:26 | 218,333,241 | 0 | 0 | MIT | 2023-03-04T01:16:20 | 2019-10-29T16:29:32 | C# | UTF-8 | PlantUML | false | false | 221 | puml | @startuml
class Cors <<static>> {
+ {static} AddMultipleDomainSupport(services:IServiceCollection) : IServiceCollection
+ {static} UseMultipleDomainSupport(app:IApplicationBuilder) : IApplicationBuilder
}
@enduml
| false | true | false | false | class |
eedae6a81d82ccab0daef1f95c020c591047acf8 | 974a939a279a9851288df95628b8e36edf75b7f1 | /docs/request-execution.puml | b715436a0f9268fcecce642c97071f772385d48e | [
"Apache-2.0",
"MIT"
] | permissive | ipfs/go-graphsync | 0d68cdfdc9b695fe65639db9d5e62f88a4f2273b | e71ac280ba417dbff2eb596580e10da0050cf589 | refs/heads/main | 2023-08-21T14:54:31.143111 | 2023-08-14T07:54:12 | 2023-08-14T07:54:12 | 168,623,476 | 108 | 38 | NOASSERTION | 2023-08-29T22:12:03 | 2019-02-01T01:27:06 | Go | UTF-8 | PlantUML | false | false | 3,452 | puml | @startuml Request Execution
participant "GraphSync\nTop Level\nInterface" as TLI
participant RequestManager
participant TaskQueue
participant RequestExecutor as RE
participant ReconciledLoader
participant TraversalRecord
participant Verifier
participant LocalStorage
participant Traverser
participant Network
== Initialization ==
TLI -> RequestManager ** : Setup
TLI -> RE ** : Setup
TLI -> TaskQueue ** : Setup
== Executing A Request ==
par
note over TLI : Request Initiation
TLI -> RequestManager : New Request
RequestManager -> RequestManager : Create Request Context
RequestManager -> TaskQueue : Push Request
else
note over RE: Request Execution
TaskQueue -> RE : Next Request\nTo Process
RE -> RequestManager : Initiate request execution
RequestManager -> Traverser ** : Create to manage selector traversal
RequestManager -> ReconciledLoader ** : create to manage
RequestManager -> RE : Traverser + ReconciledLoader
note over RE: Local loading phase
loop until traversal complete, request context cancelled, or missing block locally
Traverser -> RE : Request to load blocks\nto perform traversal
RE -> ReconciledLoader : Load next block
ReconciledLoader -> LocalStorage : Load Block
LocalStorage --> ReconciledLoader : Block or missing
ReconciledLoader -> TraversalRecord : Record link traversal
TraversalRecord --> ReconciledLoader
ReconciledLoader --> RE : Block or missing
opt block is present
RE --> Traverser : Next block to load
end
end
RE -> Network : Send Graphsync Request
RE -> ReconciledLoader : remote online
ReconciledLoader -> Verifier ** : Create new from traversal record
ReconciledLoader -> RE
note over RE: Remote loading phase
loop until traversal complete, request context cancelled, or missing block locally
Traverser -> RE : Request to load blocks\nto perform traversal
RE -> ReconciledLoader : Load next block
alt on missing path for remote
ReconciledLoader -> LocalStorage : Load Block
LocalStorage --> ReconciledLoader : Block or missing
else
loop until block loaded, missing, or error
opt new remote responses
alt verification not done
ReconciledLoader -> Verifier : verify next response
alt success
Verifier --> ReconciledLoader : verified
ReconciledLoader -> ReconciledLoader : wait for more responses
else failure
Verifier --> ReconciledLoader : error
end
else verification done
alt next response matches current block load
alt next response contains a block
ReconciledLoader -> LocalStorage : store remote block
LocalStorage --> ReconciledLoader
ReconciledLoader -> ReconciledLoader : block laoded from remote
else next response does not contain block
opt next response is missing
ReconciledLoader -> ReconciledLoader : record missing path
end
ReconciledLoader -> LocalStorage : load block
LocalStorage --> ReconciledLoader : block or missing
end
else next response doesn not match
ReconciledLoader -> ReconciledLoader : error
end
end
end
opt remote goes offline
ReconciledLoader -> LocalStorage : load block
LocalStorage --> ReconciledLoader : block or missing
end
end
ReconciledLoader -> TraversalRecord : Record link traversal
TraversalRecord --> ReconciledLoader
ReconciledLoader --> RE : Block, missing or error
RE -> Traverser : Next block to load
end
end
else
Network -> RequestManager : New Responses
RequestManager -> ReconciledLoader : Ingest Responses
end
@enduml | false | true | false | false | sequence |
5c8be7e647809c23b900833b098a10b8d75e91c4 | 892c7cb6097d20930aa1a7237fe3405ccbc7d0d6 | /Docs/Architecture/CleanArchitecture-ClassesDiagram.puml | cee691735b73964d5ae842c993874f63af75314d | [] | no_license | Master-Desarrollador-de-software/uno-requirements | b9c52993f58854561dbcc7834be987961f9095f2 | fa8f5a7e851756ef2bbe84e1b012791732ab6490 | refs/heads/main | 2023-07-01T17:38:12.424305 | 2021-07-24T09:48:19 | 2021-07-24T09:48:19 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,230 | puml | @startuml
'https://plantuml.com/class-diagram
package Application
{
package Domain
{
class Entity
}
note top of Domain
R. Martin, en el
diagrama anterior,
deja caer que el dominio
puede estar envuelto
por la aplicación
end note
UseCaseInteractor --> Entity
UseCaseInteractor --|> InputBoundary
UseCaseInteractor ..> OutputData
UseCaseInteractor --> OutputBoundary
UseCaseInteractor --> Gateway
interface InputBoundary
interface OutputBoundary
InputBoundary ..> InputData
OutputBoundary ..> OutputData
class InputData << (S, orange) Data structure>>
class OutputData << (S, orange) Data structure>>
interface Gateway
Gateway ..> Entity
}
package Infrastructure
{
interface View
RepositoryDAO --|> Gateway
RepositoryDAO --> Database
ViewImplementation --|> View
}
package Adapters
{
Controller ..> InputData
Controller --> InputBoundary
Presenter --|> OutputBoundary
Presenter ..> OutputData
Presenter ..> ViewModel
Presenter --> View
View ..> ViewModel
class ViewModel << (S, orange) Data structure>>
}
@enduml | false | true | true | false | class |
a47b2f210ca6a23ac8e3b00f260de8709e9002f5 | 5992899e0dc7e047598bf810d6d66fb171b6b8fa | /src/main/javadoc/resources/fr/kbertet/dgraph/Node.iuml | 85bb4b8792d2d0325df5e056bb886eb834381de5 | [
"CECILL-B"
] | permissive | kbertet/java-lattices | 9e237162ce8330f64769e27284a7f98fa189206f | ddca76f97c41024866e3f3a32b719cb0492c034b | refs/heads/master | 2020-12-03T09:19:43.451861 | 2014-12-12T11:20:45 | 2014-12-12T11:20:45 | 29,913,611 | 1 | 0 | null | 2015-01-27T12:41:58 | 2015-01-27T12:41:58 | null | UTF-8 | PlantUML | false | false | 602 | iuml | package fr.kbertet.dgraph {
class Node {
-int identifier
-Object content
-{static} int count = 0
.. Constructors ..
+Node(final Object content)
+Node()
.. Creators ..
+Node clone()
.. Accessors ..
+int getIdentifier()
+Object getContent()
.. Mutators ..
+Node setContent(final Object content)
.. Transformers ..
+String toString()
.. Comparators ..
+boolean equals(final Object object)
+int hashCode()
+int compareTo(final Object object)
}
}
| false | true | false | false | class |
6f24015abeefdbe8cecccbdd11f7219513e97610 | 9e101f61f9893795d4c2c6fcb404b9be386547f0 | /diagrams/models/use-case.plantuml | 35b08010cd9db472cfee7b4dcc2a3718fbf118bc | [
"MIT"
] | permissive | tienvx/mbt-assets | 6ed2f3682e2b29c2fcbfdc3ae9eeb97834c84ab4 | ee411bd11e6496e295346077b920ba9af07d3ac6 | refs/heads/master | 2020-05-17T23:53:51.386275 | 2019-04-30T11:56:07 | 2019-04-30T11:56:07 | 184,045,395 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 221 | plantuml | @startuml
left to right direction
skinparam packageStyle rectangle
actor User as user << Human >>
database Database as database
rectangle "MBT Bundle" {
user --> (view models)
(view models) --> database
}
@enduml
| false | true | false | false | usecase |
f4a7aa1d2d1890998655d8b1192537978c556c13 | fbe1dfa9dc016367ee5c1bf32c4689bdfb9d868e | /orchestrator/src/main/java/orchestrator/config/config.plantuml | 8ca157d5427cf8668382e14672095bed3071cfc5 | [] | 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 | 400 | plantuml | @startuml
title __CONFIG's Class Diagram__\n
namespace orchestrator {
namespace config {
class orchestrator.config.JacksonConfig {
+ jacksonObjectMapper()
}
}
}
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 |
1c665208caa50d13c3c4caa2f0ae369cbbab796a | 3150c7ff97d773754f72dabc513854e2d4edbf04 | /P3/STUB_Yeste_Guerrero_Cabezas/libraries/concordion-2.1.1/src/test-dummies/java/spec/concordion/common/results/runTotals/testsuite/testsuite.plantuml | e02584fc24b435e01bea9764f58d90588f67f1f4 | [
"WTFPL",
"Apache-2.0"
] | permissive | leRoderic/DS18 | c8aa97b9d376788961855d6d75996990b291bfde | 0800755c58f33572e04e7ce828770d19e7334745 | refs/heads/master | 2020-03-29T05:14:14.505578 | 2019-11-07T18:01:37 | 2019-11-07T18:01:37 | 149,574,113 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 472 | plantuml | @startuml
title __TESTSUITE's Class Diagram__\n
package spec.concordion.common.results.runTotals {
package spec.concordion.common.results.runTotals.testsuite {
class TestSuiteFixture {
+ runTotalsExtension : RunTotalsExtension
}
}
}
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 |
b2e536a713dc873b0aa54b8bff31567e5e331cf4 | ad3cc5450c8e0d30e3ddbc36db6fbb053e8965fb | /projects/oodp/html/umlversion/sg/edu/ntu/scse/cz2002/ui/package.puml | 1bac82ec0067bf0a43c42ce2bce5ba077027ec87 | [] | no_license | itachi1706/How-to-use-Git-NTUSCSE1819-Site | d6fcba79d906e9916c3961b11a6e1318d8a0f602 | dbce2f56b42e15be96bd40fd63e75389d397ca34 | refs/heads/master | 2021-07-12T15:24:44.197085 | 2020-08-01T12:31:23 | 2020-08-01T12:31:23 | 172,893,030 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 4,897 | puml | @startuml
namespace sg.edu.ntu.scse.cz2002.ui {
class ReservationMenuUI [[../sg/edu/ntu/scse/cz2002/ui/ReservationMenuUI.html]] {
-input: Scanner
-MAX_TABLES: int
#generateMenuScreen(): int
-createReservationBooking(): void
-findTableForReservation(numPax:int, resvDate:LocalDate, resvSession:char): int
-checkReservationBooking(): void
-removeReservationBooking(): void
-checkExpiredReservations(): void
-listReservations(): void
-printReservationLine(r:Reservation): void
-printReservationLine(telNo:String): int
-checkMorningSessionDate(date:LocalDate, isToday:boolean): boolean
-checkEveningSessionDate(date:LocalDate, isToday:boolean): boolean
}
class MenuChoiceInvalidException [[../sg/edu/ntu/scse/cz2002/ui/MenuChoiceInvalidException.html]] {
+MenuChoiceInvalidException(tag:String)
}
class FoodMenuUI [[../sg/edu/ntu/scse/cz2002/ui/FoodMenuUI.html]] {
-sc: Scanner
#generateMenuScreen(): int
-printMenu(): void
-addNewMenuItem(): void
-editMenuItem(): void
-deleteMenuItem(): void
}
class PromotionMenuUI [[../sg/edu/ntu/scse/cz2002/ui/PromotionMenuUI.html]] {
-sc: Scanner
#generateMenuScreen(): int
-printPromotion(): void
-addNewPromotion(): void
-editPromotion(): void
-deletePromotion(): void
}
class CheckoutMenuUI [[../sg/edu/ntu/scse/cz2002/ui/CheckoutMenuUI.html]] {
{static} -RECEIPT_SUBFOLDER: String
#generateMenuScreen(): int
-checkout(): boolean
-reprint(): void
-generateReceipt(o:Order, total:double, paid:double, type:Invoice.PaymentType): ArrayList<String>
-centerText(toCenter:String, length:int, spacer:char): String
-spacer(length:int, spacer:char): String
-requestCashPayment(total:double): double
-writeReceipt(receipt:ArrayList<String>, receiptId:int): boolean
-printOrderDetails(o:Order): double
}
class MainMenuUI [[../sg/edu/ntu/scse/cz2002/ui/MainMenuUI.html]] {
#generateMenuScreen(): int
-checkTableAvailability(): void
}
class StaffMgmtMenuUI [[../sg/edu/ntu/scse/cz2002/ui/StaffMgmtMenuUI.html]] {
#generateMenuScreen(): int
-createNewStaff(): void
-editStaffInfo(): void
-removeStaff(): void
-listAllStaff(): void
}
abstract class BaseMenu [[../sg/edu/ntu/scse/cz2002/ui/BaseMenu.html]] {
{static} -PRINT_WINDOW_MAX_SIZE: int
+startMainMenu(): boolean
{static} #printHeader(headerName:String): void
{static} #printHeader(headerName:String, length:int): void
{static} #printBreaks(length:int): void
{static} #printBreaks(): void
{static} #doMenuChoice(max:int, specialEscape:int): int
{abstract} #generateMenuScreen(): int
}
class SalesRevenueReportMenuUI [[../sg/edu/ntu/scse/cz2002/ui/SalesRevenueReportMenuUI.html]] {
#generateMenuScreen(): int
-generateDayReport(): void
-generatePeriodReport(): void
-generateItemList(invoices:ArrayList<Invoice>): ArrayList<String>
}
class OrderMenuUI [[../sg/edu/ntu/scse/cz2002/ui/OrderMenuUI.html]] {
{static} +incompleteOrders: ArrayList<Order>
#generateMenuScreen(): int
-editOrderMenuScreen(orderNumber:int): void
-createOrder(): void
-viewOrder(): void
-editOrder(): void
-addOrderItem(o:Order): void
-addAlaCarteItem(o:Order): void
-editOrderItem(o:Order): void
-removeOrderItem(o:Order): void
-findOrder(id:int, allowFromPaid:boolean): Order
{static} +printOrderList(orders:ArrayList<Order>, tag:String, tableSort:boolean): void
-printOrderDetails(o:Order): void
-getOrderItemToEdit(o:Order, prompt:String): int
{static} +printOrderItems(items:ArrayList<OrderItem>, prettyPrint:boolean): void
}
BaseMenu <|-- ReservationMenuUI
class java.lang.IllegalStateException
java.lang.IllegalStateException <|-- MenuChoiceInvalidException
BaseMenu <|-- FoodMenuUI
BaseMenu <|-- PromotionMenuUI
BaseMenu <|-- CheckoutMenuUI
BaseMenu <|-- MainMenuUI
BaseMenu <|-- StaffMgmtMenuUI
BaseMenu <|-- SalesRevenueReportMenuUI
BaseMenu <|-- OrderMenuUI
}
center footer UMLDoclet 1.1.3, PlantUML 1.2018.12
@enduml
| false | true | false | false | class |
cc9333125066b494086479c5eb0b414bc0f5caf7 | 372e13940be1f116c671dbb746617a331f06899e | /Assets/TPPackages/com.cocoplay.core/Documentation-/puml/Editor/Menu/FindMissingScriptsRecursively.puml | 2d523173d2e7a000a7dc5bcbee3b53969c0244bd | [] | no_license | guolifeng2018/CIGA-Game-Jam | 797734576510e27b5c5cee2eb17c1444f51d258c | fcd03e5579bef3bffe2cb51f52ba11a49a9cc02d | refs/heads/master | 2022-12-10T19:21:15.522141 | 2020-08-16T10:06:23 | 2020-08-16T10:06:23 | 285,986,041 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 69 | puml | @startuml
class FindMissingScriptsRecursively <<static>> {
}
@enduml
| false | true | false | false | class |
3404dd19c8d0c282fae0b623029ee3c525592358 | 2bc551f9c2ecb57ec0cb93ad18d3ce0bafbddb34 | /设计模式/设计模式尚硅谷/designpatternlearning/src/main/java/tk/designpattern/interpret/interpreter.puml | bd9d50352955c871d0077f4867ad2fe6711f74b0 | [] | no_license | YiboXu/JavaLearning | c42091d6ca115826c00aad2565d9d0f29b1f5f68 | 97b4769ebbe096e0ab07acb6889fb177e2ca5abe | refs/heads/master | 2022-10-27T23:47:54.637565 | 2020-06-16T09:12:09 | 2020-06-16T09:12:09 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 730 | puml | @startuml
class client{}
class Calculator{
- Expression expression;
+ Expression getExpression();
}
abstract class Expression{
+ int interpret(HashMap<String,Integer> var);
}
class VarExpression extends Expression{
- String varName
+ int interpret(HashMap<String,Integer> var);
}
abstract class SymbolExpression extends Expression{
- Expression left;
- Expression right;
+ Expression getLeft();
+ Expression getRight();
+ int interpret(HashMap<String,Integer> var);
}
class SubExpression extends SymbolExpression{
+ int interpret(HashMap<String,Integer> var);
}
class AddExpression extends SymbolExpression{
+ int interpret(HashMap<String,Integer> var);
}
Calculator o- Expression
Calculator <-- Client
@enduml | false | true | false | false | class |
76e1d80c1dd52faf03e9614ab4c39d12a8cdc96f | 3d827f7e97f354276e39ffa182287be74f0fdfa8 | /tasks/uml/auth_shema.puml | d5c88d93b83a0871d8f2d3ff740af647c8e837f0 | [] | no_license | AlexanderNiMo/auth_s_1 | fe5991fc0989bb44c189862d7c8e651218cefa99 | 8ed86cc41bf3e1eda3300e3a8b1dd00514b4b686 | refs/heads/main | 2023-05-19T17:23:27.388518 | 2021-05-29T15:16:30 | 2021-05-29T15:16:30 | 370,142,424 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 3,345 | puml | @startuml
actor client #white
participant server #blue
database db_postgres #green
database db_redis #green
== register ==
client -> server : /register
note left
data:
e-mail
password
end note
server -> db_postgres: check e-mail
note left: e-mail
db_postgres -x server: e-mail exists
server->client: 409 e-mail exists
db_postgres -> server: success
server -> db_postgres: add user
note left
data:
e-mail
password
end note
server-> client: redirect /login
newpage
== cred. authentication ==
client -> server : /login
note left
data:
e-mail
password
end note
server -> db_postgres: check credentials
note left
data:
e-mail
password
end note
db_postgres -x server: invalid
server ->client: invalid password or e-mail
db_postgres -> server: success
server -> db_redis: {session id: user_id}
note left: expire 10m
server -> client: session id
== qr code authentication ==
client -> server: /2f_auth/sync
note left: data: session_id
server -> db_redis: check session_id
note left: data: session_id
db_postgres -x server: invalid session
server -x client: 401
db_redis -> server: user_id
server -> db_postgres: send qr secret
note left
data:
user_id
qr_secret
end note
server -> client: provisioning_url
client -> server: /2f_auth/check
note left
data:
session_id
code
end note
server -> db_redis: check session_id
db_postgres -x server: invalid session
server -x client: 401
db_redis -> server: user_id
server -> db_postgres: user_id
db_postgres -> server: qr_secret
server -> server: check user code with secret
server -x client: wrong code
server -> db_redis: pop session_id
server -> db_redis: {refresh_token: user_id}
note left: expire 10 days
server -> db_postgres: login data
note left
date:
user_id
user_agent
device
login_date_time
end note
server -> client: jwt_token; refresh token
newpage
== check jwt_token ==
client -> server: /check_user
note left: data: jwt_token
server -> server: check jwt_token
server -x server: invalid jwt_token
server -x client: 401
server -> db_postgres: get user daata
db_postgres -> server: user_data
note right
data:
user_id
name
end note
server -> client: user_data
note right
data:
user_id
name
end note
newpage
== refresh jwt token ==
client -> server: refresh token
server -> db_redis: check refresh_token
db_redis -x server: invalid refresh_token
server -x client: 401
db_redis -> server: refresh_token data
server -> db_redis: new refresh token
server -> client: new jwt_token; new refresh token
newpage
== update user data ==
client -> server: new cred data
note left
data:
jwt_token
new_user_data
password
end note
server -> server: check jwt token
server -x client: 401
note right: check fail
server -> server: success
server -> db_postgres: get user data
db_postgres -> server: user data
server -> server: check password
server -x client: 401
note right: check fail
server -> server: success
server -> db_postgres: update user data
db_postgres -x server: fail
note right: details
server->client: 409
note right: details
db_postgres -> server: success
server -> client: success
newpage
== logout ==
client -> server: /logout
note left
data:
jwt_token
refresh_token
end note
server-> server: check jwt_token
server -x client: 401
note right: check fail
server -> db_redis: expire refresh_token
server -> client: success
@enduml | false | true | false | false | sequence |
7b1ef4bdaf7f20c200ba47e16d1c24124c6fe10f | 240a6a7d460b21fc89e9f0a8be3081174f4f27d4 | /slideshow-classes.puml | 9cff39bc478b768030f0df1b5390f0c34711e075 | [] | no_license | Imater/slideshow | 7102d343a7e49b2a72a1610fed2c75eb5ae9f19f | 83b808aac0ee52bf719de1858cc4aa91a943d591 | refs/heads/master | 2021-01-18T14:13:54.672027 | 2014-08-14T12:56:22 | 2014-08-14T12:56:22 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 489 | puml | @startuml
Class Controller {
playButtonPress()
nextButtonPress()
prevButtonPress()
nextAlbum()
prevAlbum()
}
Class Play {
play(speed)
pause()
stop()
next()
prev()
goto()
status()
}
Class Album {
set()
get()
preload(firstSlide, lastSlide)
}
Class Slide {
load()
}
Class Photo {
load()
}
Class Transition {
}
Controller "1..*" <-- "1" Play
Play "1" o-- "1" Album
Album "1" o-- "*" Slide
Slide "1" o-- "*" Photo
Slide "1" o-- "*" Transition
@enduml
| false | true | false | false | class |
e642b47bfa6413af7812d4c344c3e8d6262ae602 | cdb606dde28f1fa1c44f54a991937fcf20d69096 | /sfd1400/current.puml | 9fae3eac0c53c96681b680033e28efbea87f9ffb | [] | no_license | fzerorubigd/slides | 543f6834acc63988b49d5d754554b91722af294d | 25748648c89815bcae7964cdb7e0c954265aa136 | refs/heads/master | 2023-08-05T02:09:36.296735 | 2021-09-15T21:51:09 | 2021-09-15T21:51:09 | 34,892,418 | 9 | 4 | null | 2020-10-27T12:59:46 | 2015-05-01T06:38:50 | Go | UTF-8 | PlantUML | false | false | 295 | puml | @startuml
'https://plantuml.com/component-diagram
node "K8S" {
[Nginx/Ingress]
node "Nginx/PHP-fpm" {
[ Nginx ] - [PHP-fpm]
}
database "Postgrsql" {
}
database "Redis" {
}
}
[Nginx/Ingress] --> [ Nginx ]
[PHP-fpm] --> Postgrsql
[PHP-fpm] --> Redis
@enduml | false | true | false | false | sequence |
3327d76280d7795b6cb2d817609acfb0f68b0a13 | 63114b37530419cbb3ff0a69fd12d62f75ba7a74 | /plantuml/Library/PackageCache/com.unity.textmeshpro@2.1.1/Scripts/Runtime/TMP_FontAsset.puml | ced556f611485241faf871c63a5a93b26983704b | [] | 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 | 3,002 | puml | @startuml
enum AtlasPopulationMode {
Static= 0x0,
Dynamic= 0x1,
}
class TMP_FontAsset {
+ version : string <<get>> <<internal set>>
+ atlasTextureCount : int <<get>>
+ isMultiAtlasTexturesEnabled : bool <<get>> <<set>>
+ atlasWidth : int <<get>> <<internal set>>
+ atlasHeight : int <<get>> <<internal set>>
+ atlasPadding : int <<get>> <<internal set>>
+ normalStyle : float = 0
+ normalSpacingOffset : float = 0
+ boldStyle : float = 0.75f
+ boldSpacing : float = 7f
+ italicStyle : byte = 35
+ tabSize : byte = 10
+ {static} CreateFontAsset(font:Font) : TMP_FontAsset
+ {static} CreateFontAsset(font:Font, samplingPointSize:int, atlasPadding:int, renderMode:GlyphRenderMode, atlasWidth:int, atlasHeight:int, atlasPopulationMode:AtlasPopulationMode, enableMultiAtlasSupport:bool) : TMP_FontAsset
Awake() : void
+ ReadFontAssetDefinition() : void
AddSynthesizedCharacter(unicode:uint, addImmediately:bool) : void
+ HasCharacter(character:int) : bool
+ HasCharacter(character:char, searchFallbacks:bool, tryAddCharacter:bool) : bool
HasCharacter_Internal(character:uint, searchFallbacks:bool, tryAddCharacter:bool) : bool
+ HasCharacters(text:string, missingCharacters:List<char>) : bool
+ HasCharacters(text:string, missingCharacters:uint[], searchFallbacks:bool, tryAddCharacter:bool) : bool
+ HasCharacters(text:string) : bool
+ {static} GetCharacters(fontAsset:TMP_FontAsset) : string
+ {static} GetCharactersArray(fontAsset:TMP_FontAsset) : int[]
+ TryAddCharacters(unicodes:uint[], includeFontFeatures:bool) : bool
+ TryAddCharacters(unicodes:uint[], missingUnicodes:uint[], includeFontFeatures:bool) : bool
+ TryAddCharacters(characters:string, includeFontFeatures:bool) : bool
+ TryAddCharacters(characters:string, missingCharacters:string, includeFontFeatures:bool) : bool
TryAddGlyphsToNewAtlasTexture() : bool
SetupNewAtlasTexture() : void
CopyListDataToArray(srcList:List<T>, dstArray:T[]) : void
+ ClearFontAssetData(setAtlasSizeToZero:bool) : void
UpgradeGlyphAdjustmentTableToFontFeatureTable() : void
}
class "List`1"<T> {
}
class "Dictionary`2"<T1,T2> {
}
TMP_Asset <|-- TMP_FontAsset
TMP_FontAsset --> "sourceFontFile" Font
TMP_FontAsset --> "atlasPopulationMode" AtlasPopulationMode
TMP_FontAsset --> "faceInfo" FaceInfo
TMP_FontAsset --> "glyphTable<Glyph>" "List`1"
TMP_FontAsset --> "glyphLookupTable<uint,Glyph>" "Dictionary`2"
TMP_FontAsset --> "characterTable<TMP_Character>" "List`1"
TMP_FontAsset --> "characterLookupTable<uint,TMP_Character>" "Dictionary`2"
TMP_FontAsset --> "atlasTexture" Texture2D
TMP_FontAsset --> "fontInfo" FaceInfo_Legacy
TMP_FontAsset --> "atlas" Texture2D
TMP_FontAsset --> "atlasRenderMode" GlyphRenderMode
TMP_FontAsset --> "fontFeatureTable" TMP_FontFeatureTable
TMP_FontAsset --> "fallbackFontAssetTable<TMP_FontAsset>" "List`1"
TMP_FontAsset --> "creationSettings" FontAssetCreationSettings
@enduml
| false | true | false | false | class |
3efd62bcc6e516e39ebc930a90c2fdccbbbf2f15 | a3faded5a55bc21be298300d143d41f6e50a9ce6 | /struct-flyweight-design/struct-flyweight-uml.puml | 8af7af34c0be0386962856dfe231b34a4044c3da | [] | no_license | qiding1991/design-pattern | 7c506e5d4abd1f010751f644888d422cd01dbf36 | 696fd672b0badbeab9fda8aa57c42fe8bbfe55e1 | refs/heads/master | 2021-07-16T03:15:50.424962 | 2019-10-23T13:41:05 | 2019-10-23T13:41:05 | 215,778,627 | 0 | 1 | null | 2020-10-13T16:56:06 | 2019-10-17T11:44:06 | Java | UTF-8 | PlantUML | false | false | 828 | puml | @startuml
class FlyweightFactory{
- flyweights: Hash<String,Flyweight>
+ getFlyweight: Flyweight
}
interface Flyweight{
+ operation(UnShareableFlyweight unshare):void
}
class UnShareableFlyweight{
- info:String
+ setInfo(String info):void
- getInfo():String
}
class ConcreteFlyweight1{
- key:String
+ ConcreteFlyweight(String flyweightKey):void
+ operation(UnShareableFlyweight unshare):void
}
class ConcreteFlyweight2{
- key:String
+ ConcreteFlyweight(String flyweightKey):void
+ operation(UnShareableFlyweight unshare):void
}
FlyweightFactory o--Flyweight
Flyweight.>UnShareableFlyweight
Flyweight<|..ConcreteFlyweight1
Flyweight<|..ConcreteFlyweight2
FlyweightFactory <. Client
Client..>Flyweight
@enduml | false | true | false | false | class |
1ea61865d620fac3b9f09fd6cb4a91867c574859 | 92692d636eca83bf56f07c92b553265ee7203dcf | /src/main/java/com/peppayi/designpattern/headfirst/chapters/chapter02/uml/weather.puml | 3fcf4bbeb0c0943e84719f1fcb5e68067a13d78c | [] | no_license | qingzhusay/design-pattern | 19aee4b20296b17539db12d5826d3fb97657880f | bd31c8a22b79290a65c86501a77516c8969a8318 | refs/heads/master | 2022-08-29T20:34:45.487283 | 2020-05-09T14:46:06 | 2020-05-09T14:46:06 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,256 | puml | @startuml
package "Weather Station" <<Frame>> {
interface Subject <<interface>> {
+ void registerObserver()
+ void removeObserver()
+ void notifyObservers()
}
interface Observer <<interface>> {
+ void update()
}
Subject -right-> "*" Observer: observers
interface DisplayElement <<interface>> {
+ void display()
}
class WeatherData {
+ void registerObserver()
+ void removeObserver()
+ void notifyObservers()
+ double getTemperature()
+ double getHumidity()
+ double getPressure()
+ void measurementsChanged()
}
Subject <|.. WeatherData
class CurrentConditionsDisplay {
+ void update()
+ void display()
}
Observer <|.. CurrentConditionsDisplay
DisplayElement <|.. CurrentConditionsDisplay
CurrentConditionsDisplay -left-> Subject: subject
class StatisticsDisplay {
+ void update()
+ void display()
}
Observer <|.. StatisticsDisplay
DisplayElement <|.. StatisticsDisplay
class ForecastDisplay {
+ void update()
+ void display()
}
Observer <|.. ForecastDisplay
DisplayElement <|.. ForecastDisplay
}
package "API" <<Rectangle>> {
class ThirdPartyDisplay {
+ void update()
+ void display
}
Observer <|.. ThirdPartyDisplay
DisplayElement <|.. ThirdPartyDisplay
}
@enduml | false | true | false | false | sequence |
f2cb45dc614ffe0afcd10a88b4f18611b9fa0c49 | c2b83ffbeb0748d1b283e093f0b987bdbc3d27ac | /docs/uml-class-diagrams/display01/production/DisplayGpsReceiver/DisplayGpsReceiver.puml | 4161109137308bb52c0e5a04a1c5ce1554d6ddde | [] | no_license | Slackjaw1431/csi-3370-software-project | 79666760712ee4625bea3daea48c7072e7826465 | af44ad1066695e4f9eff74eda79cebef3ad2b1af | refs/heads/main | 2023-03-23T23:03:17.404846 | 2021-03-17T18:52:02 | 2021-03-17T18:52:02 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 356 | puml | @startuml DisplayGpsReceiver
package edu.oakland.production.display01 {
interface DisplayGpsReceiver {
__
.. Use Case 1 ..
{abstract} + String measureGpsSignalStrength(Satellite satelliteSignal)
.. Use Case 2 ..
{abstract} + SatelliteSignalCheckRequest measureSignal(Satellite satelliteSignal)
}
}
@enduml
| false | true | false | false | class |
52a1e07bcca12cf394559d136e6f388b8d06e304 | b12398ba16bcc093f7aa7384cc6f7f0a24b002b0 | /etc/factory.urm.puml | c07bd4b3032efb6f81e45e9658c0c8a070a79c4f | [] | no_license | AndresTY/BancoPDUSA | f3f2e8d3ed81f133cc812b0219c7f762995e3cc9 | 1a6727f5911e5d870e4e013a3a5b442aefc08ef4 | refs/heads/Master | 2023-08-03T15:21:39.136064 | 2021-09-15T17:12:55 | 2021-09-15T17:12:55 | 406,444,696 | 1 | 1 | null | 2021-09-15T17:12:56 | 2021-09-14T16:31:39 | Java | UTF-8 | PlantUML | false | false | 1,972 | puml | @startuml
package Perfil{
class Producto{
+idCliente:String
+nombreCliente:String
}
}
package Factories{
interface IProductoFactory{
darProducto(): Producto {abstract}
darProducto(String): Producto {abstract}
}
class TarjetaFactory implements IProductoFactory{
darProducto(): Producto
darProducto(String): Producto
}
class CuentaFactory implements IProductoFactory{
darProducto(): Producto
darProducto(String): Producto
}
class CDTFactory implements IProductoFactory{
darProducto(): Producto
darProducto(String): Producto
}
class CreditoRotativoFactory implements IProductoFactory{
darProducto(): Producto
darProducto(String): Producto
}
}
package Tarjeta{
abstract class Tarjeta extends Producto{
-numero:String
+checkNumero():void
+toString():String
}
class TarjetaCredito extends Tarjeta{
-credito:float
-cupo:float
+retirar(float):void
+pagar(float,Cuenta):void
}
class TarjetaDebito extends Tarjeta{
-max:float
~cuenta:Cuenta
+retirar(float):void
+configurar(Cuenta):void
}
}
package Servicios{
class CDT extends Producto{
-cuenta:Cuenta
-cantidad:float
-interes:float
-id:int
-termino:float
}
class CreditoRotativo extends Producto{
-cupoMax:float
-cupoActual:float
-credito:float
-cupo:float
+pagar(float,Cuenta):void
}
}
package Cuentas{
abstract class Cuenta extends Producto{
-activo:boolean
-saldo:float
+retirarDinero(float a):void {abstract}
+checkActivo():void
+toString():String
+mterDinero():void
}
class CuentaAhorros extends Cuenta{
-tasaInteres:float
+generarInteres():void
+retirarDinero(float):void
}
class CuentaCorriente extends Cuenta{
retirarDinero(float):void
}
}
CuentaFactory --> CuentaAhorros: "create"
CuentaFactory --> CuentaCorriente: "create"
TarjetaFactory --> TarjetaDebito: "create"
TarjetaFactory --> TarjetaCredito: "create"
CDTFactory --> CDT: "create"
CreditoRotativoFactory --> CreditoRotativo: "create"
@enduml
| false | true | false | false | sequence |
a99576cf68160b4f490fe051fcc47978292fbf65 | 60a1c1f400010b0b6a72b97e2c69b0a59ebfbd3a | /spring-core/src/main/java/org/springframework/core/io/Resource.puml | 149fd42a3ed8c96ae7cd7821e7d4f11a2e63e496 | [
"Apache-2.0"
] | permissive | BeOriginalH/spring-framework | 3f32959db56930cf3865d88a063b8a7083ca6cc6 | 72a932d4965a7385cf90cebf2b97f531ebfc66da | refs/heads/master | 2023-03-03T18:45:49.538472 | 2023-02-22T15:17:43 | 2023-02-22T15:17:43 | 187,006,833 | 0 | 0 | null | 2019-05-16T10:34:41 | 2019-05-16T10:34:41 | null | UTF-8 | PlantUML | false | false | 890 | puml | @startuml
interface InputStreamSource
interface Resource
class EncodeResource
InputStreamSource <|-- Resource
InputStreamSource <|-- EncodeResource
interface ContextResource
interface WritableResource
abstract class AbstractResource
Resource <|-- AbstractResource
Resource <|-- ContextResource
Resource <|-- WritableResource
class FileSystemResource
class ByteArrayResource
class PathResource
abstract class AbstractFileResolvingResource
class InputStreamResource
AbstractResource <|-- FileSystemResource
AbstractResource <|-- PathResource
AbstractResource <|-- ByteArrayResource
AbstractResource <|-- AbstractFileResolvingResource
AbstractResource <|-- InputStreamResource
class UrlResource
class ClassPathResource
AbstractFileResolvingResource <|-- UrlResource
AbstractFileResolvingResource <|-- ClassPathResource
class FileUrlResource
UrlResource <|-- FileUrlResource
@enduml | false | true | false | false | class |
3f9594bf90d6e656ba2a730ea457f0253804b7b5 | 8346e88afd786d114f567c5efb8ffea7eb8bed86 | /uml/CustomerArea/Models/Customer/CustomerUser.puml | b82af529a62843253c578b9e492b1ae81c46179c | [
"MIT"
] | permissive | lefevbre-organization/eShopOnContainers | 910e7af562fe4fd7cbffc048c402551dad93cf91 | 620dfaf3b8ca51732417432ea3a15d748368967f | refs/heads/lef-main-containers | 2023-02-18T21:08:56.362792 | 2023-02-09T11:02:48 | 2023-02-09T11:02:48 | 203,787,005 | 0 | 0 | MIT | 2023-02-08T05:15:42 | 2019-08-22T12:06:29 | PHP | UTF-8 | PlantUML | false | false | 826 | puml | @startuml
class CustomerUser <<partial>> {
+ Id : string <<get>> <<set>>
+ Version : short <<get>> <<set>>
+ Domains : List<Domain> <<get>> <<set>>
+ Config : Configuration <<get>> <<set>>
+ States : List<State> <<get>> <<set>>
+ Calendars : List<Calendar> <<get>> <<set>>
+ Fields : List<Field> <<get>> <<set>>
+ Tags : List<Tag> <<get>> <<set>>
+ Notifications : List<NotifyTemplate> <<get>> <<set>>
+ Tools : List<Tool> <<get>> <<set>>
+ Smtp : Smtp <<get>> <<set>>
+ Clients : List<Client> <<get>> <<set>>
+ Location : ZoneLocation <<get>> <<set>>
+ DefaultFolders : List<FolderDefault> <<get>> <<set>>
+ Langs : List<Lang> <<get>> <<set>>
+ Logs : List<ModifyLog> <<get>> <<set>>
}
CustomerUserBase <|-- CustomerUser
ICustomerUser <|-- CustomerUser
@enduml
| false | true | false | false | class |
04a889c1296a36d89ee60cc27497efffad27150c | 6801337ace472c00e76bda6b81b009a898519f50 | /src/main/java/oop/exercises/ex43/WebsiteGenerator.puml | 75c5478a63a05f0c4d01597b1476d69a6d3a055e | [] | no_license | JMDeBerry99/deberry-cop3330-assignment3 | 07c428bb0bf6c4d04cf59209abeb6a94b78763f9 | 2130987f9d8fc6bb7140ab6d7a0cbbe96fbd6f38 | refs/heads/master | 2023-06-02T16:25:01.555729 | 2021-06-21T03:11:09 | 2021-06-21T03:11:09 | 377,659,446 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 370 | puml | /*
* UCF COP3330 Summer 2021 Assignment 3 Solution
* Copyright 2021 Jacob DeBerry
*/
@startuml
'https://plantuml.com/class-diagram
class solution43 {
Scanner in
main()
toBoolean()
}
solution43 <|-- WebsiteGenerator
class WebsiteGenerator {
String siteName
String author
boolean js
boolean css
setName()
setAuthor()
setJS()
setCSS()
generateWebsite()
}
@enduml | false | true | false | false | class |
8296726ee0146c789cc13be7ba0dfc4b247fc86c | 0246a4889713a9f37cfe235f04a53eb6770a61ae | /content/en/docs/api-reference/img/KeypleCore-5-SE_Proxy-SE_Selector.iuml | 3443ccd60109b4f170c48ee74d6289e1dea9c69e | [
"Apache-2.0"
] | permissive | jeanpierrefortune/docsy-example | 2022b03167acf7620070d9ff1f11061a71d94898 | b1d35577041ed5788965d95149f6b223ff78b816 | refs/heads/master | 2021-01-14T02:48:32.503680 | 2020-02-25T17:22:53 | 2020-02-25T17:22:53 | 242,576,043 | 0 | 0 | Apache-2.0 | 2020-02-23T19:16:52 | 2020-02-23T19:16:51 | null | UTF-8 | PlantUML | false | false | 2,725 | iuml | @startuml
package org.eclipse.keyple.core.seproxy #FFFFFF {
+enum FileOccurrence {
FIRST
LAST
NEXT
PREVIOUS
}
+enum FileControlInformation {
FCI
FCP
FMD
NO_RESPONSE
}
+class "<b>final</b> AidSelector" as AidSelector <<static>> {
+{static} final int AID_MIN_LENGTH = 5;
+{static} final int AID_MAX_LENGTH = 16;
+AidSelector(byte[] aidToSelect, Set<Integer> successfulSelectionStatusCodes, FileOccurrence fileOccurrence = FIRST, FileControlInformation fileControlInformation = FCI)
+byte[] getAidToSelect()
+boolean isSelectNext()
+Set<Integer> getSuccessfulSelectionStatusCodes()
}
AidSelector +-up- FileOccurrence
AidSelector +-up- FileControlInformation
AidSelector "1" *-up- "1" FileOccurrence
AidSelector "1" *-up- "1" FileControlInformation
+class "<b>final</b> AtrSelector" as AtrSelector <<static>> {
+AtrFilter(String atrRegex)
+void setAtrRegex(String atrRegex) ????
+String getAtrRegex()
+boolean atrMatches(byte[] atr)
}
package protocol #FFFFFF {
enum SeCommonProtocols {
.. contactless ISO standard / NFC compliant ..
PROTOCOL_ISO14443_4("ISO 14443-4", CONTACTLESS)
PROTOCOL_ISO15693("ISO 15693 Type V", CONTACTLESS)
.. contactless proprietary NFC compliant ..
PROTOCOL_ISO14443_3A("ISO 14443-3 Type A", CONTACTLESS)
PROTOCOL_ISO14443_3B("ISO 14443-3 Type B", CONTACTLESS)
PROTOCOL_JIS_6319_4("JIS 6319-4 Felica", CONTACTLESS)
PROTOCOL_NDEF("NFC NDEF TAG", CONTACTLESS)
PROTOCOL_NDEF_FORMATABLE("NFC NDEF FORMATABLE", CONTACTLESS)
PROTOCOL_NFC_BARCODE("NFC BARCODE, CONTACTLESS)
PROTOCOL_MIFARE_UL("Mifare Ultra Light", CONTACTLESS)
PROTOCOL_MIFARE_CLASSIC("Mifare Classic", CONTACTLESS)
PROTOCOL_MIFARE_DESFIRE("Mifare DESFire", CONTACTLESS)
.. contactless proprietary not NFC compliant ..
PROTOCOL_B_PRIME("Old Calypso card B prime", CONTACTLESS)
PROTOCOL_MEMORY_ST25("Memory ST25", CONTACTLESS)
.. contacts ISO standard ..
PROTOCOL_ISO7816_3("ISO 7816-3", CONTACTS)
.. contacts proprietary ..
PROTOCOL_HSP("Old Calypso SAM HSP", CONTACTS)
}
+enum TransmissionMode {
CONTACTS
CONTACTLESS
}
+interface SeProtocol {
+String getName()
+TransmissionMode getTransmissionMode()
}
SeProtocol "1" *-down- "1" TransmissionMode
SeCommonProtocols .up.|> SeProtocol : implements
TransmissionMode -right[hidden]- SeCommonProtocols
}
+class SeSelector {
+SeSelector(SeProtocol seProtocol, AtrFilter atrFilter, AidSelector aidSelector, String extraInfo)
+SeProtocol getSeProtocol()
+AtrFilter getAtrFilter()
+AidSelector getAidSelector()
+final String getExtraInfo()
}
SeSelector +-up- AidSelector
SeSelector "1" o-up- "0..1" AidSelector
SeSelector +-right- AtrSelector
SeSelector "1" o-right- "0..1" AtrSelector
SeSelector "1" o-down- "0..1" SeProtocol
}
@enduml
| false | true | false | false | class |
85052fa77547c1c9f3e39591ffcfbb60802ee3a6 | 3281be818638127209884e1d6dca2a6d530bfbfa | /diagramas/ejemplo_clases_1.puml | 011eaee75dd4a03d645c077248f45c461dd3e1f0 | [
"MIT"
] | permissive | M-Picco/algo3_proyecto_base_tp2 | d1bbcbb0e09ae7446a3198021b8aea9d6d399530 | 7a533cb79149a464e62d5a032d8531c5c953686b | refs/heads/master | 2022-04-10T15:29:31.444894 | 2020-03-09T23:27:43 | 2020-03-09T23:29:02 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 432 | puml | @startuml
ServidorDeLeche <|-- ServidorDeLecheEntera
ServidorDeLeche <|-- ServidorDeLecheDeAlmendra
ServidorDeLeche : {abstract} servirLecheEnVaso: unVaso
HacedorDeCafe <|-- HacedorDeCafeComun
HacedorDeCafe <|-- HacedorDeCafeDescafeinado
HacedorDeCafe : {abstract} servirCafeEnVaso: unVaso
MaquinaDeCafe : {abstract} prepararCafeConLecheEnVaso: unVaso
MaquinaDeCafe *-- HacedorDeCafe
MaquinaDeCafe *-- ServidorDeLeche
@enduml | false | true | false | false | class |
d02963b34e05ce5b38f0f67a9f6a4722b5860430 | 6c14aa19e43b319922b03a2826106c0c020f1ef1 | /2_ood/demo/src/doc/class/car.puml | ad2300e009f5bb525ae79041bbf33bfe30f8ddd3 | [
"MIT"
] | permissive | nvamelichev/hse-java-spring-2021 | 50cdd53aa06baad9e31cc51108f0b356766fbe7b | 5409e60473bf8981d9de41faa2c1e33364bcb806 | refs/heads/main | 2023-05-14T15:00:07.196656 | 2021-06-04T11:48:23 | 2021-06-04T11:48:23 | 336,320,393 | 5 | 11 | MIT | 2021-05-14T10:36:53 | 2021-02-05T16:05:28 | Java | UTF-8 | PlantUML | false | false | 604 | puml | @startuml
interface Named {
+ name(): String
}
class Car
interface Engine
class Person
class Driver
class Passenger
class DriversLicense
' "Is-a":
' a) Interface implementation
Named <|.. Person
Named <|.. Car
' b) Inheritance
Person <|-- Driver
Person <|-- Passenger
' Association ("uses"):
Driver "1" --right-> "0..1" DriversLicense : << holds >>
Driver "*" -- "*" Driver : << talks to >>
' "Has-a":
' a) Composition: ownership
Car "1" *-- "1" Engine
' b) Aggregation: partnership
Car "1" o--- "1" Driver
Car "1" o--- "0..*" Passenger
skinparam linetype ortho
skinparam Shadowing false
@enduml
| false | true | false | false | sequence |
8fadd38b395388a281efc5baf4856bc4a4b4b12c | b922fb063182222e85747dec8b555c198825aacb | /WordEditorAPI/WordEditorAPI.puml | 91cfb69c15e8aa6189b8c5212fc3d72f448c2f0f | [] | no_license | neharkarvishal/WordProcessor | e9ff334f569d97da18535beb8c4e205f76e8748e | 6c29e74151b7610bd85c063c35fc173e47fce52f | refs/heads/master | 2020-03-08T05:45:51.908033 | 2018-04-03T19:13:46 | 2018-04-03T19:13:46 | 127,956,101 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 60 | puml | @startuml
interface org.word.editor.api.WordFilter
@enduml | false | true | false | false | class |
fdfd63524fc4da0ca933511184965e3fa3f72625 | 8d91ff31e22d4f0f2082ebba0c6da8ec4391e8f4 | /src/doc/sequenceDiagram/recharge.puml | d08b52642a1ace2cfe4aad513000a30a3ba10c82 | [] | no_license | suraj903/sportsgeek_backend-1 | fe54372687c96ac6a92a8e76d913bf60f44ffee7 | 99fe51fa81a9df4599f2b3eeac299846d5bf835d | refs/heads/master | 2023-07-28T02:16:51.481764 | 2021-09-13T14:43:12 | 2021-09-13T14:43:12 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 5,376 | puml | @startuml
header SportsGeek
title User Recharge
skinparam ParticipantPadding 10
skinparam BoxPadding 20
actor Admin
box "SportsGeek System"
participant sportsGeek
end box
box "Recharge Service"
participant recharge
end box
box "database"
database database
end box
Admin -> sportsGeek: Get All recharges
activate sportsGeek #lightblue
alt #white Get All recharges
sportsGeek -> "recharge" : Get All recharges
activate recharge #lightblue
recharge -> "database" : Get All recharges
activate "database" #lightblue
"database" --> "recharge" : <font color=darkblue><b> Response recharges Details
deactivate "database"
"recharge" --> "sportsGeek" : <font color=darkblue><b> Response recharges Details
deactivate "recharge"
"sportsGeek" --> Admin : <font color=darkblue><b> Response recharges Details
deactivate "sportsGeek"
end alt
Admin -> "sportsGeek": Get Recharge by Id
activate sportsGeek #lightblue
alt #white Get recharge By Id
note right #yellow
*params*
rechargeId=123
end note
"sportsGeek" -> "recharge" : Get recharge By Id
activate recharge #lightblue
recharge -> "database" : Get recharge By Id
activate "database" #lightblue
"database" --> "recharge" : <font color=darkblue><b>Response recharge Details"
deactivate "database"
"recharge" --> "sportsGeek" : <font color=darkblue><b> Response recharges Details
deactivate "recharge"
"sportsGeek" --> Admin : <font color=darkblue><b> Response recharge Details
deactivate "sportsGeek"
end alt
Admin -> "sportsGeek": Get Recharges of User
activate sportsGeek #lightblue
alt #white Get recharge By User Id
note right #yellow
*params*
userid=123
end note
"sportsGeek" -> "recharge" : Get recharge By User
activate recharge #lightblue
recharge -> "database" : Get recharge By User
activate "database" #lightblue
"database" --> "recharge" : <font color=darkblue><b> Response recharge Details
"recharge" --> "sportsGeek" : <font color=darkblue><b> Response recharge Details
"sportsGeek" --> Admin : <font color=darkblue><b> Response recharge Details
else #pink Not Found
"database" --> "recharge" : <font color=darkblue><b> Response recharge Id Not Found
deactivate "database"
"recharge" --> "sportsGeek" : <font color=darkblue><b> Response recharge Id Not Found
deactivate "recharge"
"sportsGeek" --> Admin : <font color=darkblue><b> Response recharge Id Not Found
deactivate "sportsGeek"
end alt
Admin -> "sportsGeek": Add Recharge
activate sportsGeek #lightblue
note right #yellow
*params*
userId=1
amount=100
end note
alt #white Add recharges
"sportsGeek" -> "recharge" : Add recharge Details
activate recharge #lightblue
recharge -> "database" : Add recharge Details
activate "database" #lightblue
"database" --> "recharge" : <font color=darkblue><b>Response recharge Added Successfully
"recharge" --> "sportsGeek" : <font color=darkblue><b>Response recharge Added Successfully
"sportsGeek" --> Admin : <font color=darkblue><b>Response recharge Added Successfully
else #pink Unable to Add recharge
"database" --> "recharge" : <font color=darkblue><b>Unable to add recharge
deactivate "database"
"recharge" --> "sportsGeek" : <font color=darkblue><b>Response Unable to add recharge
deactivate "recharge"
"sportsGeek" --> Admin : <font color=darkblue><b>Response Unable to add recharge
deactivate "sportsGeek"
end alt
Admin -> "sportsGeek": Update Recharge
activate sportsGeek #lightblue
note right #yellow
*params*
rechargeId=1
amount=100
end note
alt #white Update recharge
"sportsGeek" -> "recharge" : Update recharge
activate recharge #lightblue
recharge -> "database" : Update recharge
activate "database" #lightblue
"database" --> "recharge" : <font color=darkblue><b>Response recharge Updated Successfully
"recharge" --> "sportsGeek" : <font color=darkblue><b>Response recharge Updated Successfully
"sportsGeek" --> Admin : <font color=darkblue><b>Response recharge Updated Successfully
else #pink Not Found
"database" --> "recharge" : <font color=darkblue><b>Response recharge Id not found
deactivate "database"
"recharge" --> "sportsGeek" : <font color=darkblue><b>Response recharge Id not found
deactivate "recharge"
"sportsGeek" --> Admin : <font color=darkblue><b>Response recharge Id not found
deactivate "sportsGeek"
end alt
Admin -> "sportsGeek": Delete Recharge
activate sportsGeek #lightblue
note right #yellow
*params*
rechargeId=1
end note
alt #white Delete recharge
"sportsGeek" -> "recharge" : Delete recharge
activate recharge #lightblue
recharge -> "database" : Delete recharge
activate "database" #lightblue
"database" --> "recharge" : <font color=darkblue><b>Response recharge deleted Successfully
"recharge" --> "sportsGeek" : <font color=darkblue><b>Response recharge deleted Successfully
"sportsGeek" --> Admin : <font color=darkblue><b>Response recharge deleted Successfully
else #pink Not Found
"database" --> "recharge" : <font color=darkblue><b>Response recharge Id not found
deactivate "database"
"recharge" --> "sportsGeek" : <font color=darkblue><b>Response recharge Id not found
deactivate "recharge"
"sportsGeek" --> Admin : <font color=darkblue><b>Response recharge Id not found
deactivate "sportsGeek"
end alt
@enduml | false | true | false | false | sequence |
38d8403d131e7e37065df37ad4d0c863b1942037 | b7d2ba71058efa46eff4ed885324819fb3f99266 | /src/doc/CLI_Controllers/EnergyConsumption/US721/US721_sd_EnergyConsumption.puml | 5ffd16046bb3f713629d5711474401ac05f2afba | [] | no_license | Almadanmp/backend4 | 3aaa5cbe453041917a510ceee83bf318499a9823 | 07ab3c1af9c7de6ff35cf23bf44b0e664db82f46 | refs/heads/master | 2022-11-25T10:30:27.184246 | 2019-06-30T19:26:12 | 2019-06-30T19:26:12 | 194,547,877 | 0 | 0 | null | 2022-11-16T11:54:00 | 2019-06-30T18:24:24 | Java | UTF-8 | PlantUML | false | false | 1,709 | puml | @startuml
title US721 As a Power User [or Administrator], I want to know the total metered energy consumption of a room in a given time interval.
skinparam titleBorderThickness 3
skinparam titleBorderColor indianred
skinparam titleBackgroundColor ivory
skinparam FontName quicksand
skinparam actor {
BorderColor indianred
}
skinparam sequence {
LifeLineBackgroundColor indianred
ParticipantBackgroundColor ivory
}
skinparam roundcorner 10
skinparam component {
arrowThickness 1
ArrowFontName Verdana
ArrowColor indianred
ArrowFontColor darkslategrey
}
actor PowerUser
PowerUser -> EnergyConsumptionUI: runUS721
ref over EnergyConsumptionUI
selectRoom
end ref
activate EnergyConsumptionUI
ref over EnergyConsumptionUI
getInputStartDate
end ref
ref over EnergyConsumptionUI
getInputEndDate
end ref
EnergyConsumptionUI -> EnergyConsumptionController: getRoomConsumptionInInterval \n(startDate, endDate, room)
activate EnergyConsumptionController
EnergyConsumptionController -> Room: getConsumptionInInterval \n(startDate, endDate)
activate Room
Room -> DeviceList: getConsumptionInInterval \n(startDate, endDate)
activate DeviceList
loop get consumption for each device in interval
DeviceList -> Device: getConsumptionInInterval \n(startDate, endDate)
activate Device
Device --> DeviceList: return double
deactivate Device
end
DeviceList --> Room: return sum
deactivate DeviceList
Room --> EnergyConsumptionController: return sum
deactivate Room
EnergyConsumptionController --> EnergyConsumptionUI: return consumptionInInterval
deactivate EnergyConsumptionController
EnergyConsumptionUI -> PowerUser: display total consumption in given interval
deactivate EnergyConsumptionUI
@enduml | false | true | false | false | usecase |
c81a31dff50880dadd0935516a7544b393990465 | fb84bca41a00746017b56791cc1900e4cb811be7 | /plantuml/Players/PlayerMover.puml | 2dc0d41e36ccbeace74b6b1e6ed72616a53985f9 | [] | no_license | MainCastle1212/EverythingEater_Main | 9b3622cc5cca5f78a411cfd7df61fbdec29a8856 | c228f75b78387aee448c6fbb2f3a362dccb724bd | refs/heads/main | 2023-01-12T07:33:38.139825 | 2020-11-12T10:01:22 | 2020-11-12T10:01:22 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 121 | puml | @startuml
class PlayerMover {
Update() : void
}
MonoBehaviour <|-- PlayerMover
PlayerMover --> "timer" Timer
@enduml
| false | true | false | false | class |
d9660c1232c348cee220b68b37e5a11011d0ecb7 | ee6841e96c76962e9f74ba032a25d2e923b7e42c | /casual-things/src/main/resources/framework-uml/spring/beans/beanfactory.puml | 39ecf8efb6578d5d5aff046c8dc8d31a24855f69 | [] | no_license | physicsLoveJava/java-miscellaneous | 614cfbad7dd7679e99c561b210ebbbf1a9df941e | e7563fdc9b5f955662cba40fc48614e45747d020 | refs/heads/master | 2021-07-19T13:30:51.096326 | 2019-01-21T09:09:50 | 2019-01-21T09:09:50 | 105,858,854 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,201 | puml | @startuml
interface BeanFactory
interface SingletonBeanRegistry
interface AliasRegistry
interface ListableBeanFactory extends BeanFactory
interface HierarchicalBeanFactory extends BeanFactory
interface ConfigurableBeanFactory extends HierarchicalBeanFactory, SingletonBeanRegistry
interface AutowireCapableBeanFactory extends BeanFactory
class SimpleAliasRegistry implements AliasRegistry
interface BeanDefinitionRegistry extends AliasRegistry
class DefaultSingletonBeanRegistry extends SimpleAliasRegistry implements SingletonBeanRegistry
abstract class FactoryBeanRegistrySupport extends DefaultSingletonBeanRegistry
abstract class AbstractBeanFactory extends FactoryBeanRegistrySupport implements ConfigurableBeanFactory
abstract class AbstractAutowireCapableBeanFactory extends AbstractBeanFactory implements AutowireCapableBeanFactory
interface ConfigurableListableBeanFactory extends ListableBeanFactory, AutowireCapableBeanFactory, ConfigurableBeanFactory
class XmlBeanFactory extends DefaultListableBeanFactory
class DefaultListableBeanFactory extends AbstractAutowireCapableBeanFactory implements ConfigurableListableBeanFactory, BeanDefinitionRegistry, Serializable
@enduml | false | true | false | false | class |
12e1499b0c5cbcfabd0adbabcb3d96523ab6990c | ed45ea4470bcfc497e2584697d7842a540e04fd9 | /ros2/navigation2/nav2_util/node_thread.puml | 52534cadcb5094ffc4f1b7fa752c5afe8212b92b | [] | 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 | 395 | puml | @startuml
'https://plantuml.com/class-diagram
namespace nav2_util{
class NodeThread{
-- public method --
explicit NodeThread(node_base);
template<typename NodeT>
explicit NodeThread(NodeT node)
~NodeThread();
-- protected data --
rclcpp::node_interfaces::NodeBaseInterface::SharedPtr node_;
std::unique_ptr<std::thread> thread_;
rclcpp::executors::SingleThreadedExecutor executor_;
}
}
@enduml | false | true | false | false | class |
de010a43fad2cf6c79acd44275d32db1d8b32e22 | 8647fb9e7ecc6e34c5d51dc45622215c0e839c58 | /MTD Arch Docs/MTD-DES/MTD-self-assessment-to-DES.puml | d0346ca39fc6fac74e788192f0eb9f597126ec69 | [
"Apache-2.0"
] | permissive | uk-gov-mirror/hmrc.api-architecture | 68206547d85e8d172634e51b40f936514897e870 | bf51f6dccfb84ac02a3614a06caa8993f8345609 | refs/heads/master | 2023-04-16T07:30:16.174231 | 2021-04-19T17:09:11 | 2021-04-19T17:09:11 | 356,719,835 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 5,223 | puml | @startuml
skinparam componentStyle rectangle
left to right direction
skinparam component {
BackgroundColor #fafcff
BorderColor black
}
package "Self Assessent API" #a7c8fc {
package "self-assessment-api-legacy" #d6e6ff {
[List all self-employment businesses]
[Add a self-employment business sandbox only]
[Get a self-employment business]
[Amend a self-employment business]
[Retrieve self-employment business obligations]
[Create a self-employment periodic update]
[List all self-employment update periods]
[ Amend a self-employment periodic update]
[Get a self-employment periodic update]
[Amend a self-employment annual summary]
[Get a self-employment annual summary]
}
package "mtd-self-employment" #d6e6ff {
[Retrieve End of Period Statement Obligations for a Self-Employment Business ]
[Submit Self-Employment End-of-Period Statement ]
}
package "mtd-charitable-giving" {
[Get charitable giving tax relief ]
[Amend charitable giving tax relief ]
}
package "self-assessment-api-legacy" #d6e6ff {
[Get a UK property business]
[Add a UK property business sandbox only]
[Retrieve all UK property business obligations]
[Create a non-FHL UK property update period]
[Create a FHL UK property update period]
[List all non-FHL UK property update periods]
[List all FHL UK property update periods]
[Get a non-FHL UK property update period]
[Get a FHL UK property update period]
[Amend a non-FHL UK property periodic update]
[Amend a FHL UK property periodic update]
[Amend a non-FHL UK property business annual summary]
[Get a non-FHL UK property business annual summary]
[Amend a FHL UK property business annual summary]
[Get an FHL UK property business annual summary]
}
package "mtd-property-api" #d6e6ff {
[Retrieve End of Period Statement Obligations for a Self-Employment Business]
[Submit UK Property End-of-Period Statement ]
}
package "mtd-crystallisation" #d6e6ff {
[Intent to crystallise]
[Crystallisation]
}
package "mtd-tax-calculation" #d6e6ff {
[Trigger Tax Calc]
[Retrieve Tax Calc]
}
package "mtd-charitable-giving" #d6e6ff {
[Get charitable giving tax relief ]
[Amend charitable giving tax relief ]
}
package "mtd-savings-accounts" #d6e6ff {
[ List all savings accounts ]
[ Add a savings account ]
[Update a savings account ]
[Get a savings account ]
[Get a savings account annual summary ]
[Update a savings account annual summary ]
}
package "mtd-dividends-income" #d6e6ff {
[Update a dividends income annual summary ]
[Get dividends income annual summary ]
}
}
[List all self-employment businesses]-->[DES API#5]
[Add a self-employment business sandbox only]-->[DES API#10]
[Get a self-employment business]-->[DES API#5]
[Amend a self-employment business]-->[DES API#28]
[Retrieve self-employment business obligations]-->[DES API#1330]
[Create a self-employment periodic update]-->[DES API#29]
[List all self-employment update periods]-->[DES API#40]
[ Amend a self-employment periodic update]-->[DES API#31]
[Get a self-employment periodic update]-->[DES API#41]
[Amend a self-employment annual summary]-->[DES API#33]
[Get a self-employment annual summary]-->[DES API#44]
[Retrieve End of Period Statement Obligations for a Self-Employment Business ]-->[DES API#1330]
[Submit Self-Employment End-of-Period Statement ]-->[DES API#1342]
[Get charitable giving tax relief ]-->[DES API#1391]
[Amend charitable giving tax relief ]-->[DES API#1390]
[Get a UK property business]-->[DES API#5]
[Add a UK property business sandbox only]-->[DES API#35]
[Retrieve all UK property business obligations]-->[DES API#1330]
[Create a non-FHL UK property update period]-->[DES API#30]
[Create a FHL UK property update period]-->[DES API#30]
[List all non-FHL UK property update periods]-->[DES API#43]
[List all FHL UK property update periods]-->[DES API#43]
[Get a non-FHL UK property update period]-->[DES API#46]
[Get a FHL UK property update period]-->[DES API#46]
[Amend a non-FHL UK property periodic update]-->[DES API#32]
[Amend a FHL UK property periodic update]-->[DES API#32]
[Amend a non-FHL UK property business annual summary]-->[DES API#34]
[Get a non-FHL UK property business annual summary]-->[DES API#45]
[Amend a FHL UK property business annual summary]-->[DES API#34]
[Get an FHL UK property business annual summary]-->[DES API#45]
[Retrieve End of Period Statement Obligations for a Self-Employment Business ]-->[DES API#1415]
[Submit UK Property End-of-Period Statement ]-->[DES API#1342]
[Intent to crystallise]-->[DES API#16]
[Crystallisation]-->[DES API#1416]
[Trigger Tax Calc]-->[DES API#16]
[Retrieve Tax Calc]-->[DES API#24]
[Get charitable giving tax relief ]-->[DES API#1391]
[Amend charitable giving tax relief ]-->[DES API#1390]
[ List all savings accounts ]-->[DES API#1392]
[ Add a savings account ]-->[DES API#1393]
[Update a savings account ]-->[DES API#1389]
[Get a savings account ]-->[DES API#1440]
[Get a savings account annual summary ]-->[DES API#1391]
[Update a savings account annual summary ]-->[DES API#1390]
[Update a dividends income annual summary ]-->[DES API#1390]
[Get dividends income annual summary ]-->[DES API#1391]
@enduml | false | true | false | false | uml-unknown |
e57a8f4b2559d6822ed1e0dbe25d1a7e2738fd4c | 9f3129c361af57efdf50189ac9273fa7e3e7cd01 | /sedgewick-algs/union-find/src/main/resources/class_diagram.puml | 42004c1888750ce3c4bbe9b579bd41d4fbda6652 | [] | no_license | s3lvatico/dd.algs | d8b9827b65505c7ba2b2428f00f71e02160063a9 | 0700f8db1198809caf5dbe75ff971c547a01797f | refs/heads/master | 2021-07-01T03:26:51.227654 | 2020-10-13T19:17:45 | 2020-10-13T19:17:45 | 160,088,624 | 0 | 0 | null | 2020-10-13T12:02:33 | 2018-12-02T20:15:52 | Java | UTF-8 | PlantUML | false | false | 345 | puml | @startuml class_diagram
abstract class UnionFind {
~ id : int[]
~ nComponents : int
+ union(p : int, q : int) : void
+ find(p : int) : int
+ connected(p: int, q : int) : boolean
}
class QuickFindUF
class QuickUnionUF
class WeightedUF
UnionFind <|-- QuickFindUF
UnionFind <|-- QuickUnionUF
QuickUnionUF <|-- WeightedUF
@enduml | false | true | false | false | class |
61e286d04de0b3a95e64779f4f9e99fbc342fdfe | d97b774fd95a8e98e37c46ee1771f6e6e407a148 | /uml/api/MaxStoreReferencesReachedError.puml | 4f300bedabf66a54dd358fdcf56c62b54bd2be31 | [] | 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 | 447 | 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 MaxStoreReferencesReachedError [[MaxStoreReferencesReachedError.svg]] extends ErrorObject {
code: String
message: String
}
interface ErrorObject [[ErrorObject.svg]] {
code: String
message: String
}
@enduml
| false | true | false | false | class |
7af1a989d4617d3ee397a4ab6c65ee45ea410817 | 2ed81bf10c4a7901707f9e14d8417906472f297f | /documentation/diagrams/diagram_komponentów.plantuml | 1c2def985632ad866f628bf980a1370014fe6d80 | [
"MIT"
] | permissive | TheVivent-Politechnika-Lodzka/io_webrpg | 852d8b08208d2241e2b036fbee11cb661cb223a3 | 33df9f53f400deeb558e93f020216c28072aced6 | refs/heads/main | 2023-06-14T11:14:33.356773 | 2021-07-06T21:06:07 | 2021-07-06T21:06:07 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 920 | plantuml | @startuml
skinparam defaultFontName "Comic Sans MS"
header webrpg.pl
title "diagram komponentów"
left to right direction
interface "HTTPS/WebSocket" as HTTPS
node web_client {
note as N1
React i ważniejsze moduły
end note
[React] -(0- [characterSheet]
[React] -(0- [characterList]
[characterSheet] -(0)- HTTPS
[characterSheet] - [dice]
[characterList] -(0)- HTTPS
}
node "server" {
HTTPS -(0)- [Express]
[Express-hbs] - [Express]
[Express] - [Express-session]
note top of [Express-hbs]
layout manager
end note
note bottom of [Express]
silnik serwera
end note
[Express] -(0- Controllers
node Controllers {
[sessionController] - [userController]
[userController] - [gameController]
}
}
database "MongoDB"
[gameController] -(0- MongoDB
[userController] -(0- MongoDB
' Controllers -(0- MongoDB
@enduml | false | true | true | false | sequence |
acdc12865d6a873ede7a1cf064df2eb70c99a732 | 7ab2a6fa9a2ecfa52462d10843098a98404e4a67 | /MVC/GestionDeTournoiFiles/Conception/CDL/CDL_MATCH.iuml | dd6a7b7429f3235622dcf1547da83226ac5725de | [] | no_license | jams4code/QuizzGameProjectJava | ab28129ebf8ae1eca90dfc8210e813b6d1b70ec9 | 32431822ea878b4198361efda322cabafd3fe463 | refs/heads/master | 2022-07-04T20:57:26.099245 | 2020-05-19T19:15:17 | 2020-05-19T19:15:17 | 261,175,850 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 157 | iuml | class Match <<Entity>>{
- p1 : Player
- p2 : Player
- r : Resultat
+isValidMatch(): boolean
+getP1Name():String
+getP2Name():String
} | false | true | false | false | class |
6dbd720e4442a15aa9f766437e91ecab6ce7c0dd | 385efe394588310dc056a7008805b0828fab48f1 | /src/main/java/ex44/ex44.puml | 60b3ffe11e11e03c5c8faf6348df0e67127ba395 | [] | no_license | JazzFaye/olario-cop3330-assignment3 | 80a9c03a7dc24ee1d1b9c83dd9e69b48e96db1f2 | cd15e89f7f03220f2b316a94d45fee0ad5829c4a | refs/heads/master | 2023-08-15T13:02:43.408439 | 2021-10-12T01:25:35 | 2021-10-12T01:25:35 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 289 | puml | @startuml
Class App{
- InputFile : String {readOnly}
- sc : Scanner {readOnly}
----
+ main(args : String[]) : void
+ user_input() : void
+ ReadFile(inputFile: String) : ArrayList<Map<String, Object>>
+ ProductSearch(list : ArrayList<Map<String, Object>>, name : String) : String
}
@enduml | false | true | false | false | class |
86dd98cb8a1f05ac26d97b62ead6e465041557f3 | da0cd683d55a0b455a3bc40fa9591a09cf26fc48 | /pattern_umls/factory/facotry_method_uml/factory_method_uml.puml | 97f8ab2beff095ef59b02a4962997881a48f1d92 | [] | no_license | zzbb1199/HeadFirst | 5916d340cedfd435722f76c0d72bb1362b57e8bc | 94663c586e098b7f4175cbc8c6efc45ae00fbe3f | refs/heads/master | 2020-04-05T06:19:40.593678 | 2018-11-22T14:16:59 | 2018-11-22T14:16:59 | 156,634,040 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 214 | puml | @startuml
abstract Product{
}
class ConcreteProduct{
}
Product <|-- ConcreteProduct
abstract Creator{
}
class ConcreteCreator{
}
Creator <|-- ConcreteCreator
ConcreteProduct <- ConcreteCreator
@enduml | false | true | false | false | class |
9feeaa74b3d414c198ee5c86e1165310a2cce011 | 0d83cb369cd9c0a5e04357fc1c97d0f13a45953f | /测试.puml | 3b7a38e518322d0b8eea7dd71bfdd1014e58fef2 | [] | no_license | 1097919195/IDEA_KotlinTest | a7d4cec6ec948f3693d739fff8ed1a26a3433706 | bfb996813adf7f446ad22251fea3cfe2bdd103a4 | refs/heads/master | 2022-12-20T15:00:33.781715 | 2021-06-04T03:25:07 | 2021-06-04T03:25:07 | 154,631,856 | 0 | 0 | null | 2022-12-16T07:48:46 | 2018-10-25T07:56:15 | Java | UTF-8 | PlantUML | false | false | 162 | puml | @startuml
actor --> "check input"
If "input is verbose" then
--> [Yes] "turn on verbosity"
--> "run command"
else
--> "run command"
Endif
-->(*)
@enduml | false | true | false | false | usecase |
2498851d50ed2fd3f94ab84bf1362853b15057dc | 3b7c68df3858801924f2afa641f067987959ef77 | /doc/classes.iuml | 2c481eef5b76ba15eac48232ca5a3ef68a138d5f | [] | 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 | 633 | iuml | @startuml OutputManager
class Output {
+write(line: String): void
}
class ConsoleOutput extends Output {
+write(line: String): void
}
note as console_note
Recopie les entrées de
l'utilisateur en console
end note
ConsoleOutput .. console_note
class FileOutput extends Output {
-filepath: String
+write(line: String): void
}
note as file_note
Recopie les entrées de
l'utilisateur dans
un fichier
end note
FileOutput .. file_note
class Application {
{static} +main(String[] argv): void
}
note left: Effectue les process\n(écoute de l'utilisateur, ...)
Application .> "1" Output
@enduml
| false | true | true | false | class |
974303c577c3c9c41c3a2ea92abae753ce626014 | 5dc9e41cc781a3ce07954ad8b4e70ff66ab124ee | /docs/nuxeo/nuxeo-3.0.9.puml | 677ca79ae83817327610ba2761bad90c36a35086 | [
"Apache-2.0"
] | permissive | melahn/helm-chartmap | ada77202fdc8002788ac75ef2fe734d06e2c5f7e | 82c99f6ca09b54e7c7901c065f5d3fe6d0d1800d | refs/heads/master | 2022-10-15T08:43:17.746888 | 2022-09-23T00:11:42 | 2022-09-23T00:11:42 | 249,056,151 | 2 | 0 | Apache-2.0 | 2022-01-05T00:16:08 | 2020-03-21T20:33:46 | Java | UTF-8 | PlantUML | false | false | 919 | puml | @startuml
skinparam linetype ortho
skinparam backgroundColor white
skinparam usecaseBorderColor black
skinparam usecaseArrowColor LightSlateGray
skinparam artifactBorderColor black
skinparam artifactArrowColor LightSlateGray
title Chart Map for nuxeo:3.0.9
'There is one referenced Helm Chart
artifact "nuxeo:3.0.9\n====\n\tType: application\n====\n\tRepo: https://chartmuseum.platform.dev.nuxeo.com/\n====\n\tMaintainers: \n====\n\tKeywords: " as nuxeo_3_0_9 #LightSeaGreen
'There is one referenced Docker Image
usecase "Image\n====\ndocker-private.packages.nuxeo.com\n====\nnuxeo/nuxeo:2021\n====\n2021" as docker_private_packages_nuxeo_com_nuxeo_nuxeo_2021 #LightSkyBlue
'Chart Dependencies
nuxeo_3_0_9--[#orange]-|>docker_private_packages_nuxeo_com_nuxeo_nuxeo_2021
center footer Generated on 2022/06/13 20:07:42 by com.melahn.util.helm.PlantUmlChartMapPrinter\nhttps://github.com/melahn/helm-chartmap
@enduml
| false | true | false | false | usecase |
2506fb733c2d3d16978c85443e506095bb29714d | bf3e610c8668e525aedcca58ddbe9da7c19e427e | /docs/design/hub-and-spoke/lag/create/create-lag-port-fsm.puml | 567ca22bdd75d796514580998ae13d706a711c6b | [
"Apache-2.0"
] | permissive | telstra/open-kilda | 874b5204f8c2070860a2e7fc6f8be368a5d18726 | 686d31220f1033595d7f1d4374544af5ba9c42fe | refs/heads/develop | 2023-08-15T21:24:21.294425 | 2023-08-14T08:51:52 | 2023-08-14T08:51:52 | 104,974,693 | 82 | 70 | Apache-2.0 | 2023-09-14T19:11:22 | 2017-09-27T05:13:18 | Java | UTF-8 | PlantUML | false | false | 924 | puml | @startuml
title LAG port create FSM
[*] --> START
START --> CREATE_LAG_IN_DB : next
START --> FINISHED_WITH_ERROR : error
CREATE_LAG_IN_DB --> GRPC_COMMAND_SEND : next
CREATE_LAG_IN_DB --> FINISHED_WITH_ERROR : error
CREATE_LAG_IN_DB : enter / validate LAG port request, create GRPC commands
GRPC_COMMAND_SEND --> SPEAKER_COMMAND_SEND : lag_installed
GRPC_COMMAND_SEND --> FINISHED_WITH_ERROR : error
GRPC_COMMAND_SEND : enter / send GRPC commands
SPEAKER_COMMAND_SEND --> FINISHED : skip_speaker_commands_installation
SPEAKER_COMMAND_SEND --> FINISHED : speaker_entities_installed
SPEAKER_COMMAND_SEND --> FINISHED_WITH_ERROR : error
SPEAKER_COMMAND_SEND : enter / send speaker commands
FINISHED : enter / send-successful-response
FINISHED_WITH_ERROR : enter / [LAG port created in DB] delete created LAG port, send-error-response
FINISHED_WITH_ERROR : enter / [!LAG port created in DB] send-error-response
@enduml
| false | true | false | false | sequence |
95c595fbc22616684b4f99c2d40d1f2c59039190 | 1b76dd88a5324bbea66753a44e7aa492bcfac091 | /uml.puml | 0533cd1adbc17c8b92f9e1b95610057e64b52489 | [
"MIT"
] | permissive | codegym-vn/pf-java-numbers-stack | e3049efbf91adb7d83a671ce5c81486cc6e811dd | a6b64bc3ec133c3d35842b3173cdb9b47bd26008 | refs/heads/master | 2021-04-27T02:23:30.919179 | 2018-09-20T06:54:23 | 2018-09-20T06:54:23 | 122,695,540 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 620 | puml | @startuml
class NumbersStack {
+ <<constructor>> NumbersStack()
+ <<constructor>> NumbersStack(int)
+ peak(): int
+ pop(): int
+ push(int): void
+ empty(): void
}
note left of NumbersStack::peak() {
trả về phần tử cuối cùng
được push vào ngăn xếp
}
note left of NumbersStack::pop() {
trả về phần tử cuối cùng
được push vào ngăn xếp và
bỏ nó ra khỏi ngăn xếp
}
note left of NumbersStack::push(int) {
thêm một phần tử vào
ngăn xếp
}
note left of NumbersStack::empty() {
làm rỗng ngăn xếp
}
@enduml | false | true | true | false | class |
fcd5b987fc32c73c4643ec60db21cedcfc82d808 | 0b0cc264919d7b0c24bbf5315af546a121634a35 | /optaweb-vehicle-routing-backend/src/main/java/org/optaweb/vehiclerouting/service/distance/distance.plantuml | d59ab09efb0602435197c84ea0d4f28647d5ffac | [
"Apache-2.0"
] | permissive | mauriziocarioli/optaweb-vehicle-routing-distribution-8.6.0.Final | 5c8f0eca20e3c25adfee969a3e422c87c5633e75 | b84b8e88e8bbe01846b346e684587317922fb182 | refs/heads/master | 2023-06-06T14:12:23.409461 | 2021-06-21T20:42:03 | 2021-06-21T20:42:03 | 376,861,264 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,815 | plantuml | @startuml
title __DISTANCE's Class Diagram__\n
namespace org.optaweb.vehiclerouting {
namespace service.distance {
class org.optaweb.vehiclerouting.service.distance.DistanceCalculationException {
+ DistanceCalculationException()
+ DistanceCalculationException()
}
}
}
namespace org.optaweb.vehiclerouting {
namespace service.distance {
interface org.optaweb.vehiclerouting.service.distance.DistanceCalculator {
{abstract} + travelTimeMillis()
}
}
}
namespace org.optaweb.vehiclerouting {
namespace service.distance {
class org.optaweb.vehiclerouting.service.distance.DistanceMatrixImpl {
- matrix : Map<Location, Map<Long, Distance>>
+ addLocation()
+ clear()
+ dimension()
+ distance()
+ put()
+ removeLocation()
~ DistanceMatrixImpl()
- calculateDistance()
- updateMatrixLazily()
}
}
}
namespace org.optaweb.vehiclerouting {
namespace service.distance {
interface org.optaweb.vehiclerouting.service.distance.DistanceRepository {
{abstract} + deleteAll()
{abstract} + deleteDistances()
{abstract} + getDistance()
{abstract} + saveDistance()
}
}
}
org.optaweb.vehiclerouting.service.distance.DistanceMatrixImpl .up.|> org.optaweb.vehiclerouting.service.location.DistanceMatrix
org.optaweb.vehiclerouting.service.distance.DistanceMatrixImpl o-- org.optaweb.vehiclerouting.service.distance.DistanceCalculator : distanceCalculator
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 |
bb0ef195aad084e6e462c599c3c8a9aee6521cc5 | 3b8fb858575959a11f454645b40f4dafb0ab4aa0 | /src/main/java/ex44/ex44_UML.puml | bb6db170255b804360c9a1bb51bd292bd3bd8ab8 | [] | no_license | Elizene9/creighton-cop3330-assignment3 | 86297e7998bd9cb9f2e67d8ae9e69ccd1020224c | 75134be7038425d6152de392fa7db8d234258e60 | refs/heads/master | 2023-06-02T02:12:38.569612 | 2021-06-21T03:07:22 | 2021-06-21T03:07:22 | 378,791,728 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 440 | puml | @startuml
class ProductSearch {
+main(args : String[])
input : Scanner;
list : List<String>
call : ProcessData
names : String[]
quantity : String[]
price : String[]
complete : String[]
userSearch : String
}
class ProcessData {
+traverseFile(list : List<String>, userSearch : String) : String[]
objects : String[]
check : int
}
ProductSearch o--> ProcessData
@enduml | false | true | false | false | class |
59cb8e72b0c8d5507d2b110dfd02e6ffe23f4ff3 | 82163a3a7118d724d3297965ba3a48db8fb02244 | /resources/topology.puml | 9fe5e19f1ccd038b5ed0170b8528355f5486ea9f | [
"MIT"
] | permissive | gklijs/bob2021 | 7ecf045d93a479d8ff7ea046dd53d27e982f8522 | 308316f525391ae2a0f8865e2958aef2c54692f9 | refs/heads/main | 2023-03-03T21:52:36.340594 | 2021-02-19T10:52:25 | 2021-02-19T10:52:25 | 332,185,292 | 8 | 1 | MIT | 2021-02-19T10:52:26 | 2021-01-23T10:40:03 | Clojure | UTF-8 | PlantUML | false | false | 547 | puml | @startuml
skinparam shadowing false
skinparam defaultFontName Roboto
skinparam defaultFontSize 26
package resources{
file logback.xml as lb
file schemas.edn as sc
file topology.edn as tf
}
component topology.jar as tj #Yellow
component clients.clj as cl
component value_generator.clj as vg
tf --> tj: Provides topic info\nlinks topic to schema
lb --> tj: Set logging defaults
sc --> tj: Compiled to java objects\nAble to get all schema's
tj <-- cl: Clojure producer\nand consumer
tj <-- vg: Util functions for\niban and uuid
@enduml | false | true | false | false | sequence |
5066b1b039c490dfc02f15a170a53000f7305b6f | 6900615d67f63949d34cb1d49a3579b092be3276 | /vbmanager.puml | 7541589bdc3583b23b37c0ed03698f56cc988f67 | [
"MIT"
] | permissive | mr-cloud/vbmanager | 13a6e13424d34b29c38e783131fde041ebca8355 | a23db475a0692fc2286d2c19dee6a8e7c149e6a1 | refs/heads/master | 2020-04-05T06:40:29.841634 | 2017-09-24T03:46:35 | 2017-09-24T03:46:35 | 81,898,360 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 376 | puml | @startuml
class services {
1 = "CREATE_VM",
2 = "DELETE_VM",
3 = "MACHINES_STATS"
}
interface IVirtualBox
class VBManager {
-services : services
-vbox : IVirtualBox
-cold_vm_snapshot : str
+machines_stats() : dict
+list_all() : dict
+create_config_VM() : dict
+shrink_VM() : dict
-execute_cmd() : dict
}
IVirtualBox *-- VBManager
services o-- VBManager
@enduml | false | true | false | false | class |
425fda157447e00fb98512d9d516bd11db01ae3a | c3f5c037d5c671c336220245ee1e923db9570e02 | /gofdesignpattern/builder/builder.puml | 3e833546a6a0c8f9f0ebca6efa80ff89c9375314 | [] | no_license | iamslash/TIL | 9e1146f6764855fcff9bd2bafc0a14b20bc87631 | 5e6206f75e583dfdf736026a5030cab4d7dafc58 | refs/heads/master | 2023-09-04T11:04:00.583961 | 2023-08-30T00:01:46 | 2023-08-30T00:01:46 | 88,137,178 | 13 | 4 | null | null | null | null | UTF-8 | PlantUML | false | false | 333 | puml | @startuml
class Director
together {
abstract class Builder
class ConcreteBuilder
class Product
}
Director -right-> Builder
Builder <|-- ConcreteBuilder
ConcreteBuilder .right.> Product
class Director {
+Construct()
}
abstract class Builder {
+BuildPart()
}
class ConcreteBuilder {
+BuildPart()
+GetResult()
}
@enduml
| false | true | false | false | class |
e72a1104e25f1eba3b8af843e1c788be23d92e66 | 71b2b850f26a7aff13ad816e58b8a0e78bf7f16f | /distribution/fontawesome-5/Solid/MicrophoneAlt.puml | 3c78ac7cc80d780e35a1b60afb792b6f949283f5 | [
"MIT"
] | permissive | VinayaSathyanarayana/plantuml-libs | 3af384f3c7c471f928f48a9c6c7087586b9ad74e | d15f62139a69c281047469db46dcfd8d32cfadd1 | refs/heads/master | 2023-08-16T08:28:18.839481 | 2021-09-25T13:17:07 | 2021-09-28T14:13:42 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 715 | puml | ' definition of the Item fontawesome-5/Solid/MicrophoneAlt
sprite $MicrophoneAltXs [6x10/16z] DOQ50G0X08JuJcN_QMql0GHG9s9u47MBRJdLWh0B6e3Nbmm
sprite $MicrophoneAltSm [8x12/16z] 9Og55K0X54Bv7Ift_sqz-9gITA3K0-J3w4_zLb-viVtPBy3dtIkFEA--_IJNAtgmvnbuDG4
sprite $MicrophoneAltMd [10x16/16z] JOw54KKn3CFSkapQVzhFy1JI-IXwK8bw0L1-nbCCsVxOdlEQjVxCzjPY6no2E2VoH1JqCU46X8acKLOXImSM33t8X_LvmNmkJwGx
sprite $MicrophoneAltLg [13x20/16z] {
FOw30G0n54DJkzb_saEALtm3Fs5s73e_0aIWW1WKHiRSxckqrkmrIYc_OMHO--cM_8qVbqZU1edpHcnceQqKw0Gxf3Uemff15fJl6TBZewcB9zd7NKdjCWxi
HmkrSjOg_Qu3l
}
!procedure MicrophoneAlt($id, $name="", $tech="")
IconElement($id, 'IconElement', 'fontawesome-5/Solid/MicrophoneAlt', $name, $tech)
!endprocedure
| false | true | false | false | uml-unknown |
1415212dcd41676820057202d8d44e9c58e57ae6 | 4876ea0e4ab65102a2bcf38eae5b685c9f63c970 | /paper/src/figures/sequence-java-to-java.puml | bf4c946aa43d9e16309c951d5c91aa91cebdf487 | [] | no_license | tituomin/gradu | ba962e3b7a8447e334ff862eb88807603b79b68f | 9d627bed8bf113690b3dcdd2fb93ce005493fc53 | refs/heads/master | 2020-04-16T15:12:41.371762 | 2016-08-26T18:55:19 | 2016-08-26T18:55:19 | 6,243,278 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 573 | puml | MeasuringTool -> J2JBenchmark00026 : run
activate J2JBenchmark00026
J2JBenchmark00026 -> J2JBenchmark00026 : runInternal
activate J2JBenchmark00026
loop
J2JBenchmark00026 -> JavaCounterparts : benchmark00026
activate JavaCounterparts
J2JBenchmark00026 <-- JavaCounterparts
deactivate JavaCounterparts
box "Dalvik"
participant MeasuringTool
participant J2JBenchmark00026
participant JavaCounterparts
end box
end
J2JBenchmark00026 <-- J2JBenchmark00026
deactivate J2JBenchmark00026
MeasuringTool <-- J2JBenchmark00026
deactivate J2JBenchmark00026
| false | true | false | false | sequence |
5a93c024edc40e880cbfe719af43cff8edccca65 | f0aa05e98fa78ca2162c71a759f3786a83a9921b | /doc/Sequence diagrams/Under gantry.puml | 93f2b4e61d0906a5d22358891df6fc1dd614eb8f | [] | no_license | RobT00/BuggyDesignProjectTCD | 66c34a3ff5167e2f5ca015b8d3a70cb3bcf48fb8 | 4e67a42f578f368111dbac2b4a08c182edc52367 | refs/heads/master | 2020-11-25T00:33:56.717372 | 2020-04-09T20:54:14 | 2020-04-09T20:54:14 | 228,404,086 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 243 | puml | @startuml
title Under a gantry
participant Buggy as b #4f4
participant Station as s #44f
...
group Under gantry n
s<-b: GANTRYn
s->b: STOP
s<-b: STOPPED
note over s #fff: Wait 1 sec
s->b: GO
s<-b: GOING
end
...
@enduml
| false | true | false | false | sequence |
cf64153d89e662cb230d2ba77bbeeaf8d22de3b8 | ff37fc7cd12d4fbf1edbfb497f799f0da4f796ed | /plantuml/example-02.puml | 829b33a9443eaefc93ee9f7f266f05f29fc88283 | [] | no_license | abulka/lcodemaps | d3cd2e748cd14026c2a055939b69ba9ba44c3a61 | d40f7437cbe5a3484fb2136118f2c32a87aa7ceb | refs/heads/master | 2022-03-07T13:32:43.446713 | 2022-02-14T00:21:25 | 2022-02-14T00:21:25 | 223,074,570 | 43 | 8 | null | null | null | null | UTF-8 | PlantUML | false | false | 5,981 | puml | @startuml More complete example of a Literate Code Map - 02
!$code = "<color:royalBlue><size:14>"
!$codeb = "<color:DarkSlateGray><size:12>"
!$codeg = "<color:Gray><size:12>"
!$codeb = "<color:royalBlue>"
!$codep = "<color:Purple><size:14>"
header
<font color=red>File Upload Story - Literate Code Map</font>
(c) Andy Bulka 2019
endheader
class urls < START HERE: when user clicks on file upload link ><<(M,#FF7700) singlepage/urls.py>>{
.. urlpatterns ..
/fileupload -> $codeb views.fileupload</color> <u>1</u> <color:Red> * main user start point
/upload_file -> $codeb views.upload_file
/file_upload_uml/<str:event>/ -> $codeb views.file_upload_uml
}
class views <<(M,#FF7700) singlepage.views.py>> {
.. def fileupload(request): ..
$codeb <u>1.</u></color>
$codeb return render(request,
$codeb\t"<b>fileupload.html</b>", {"object_list": None}) $codeb <u>2.</u></color>
.. def upload_file(request, uid=None): ..
$codeb <u>3.</u></color>
Calculates an "event" based on the user name and date, and stores all
uploaded files in a directory UPLOAD_DIR/event.
$codeb form = FileUploadForm(request.POST, request.FILES or None)
$codeb file = request.FILES['file']
$codeb event = <b>calc_upload_eventdir</b>(request.user, datetime.datetime.now())
$codeb dir = os.path.join(UPLOAD_DIR, event)
$codeb path = os.path.join(dir, file.name)
$codeb <b>handle_uploaded_file</b>(file, path) $codeb <u>A1.</u></color>
$codeb return HttpResponse(json.dumps(data), content_type="application/json")
<color:Red>Typical AJAX HttpResponse is
$codeg <class 'dict'>: {'status': 'success',
$codeg 'file': 'display_model.py',
$codeg 'event': 'admin-1-2019-04-17-12:12:47'}
.. def handle_uploaded_file(file, path=None): ..
$codeb <u>A1.</u></color>
<i>This should be changed to using memcache rather than the local file system!</i>
$codeb path = os.path.join('uploaded', file.name) # work out dir
$codeb os.makedirs(os.path.dirname(path)) # and create dir
$codeb with open(path, 'wb+') as destination: ... destination.write(chunk) # writes out file
.. def file_upload_uml(request, event): ..
$codeb <u>4.</u></color>
$codeb <u>6.</u></color>
Called when all files have been successfully uploaded.
"event" gives us a way to refer to those files.
Combines custom plantumltext (which initially will be blank) into a UML diagram based on <b>paths</b>
$codeb image_url, generated_plant_uml_text = <b>uploaded_local_paths_to_uml_url</b>(
$codeb <b>paths</b>, custom_plant_uml_text, ..., options_uml
$codeb )
then where do we go?
well, we render the "fileupload_uml.html" template
$codeb form = MyFileUploadForm(initial={"custom_plant_uml_text": ""})
which is
$codeb class MyFileUploadForm(forms.Form):
$codeb custom_plant_uml_text = forms.CharField(
$codeb label="Additional custom plantuml text", required=False, widget=forms.Textarea
$codeb )
Note that it is not inheriting from forms.ModelForm
$codeb return render(
$codeb request,
$codeb "fileupload_uml.html", $codeb <u>5.</u></color>
$codeb {
$codeb "python_text": python_text,
$codeb # "show_python_text": True,
$codeb "generated_plant_uml_text": generated_plant_uml_text,
$codeb "custom_plant_uml_text": None,
$codeb "image_url": image_url,
$codeb "form": form,
$codeb "event": event,
$codeb "paths_ro": paths_ro,
$codeb },
$codeb
}
class fileupload <<(T,#FF7700) singlepage/templates/fileupload.html>> {
Change /upload-target to your upload address, in this case it is "upload_file"
for each file
$codeb <u>3.</u></color>
$codeb <form action="{% url '<b>upload_file</b>' %}" class="dropzone" id="myAwesomeDropzone">
$codeb {% csrf_token %}
$codeb </form>
.. javascript ..
once all files have been uploaded
$codeb function submit_upload_uml_event()
$codeb event = last_upload_event
$codeb window.location.href = '<b>file_upload_uml/[object Event]</b>' $codeb <u>4.</u></color>
}
class fileupload_uml <<(T,#FF7700) singlepage/templates/fileupload_uml.html>> {
Actually displays the UML diagram. The only thing we upload
via the form is the custom plantuml. The "event" parameter of the url
lets us find the source files etc.
$codeb <form action={% url 'file_upload_uml' event %} method="POST">
}
urls --> views : $codeb <u>1.</u></color> fileupload()
views --> fileupload : $codeb <u>2.</u></color> fileupload\n template render
fileupload --> views : $codeb <u>3.</u></color> upload_file(data)\nonce for each file via AJAX
fileupload --> views : $codeb <u>4.</u></color> file_upload_uml/[object Event]\nonce all have been uploaded
views -> fileupload_uml : $codeb <u>5.</u></color> fileupload_uml(image_url, form, etc.)\n template render UML
fileupload_uml -> views : $codeb <u>6.</u></color> file_upload_uml/[object Event] $codeb \nto regenerate the UML
note as N1
upload_file() is called multiple times, once for each file
passing back (in the AJAX response) the first calculated event
to the javascript so that all subsequent files get put into the
same event/directory
end note
N1 .. views
N1 ..[hidden] views
note as N2
views.fileupload_uml() $codeb <u>4.</u></color> is called automatically
after the initial file upload, to render the
initial UML.
views.fileupload_uml() $codeb <u>6.</u></color> is called by the user
pressing "Generate UML" button on subsequent
renderings, as the UML is refined, by fiddling
with custom plantuml text.
<i>(the user cannot edit info/classes etc in
<i> the uploaded Python files themselves)
end note
N2 .. fileupload_uml
N2 .. views
@enduml
| false | true | false | false | sequence |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.