-
Notifications
You must be signed in to change notification settings - Fork 0
/
mermaid_decision_tree
35 lines (35 loc) · 1.22 KB
/
mermaid_decision_tree
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
graph TD
Start["Start Sync Entry"]
SizeCheck["Size Check"]
SizeMismatch["Sizes Mismatch?"]
DecisionMaker["Decision Maker"]
AutoSync["Auto Sync"]
UserPrompt["User Prompt"]
UserDecision["User Decision"]
CopyFile["Copy File"]
DateCheck["Date Check"]
DateMismatch["Dates Mismatch?"]
UpdateSourceDate["Update Source Date"]
UpdateDestinationDate["Update Destination Date"]
FixEnabled["Fix enabled?"]
FixSource["Fix source?"]
ApplyFix["Apply fix"]
End["End Sync Entry"]
Start --> SizeCheck --> SizeMismatch
SizeMismatch -- "Yes" --> DecisionMaker
DecisionMaker -- "Auto" --> AutoSync --> CopyFile
DecisionMaker -- "User" --> UserPrompt --> UserDecision
UserDecision -- "Yes" --> CopyFile
UserDecision -- "No" --> DateCheck
SizeMismatch -- "No" --> DateCheck
DateCheck --> FixEnabled
FixEnabled -- "No" --> End
FixEnabled -- "Yes" --> FixSource
FixSource -- "Destination" --> UpdateSourceDate
FixSource -- "Source" --> UpdateDestinationDate
UpdateSourceDate --> DateMismatch
UpdateDestinationDate --> DateMismatch
DateMismatch -- "Yes" --> ApplyFix
ApplyFix --> End
DateMismatch -- "No" --> End
CopyFile --> DateCheck