-
Notifications
You must be signed in to change notification settings - Fork 157
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…#1406) The Developer Guide uses screenshots of Sequence Diagrams for documentation. This makes it more tedious to update diagrams. Let's use MarkBind's native support for PlantUML by tagging diagrams to `.puml` files of diagrams in the documentation to allow easier updating of the Sequence Diagrams.
- Loading branch information
1 parent
7b8dd64
commit aa1ba08
Showing
7 changed files
with
118 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
@startuml | ||
hide footbox | ||
skinparam monochrome true | ||
skinparam Shadowing false | ||
|
||
rectangle "main.js\n(window.app)" as main | ||
rectangle "v_zoom.js" as v_zoom | ||
rectangle "v_ramp.js" as v_ramp | ||
rectangle "v_summary.js" as v_summary | ||
rectangle "v_authorship.js" as v_authorship | ||
rectangle "v_segment.js" as v_segment | ||
database "api.js\n" as api | ||
|
||
main -down-> v_summary | ||
v_summary -down-> v_zoom | ||
v_summary -> v_ramp | ||
v_zoom -> v_ramp | ||
|
||
main -down-> v_authorship | ||
v_authorship -down-> v_segment | ||
|
||
api -down--> main : summary.json | ||
api -down-> v_summary : projectName/commits.json | ||
api -down-> v_authorship : projectName/authorship.json | ||
@enduml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
@startuml | ||
hide footbox | ||
skinparam monochrome true | ||
skinparam Shadowing false | ||
|
||
Participant ":Summary\n(v_summary.js)" as summary | ||
Participant ":Main\n(window.app)" as main | ||
Participant ":Authorship\n(v_authorship.js)" as authorship | ||
Participant ":API\n(api.js)" as api | ||
Participant ":Segment\n(v_segment.js)" as segment | ||
|
||
-> summary : view code icon clicked | ||
activate summary | ||
|
||
summary -> main : view-authorship event | ||
activate main | ||
|
||
main -> authorship : update code view | ||
activate authorship | ||
|
||
opt files not in cache | ||
|
||
authorship -> api : loadAuthorship() | ||
activate api | ||
|
||
api --> authorship: "authorship.json" | ||
deactivate api | ||
|
||
end | ||
|
||
create segment | ||
authorship -> segment : update segment view | ||
activate segment | ||
|
||
segment --> authorship : generated segment view | ||
deactivate segment | ||
|
||
authorship --> main : generated code view | ||
deactivate authorship | ||
|
||
main --> summary | ||
deactivate main | ||
|
||
<-- summary | ||
deactivate summary | ||
@enduml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
@startuml | ||
hide footbox | ||
skinparam monochrome true | ||
skinparam Shadowing false | ||
|
||
Participant ":Main\n(window.app)" as main | ||
Participant ":Summary\n(v_summary.js)" as summary | ||
Participant ":API\n(api.js)" as api | ||
Participant ":Ramp\n(v_ramp.js)" as ramp | ||
|
||
-> main : page load | ||
activate main | ||
|
||
loop repo in summary.json | ||
|
||
main -> api : loadCommits(repo) | ||
activate api | ||
|
||
api --> main | ||
deactivate api | ||
|
||
end | ||
|
||
main -> summary : get summary view | ||
activate summary | ||
|
||
summary -> main : get filter params | ||
activate main | ||
|
||
main --> summary : window.hashParams | ||
deactivate main | ||
|
||
create ramp | ||
summary -> ramp : get ramp view | ||
activate ramp | ||
|
||
ramp --> summary : ramp view | ||
deactivate ramp | ||
|
||
summary --> main : summary view | ||
deactivate summary | ||
|
||
<-- main | ||
deactivate main | ||
@enduml |
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.