Skip to content

Commit 3632264

Browse files
committed
docs: indent Mermaid diagram.
1 parent 483b98c commit 3632264

File tree

1 file changed

+28
-28
lines changed

1 file changed

+28
-28
lines changed

server/src/translation.rs

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,8 @@
9696
/// IDE ->> Server: Result(String: OK)
9797
/// note over IDE, Client: Open browser (Client framework HTML or URL)
9898
/// loop
99-
/// Client -> Server: HTTP request(/static URL)
100-
/// Server -> Client: HTTP response(/static data)
99+
/// Client -> Server: HTTP request(/static URL)
100+
/// Server -> Client: HTTP response(/static data)
101101
/// end
102102
/// ```
103103
///
@@ -111,40 +111,40 @@
111111
/// participant Server
112112
/// participant Client
113113
/// alt IDE loads file
114-
/// IDE ->> Client: CurrentFile(String: Path of main.py)
115-
/// opt If Client document is dirty
116-
/// Client ->> IDE: Update(String: contents of main.py)
117-
/// IDE ->> Client: Response(OK)
118-
/// end
119-
/// Client ->> IDE: Response(OK)
114+
/// IDE ->> Client: CurrentFile(String: Path of main.py)
115+
/// opt If Client document is dirty
116+
/// Client ->> IDE: Update(String: contents of main.py)
117+
/// IDE ->> Client: Response(OK)
118+
/// end
119+
/// Client ->> IDE: Response(OK)
120120
/// else Client loads file
121-
/// Client ->> IDE: CurrentFile(String: URL of main.py)
122-
/// IDE ->> Client: Response(OK)
121+
/// Client ->> IDE: CurrentFile(String: URL of main.py)
122+
/// IDE ->> Client: Response(OK)
123123
/// end
124124
/// Client ->> Server: HTTP request(URL of main.py)
125125
/// Server ->> IDE: LoadFile(String: path to main.py)
126126
/// IDE ->> Server: Response(LoadFile(String: file contents of main.py))
127127
/// alt main.py is editable
128-
/// Server ->> Client: HTTP response(contents of Client)
129-
/// Server ->> Client: Update(String: contents of main.py)
130-
/// Client ->> Server: Response(OK)
131-
/// loop
132-
/// Client ->> Server: HTTP request(URL of supporting file in main.py)
133-
/// Server ->> IDE: LoadFile(String: path of supporting file)
134-
/// alt Supporting file in IDE
135-
/// IDE ->> Server: Response(LoadFile(contents of supporting file)
136-
/// Server ->> Client: HTTP response(contents of supporting file)
137-
/// else Supporting file not in IDE
138-
/// IDE ->> Server: Response(LoadFile(None))
139-
/// Server ->> Client: HTTP response(contents of supporting file from /// filesystem)
140-
/// end
141-
/// end
128+
/// Server ->> Client: HTTP response(contents of Client)
129+
/// Server ->> Client: Update(String: contents of main.py)
130+
/// Client ->> Server: Response(OK)
131+
/// loop
132+
/// Client ->> Server: HTTP request(URL of supporting file in main.py)
133+
/// Server ->> IDE: LoadFile(String: path of supporting file)
134+
/// alt Supporting file in IDE
135+
/// IDE ->> Server: Response(LoadFile(contents of supporting file)
136+
/// Server ->> Client: HTTP response(contents of supporting file)
137+
/// else Supporting file not in IDE
138+
/// IDE ->> Server: Response(LoadFile(None))
139+
/// Server ->> Client: HTTP response(contents of supporting file from /// filesystem)
140+
/// end
141+
/// end
142142
/// else main.py not editable and not a project
143-
/// Server ->> Client: HTTP response(contents of main.py)
143+
/// Server ->> Client: HTTP response(contents of main.py)
144144
/// else main.py not editable and is a project
145-
/// Server ->> Client: HTTP response(contents of Client Simple Viewer)
146-
/// Client ->> Server: HTTP request (URL?raw of main.py)
147-
/// Server ->> Client: HTTP response(contents of main.py)
145+
/// Server ->> Client: HTTP response(contents of Client Simple Viewer)
146+
/// Client ->> Server: HTTP request (URL?raw of main.py)
147+
/// Server ->> Client: HTTP response(contents of main.py)
148148
/// end
149149
/// ```
150150
///

0 commit comments

Comments
 (0)