ABCDEFGHAssociation.The only one that can has number on it.eg. LineItem has a productExtendsImplementsDepends. eg. LineItem depends on Date(LineItem doesn't store Date but ifDate is missing it cannot be used)
@startuml
A --> B
note on link
Association.
The only one that can has number on it.
eg. LineItem has a product
end note
C --|> D
note on link : Extends
E ..|> F
note on link : Implements
G ..> H
note on link
Depends. eg. LineItem depends on Date
(LineItem doesn't store Date but if
Date is missing it cannot be used)
end note
@enduml
@startuml
start
if (graphviz installed?) then (yes)
:process all\ndiagrams;
else (no)
:process only
__sequence__ and __activity__ diagrams;
endif
stop
@enduml
@startuml
class Usuario
class Entidade
class Categoria
class Necessidade
class Chamado
Categoria "1..*" o-- "0..*" Necessidade
Usuario "1" -- "0..*" Chamado
Chamado "1..*" -- "1" Necessidade
@enduml
@startuml
hide footbox
actor User
User -> RF: Start of test case
RF->PSTT: Syn
RF<-PSTT: Syn Ack
RF->PSTT: Ack
...
RF<->PSTT: Commands
...
RF -> PSTT: FIN
RF <- PSTT: FIN Ack
RF -> PSTT: Ack
User <- RF: End of test case
@enduml
User Submits a Pull RequestUserUserPullRequestClientPullRequestClientPsychicOctoRobotServerPsychicOctoRobotServerGitServerGitServerNode.js server which serves thewebpages requested by the user.requests page forsubmitting apull requestweb page forPullRequestClientThe PullRequestClient is aJavascript client made of js-gitand our code bundled with browserifyalt[Contact GitServer Directly]Requests index ofall branches inrepos accessible bythe userIndex info[Get Repo Index through PsychicOctoRobotServer]Requests index ofall branches inrepos accessible bythe userRequests index ofall branches inrepos accessible bythe userIndex infoIndex infoDisplays branch indexof remote reposuser has access toselects branch todo a pull request forDisplays prompt forparent branch for diffSelects parent branchloop[for each branch]alt[Contact GitServer Directly]Requests latest repo versionRepo[Get Repo Index through PsychicOctoRobotServer]Requests latest repo versionRequests latest repo versionRepoRepoCalculates diffsDisplays diffsAccepts changes and makes a comment/messagealt[Contact GitServer Directly]Submit pull requestConfirmation[Get Repo Index through PsychicOctoRobotServer]Submit pull requestSubmit pull requestConfirmationConfirmationDisplays message notifying user of success/failure
SEQUENCE DIAGRAM
6250233172328448
User Submits a Pull RequestUserUserPullRequestClientPullRequestClientPsychicOctoRobotServerPsychicOctoRobotServerGitServerGitServerNode.js server which serves thewebpages requested by the user.requests page forsubmitting apull requestweb page forPullRequestClientThe PullRequestClient is aJavascript client made of js-gitand our code bundled with browserifyalt[Contact GitServer Directly]Requests index ofall branches inrepos accessible bythe userIndex info[Get Repo Index through PsychicOctoRobotServer]Requests index ofall branches inrepos accessible bythe userRequests index ofall branches inrepos accessible bythe userIndex infoIndex infoDisplays branch indexof remote reposuser has access toselects branch todo a pull request forDisplays prompt forparent branch for diffSelects parent branchloop[for each branch]alt[Contact GitServer Directly]Requests latest repo versionRepo[Get Repo Index through PsychicOctoRobotServer]Requests latest repo versionRequests latest repo versionRepoRepoCalculates diffsDisplays diffsAccepts changes and makes a comment/messagealt[Contact GitServer Directly]Submit pull requestConfirmation[Get Repo Index through PsychicOctoRobotServer]Submit pull requestSubmit pull requestConfirmationConfirmationDisplays message notifying user of success/failure
@startuml
title User Submits a Pull Request
actor User
participant PullRequestClient
participant PsychicOctoRobotServer
note right of PsychicOctoRobotServer
Node.js server which serves the
webpages requested by the user.
end note
User -> PsychicOctoRobotServer : requests page for \n submitting a \n pull request
PsychicOctoRobotServer -> User : web page for \n PullRequestClient
note right
The PullRequestClient is a
Javascript client made of js-git
and our code bundled with browserify
end note
alt Contact GitServer Directly
PullRequestClient -> GitServer : Requests index of \n all branches in \n repos accessible by \n the user
GitServer -> PullRequestClient : Index info
else Get Repo Index through PsychicOctoRobotServer
PullRequestClient -> PsychicOctoRobotServer : Requests index of \n all branches in \n repos accessible by \n the user
PsychicOctoRobotServer -> GitServer : Requests index of \n all branches in \n repos accessible by \n the user
GitServer -> PsychicOctoRobotServer : Index info
PsychicOctoRobotServer -> PullRequestClient : Index info
end
PullRequestClient -> User : Displays branch index \n of remote repos \n user has access to
User -> PullRequestClient : selects branch to \n do a pull request for
PullRequestClient -> User : Displays prompt for \n parent branch for diff
User -> PullRequestClient : Selects parent branch
loop for each branch
alt Contact GitServer Directly
PullRequestClient -> GitServer : Requests latest repo version
GitServer -> PullRequestClient : Repo
else Get Repo Index through PsychicOctoRobotServer
PullRequestClient -> PsychicOctoRobotServer : Requests latest repo version
PsychicOctoRobotServer -> GitServer : Requests latest repo version
GitServer -> PsychicOctoRobotServer : Repo
PsychicOctoRobotServer -> PullRequestClient : Repo
end
end
PullRequestClient -> PullRequestClient : Calculates diffs
PullRequestClient -> User : Displays diffs
User -> PullRequestClient : Accepts changes and makes a comment/message
alt Contact GitServer Directly
PullRequestClient -> GitServer : Submit pull request
GitServer -> PullRequestClient : Confirmation
else Get Repo Index through PsychicOctoRobotServer
PullRequestClient -> PsychicOctoRobotServer : Submit pull request
PsychicOctoRobotServer -> GitServer : Submit pull request
GitServer -> PsychicOctoRobotServer : Confirmation
PsychicOctoRobotServer -> PullRequestClient : Confirmation
end
PullRequestClient -> User : Displays message notifying user of success/failure
@enduml
SEQUENCE DIAGRAM
6250233172328448
User Merges BranchUserUserMergeClientMergeClientPsychicOctoRobotServerPsychicOctoRobotServerNode.js server which serves thewebpages requested by the user.requests page formerging abranchweb page forMergeClientThe MergeClient is aJavascript client made of js-gitand our code bundled with browserifyreads local "git"directory to checkfor repositoriespresentDisplays documentsthat are trackedin repositories andare merge-ableselects documentrepository to mergeDisplays prompt forbranch to mergeand destination branchSelects merge branchesCalculates diffsDisplays diffsAccepts changesBegins mergingDisplays any merge conflictsSelects revisions to use for each conflictCompletes merge and commits locallyDisplays message notifying user of success/failure
SEQUENCE DIAGRAM
6251114177495040
User Merges BranchUserUserMergeClientMergeClientPsychicOctoRobotServerPsychicOctoRobotServerNode.js server which serves thewebpages requested by the user.requests page formerging abranchweb page forMergeClientThe MergeClient is aJavascript client made of js-gitand our code bundled with browserifyreads local "git"directory to checkfor repositoriespresentDisplays documentsthat are trackedin repositories andare merge-ableselects documentrepository to mergeDisplays prompt forbranch to mergeand destination branchSelects merge branchesCalculates diffsDisplays diffsAccepts changesBegins mergingDisplays any merge conflictsSelects revisions to use for each conflictCompletes merge and commits locallyDisplays message notifying user of success/failure
@startuml
title User Merges Branch
actor User
participant MergeClient
participant PsychicOctoRobotServer
note right of PsychicOctoRobotServer
Node.js server which serves the
webpages requested by the user.
end note
User -> PsychicOctoRobotServer : requests page for \n merging a \n branch
PsychicOctoRobotServer -> User : web page for \n MergeClient
note right
The MergeClient is a
Javascript client made of js-git
and our code bundled with browserify
end note
MergeClient -> MergeClient : reads local "git" \n directory to check \n for repositories \n present
MergeClient -> User : Displays documents \n that are tracked \n in repositories and \n are merge-able
User -> MergeClient : selects document \n repository to merge
MergeClient -> User : Displays prompt for \n branch to merge \n and destination branch
User -> MergeClient : Selects merge branches
MergeClient -> MergeClient : Calculates diffs
MergeClient -> User : Displays diffs
User -> MergeClient : Accepts changes
MergeClient -> MergeClient : Begins merging
MergeClient -> User : Displays any merge conflicts
User -> MergeClient : Selects revisions to use for each conflict
MergeClient -> MergeClient : Completes merge and commits locally
MergeClient -> User : Displays message notifying user of success/failure
@enduml
@startuml
class OwnCode
OwnCode --> TestableFacade
TestableFacade --> ThirdPartyApi
note right of TestableFacade
This was designed to be easy to test
and use :-)
<b>Yay!!!</b>
end note
@enduml
Class DiagramClass DiagramAuthors:Ben CumberReviewed By:Jeff CrockerGameCharacterEnvironUnitMissionPlanetPossessionRaceStack***owns*2-5Inhabits*is assigned*is located
CLASS DIAGRAM
6262664149860352
Class DiagramClass DiagramAuthors:Ben CumberReviewed By:Jeff CrockerGameCharacterEnvironUnitMissionPlanetPossessionRaceStack***owns*2-5Inhabits*is assigned*is located
@startuml
hide circle
skinparam shadowing false
skinparam classFontStyle Bold
skinparam classFontSize 14
title Class Diagram
note as Title
<b>Class Diagram
Authors:
Ben Cumber
Reviewed By:
Jeff Crocker
end note
class Game{
}
class Character{
}
class Environ{
}
class Unit{
}
class Mission{
}
class Planet{
}
class Possession{
}
class Race{
}
class Stack{
}
Game o-- "*" Stack
Game o-- "*" Planet
Character "*" --o Stack
Character -- "*" Possession: owns
Environ "2-5" --o Planet
Environ -- Race: Inhabits
Unit "*" --o Stack
Stack "*" -- Mission: is assigned
Stack -- Environ: is located
@enduml