Markdown writes a high-end flow chart.
Markdown is a lightweight markup language that can be written quickly using a plain text editor with rich display formats and unambiguous features, sharing a flow chart of API requests in md format.
Start= > start: API request cache= > operation: read Redis cache cached= > condition: is there a cache? SendMq= > operation: send MQ, backend service update cache info= > operation: read information setCache= > operation: save cache end= > end: return information start- > cache- > cachedcached (yes)-> sendMqcached (no)-> infoinfo- > setCachesetCache- > endsendMq- > end
Display effect:
Start= > start: received message info= > operation: read information setCache= > operation: update cache end= > end: end of processing start- > info- > setCache- > end
Display effect:
Md online Editor: https://www.mdeditor.com/