Skip to content

Commit

Permalink
wizard flow diagram
Browse files Browse the repository at this point in the history
  • Loading branch information
ondratu committed Apr 19, 2022
1 parent cc74860 commit c00403a
Show file tree
Hide file tree
Showing 3 changed files with 119 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ dist
.hypothesis
*.coverage
htmlcov
docs/*.png
2 changes: 1 addition & 1 deletion docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Martin Užák, 2021-01-14 14:55
#

UMLFILES = prusa-link_states.txt
UMLFILES = prusalink_states.txt wizard.txt

uml: $(UMLFILES)
plantuml $(UMLFILES)
Expand Down
117 changes: 117 additions & 0 deletions docs/wizard.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
@startuml


state "Add Printer" as Add
state "PrusaLink Wizard" as Wizard #lavender
state "Use config" as WConfig #lavender
state "Network settings" as WiFi #lavender
state Services #lavender
state Printer #lavender
state "Name" as PName #lavender
state "Connect" as PConnect #lavender
state Recapitulation #lavender
state "Add Printer Form" as AConnect
state "PrusaLink Web" as LBoard #grey
state "Printer Overview" as Overview
state "PrusaLink Web" as Link #gray
state Settings #gray
state Code #salmon
state "Network settings" as Network
state Overview
state Config #lightgreen

[*] -> Connect
Connect: Printers
Connect -> Add

Add: Select Printer
Add -up-> Wizard: Go to Printer
Add -> Name

Name: Name and Location
Name: Team
Name -> Network

Network: WiFi Settings
Network: IP Settings
Network: Link Username and Password
Network: SSH
Network: NTP server
Network-> Code

[*] -up-> Wizard

Wizard -up-> WiFi
Wizard -up-> WConfig
Wizard -> Printer

WConfig: Use downloaded
WConfig: prusa-printer-settings.ini
WConfig --> LBoard

WiFi: WiFi setting
WiFi: IP Settings
WiFi --> Wizard

Printer: Printer Detection
Printer: FW Check
Printer -> PName

PName -> Services
PName: Name and Location

Services: Username and Password
Services: SSH
Services: NTP server
Services -> PConnect
Services -> Recapitulation

PConnect: SN Check
PConnect: Connect Registration
PConnect -[dotted]-> Code

Code -up[dotted]-> PConnect
Code: NO UI FORM
Code: Generate Code
Code -> Overview

PConnect -> Recapitulation

Recapitulation -> LBoard
Recapitulation --> AConnect

AConnect: Name and Location
AConnect: Team
AConnect: Registration Code
AConnect -> Overview

Overview -up-> LBoard
Overview: Detect Link on LAN
Overview -> Config

Config: prusa-printer-settings.ini
Config: Download and add to medium
Config: Download and add to Wizard
Config -up-> WConfig
Config --> Settings

[*] --> Link

Link: Already configured
Link -> Settings

Settings: Additional (Re)registration
Settings: Unregistration
Settings -up[dotted]-> Code
Code -[dotted]-> Settings

legend right
| Color | Type |
|<#lavender>| Wizard on PrusaLink |
|<#fefece>| Wizard on PrusaConnect |
|<#gray>| PrusaLink |
|<#salmon>| Hidden action on PrusaConnect |
|<#lightgreen>| File download |
endlegend

@enduml

0 comments on commit c00403a

Please sign in to comment.