Skip to content

Commit 0fc1c88

Browse files
committed
refactor: flowchat in code changed to mermaid diagram
1 parent ad4b21c commit 0fc1c88

File tree

1 file changed

+10
-26
lines changed

1 file changed

+10
-26
lines changed

content/posts/Projects/rpc-python.md

Lines changed: 10 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -88,32 +88,16 @@ Places Where RPC is Used
8888

8989
## RPC implementation
9090

91-
```markdown
92-
----------
93-
| Client |
94-
----------
95-
| ^
96-
v |
97-
---------------
98-
| Client Stub |
99-
---------------
100-
| ^
101-
v |
102-
---------------
103-
| Network/ |
104-
| Transport |
105-
---------------
106-
| ^
107-
v |
108-
---------------
109-
| Server Stub |
110-
---------------
111-
| ^
112-
v |
113-
-----------
114-
| Server |
115-
-----------
116-
````
91+
```mermaid
92+
graph TD
93+
id1(["Client"])
94+
id2["Network/Transport"]
95+
id3(["Server"])
96+
id1 --> |Client Stub| id2
97+
id2 --> |Server Stub| id3
98+
id2 --> |Client Stub| id1
99+
id3 --> |Server Stub| id2
100+
```
117101

118102
> For ease of use, let's use **Python**.
119103

0 commit comments

Comments
 (0)