readme: convert diagram to ascii

This is ensure that it renders well across platforms
This commit is contained in:
Jimmy Zelinskie 2016-09-14 20:19:46 -04:00 committed by GitHub
parent c886008eec
commit 71c32e2224

View file

@ -31,28 +31,28 @@ Differentiating features include:
### Diagram
```
┌──────────────────────┐
│ BitTorrent Client │◀──────────────┐
└──────────────────────┘ │
│ │
│ │
│ │
┌────────────▼──────────────────────────┴───────────────────┐─────────────────────────┐
│┌──────────────────────┐ ┌──────────────────────┐frontend│ chihaya│
││ Parser │ │ Writer │ │ │
│└──────────────────────┘ └──────────────────────┘ │ │
│ │ ▲ │ │
└────────────┼──────────────────────────┼───────────────────┘ │
┌────────────▼──────────────────────────┴───────────────────┐ │
│┌──────────────────────┐ ┌──────────────────────┐ logic│ │
││ PreHook Middleware │──▶│ Response Generator │◀───────│─────────────┐ │
│└──────────────────────┘ └──────────────────────┘ │ │ │
│ │ │ │
│┌──────────────────────┐ │ ┌──────────────────────┐│
││ PostHook Middleware │───────────────────────────────────│▷│ Storage ││
│└──────────────────────┘ │ └──────────────────────┘│
│ │ │
└───────────────────────────────────────────────────────────┘─────────────────────────┘
+----------------------+
| BitTorrent Client |<--------------+
+----------------------+ |
| |
| |
| |
-------------v--------------------------+-------------------+-------------------------+
|+----------------------+ +----------------------+frontend| chihaya|
|| Parser | | Writer | | |
|+----------------------+ +----------------------+ | |
| | ^ | |
-------------+--------------------------+-------------------+ |
+------------v--------------------------+-------------------+ |
|+----------------------+ +----------------------+ logic| |
|| PreHook Middleware |-->| Response Generator |<-------|-------------+ |
|+----------------------+ +----------------------+ | | |
| | | |
|+----------------------+ | +----------------------+|
|| PostHook Middleware |-----------------------------------|>| Storage ||
|+----------------------+ | +----------------------+|
| | |
+-----------------------------------------------------------+-------------------------+
```
### Description