MarkDown时序图
作者:互联网
时序图
-
语法
```sequence```
-
标题
title: 我是标题 -
对象
participant A
participant B as b-alias -
交互
sequence A->B: 连接
-
实际效果
![](http://upload-images.jianshu.io/upload_images/3991638-f81a5cc7217f61a8.png?imageMogr2/auto-orient/strip|imageView2/2/w/303/format/webp)
![](http://upload-images.jianshu.io/upload_images/3991638-5f3f61a036aea1f9.png?imageMogr2/auto-orient/strip|imageView2/2/w/221/format/webp)
直接 A->B: 一样效果
-
标记分类
- 代表实线 , 主动发送消息,比如 request请求
> 代表实心箭头 , 同步消息,比如 AJAX 的同步请求
-- 代表虚线,表示返回消息,spring Controller return
>> 代表非实心箭头 ,异步消息,比如AJAX请求 -
示例
![](http://upload-images.jianshu.io/upload_images/3991638-5d809e02c4e2227c.png?imageMogr2/auto-orient/strip|imageView2/2/w/328/format/webp)
![](http://upload-images.jianshu.io/upload_images/3991638-1f350a7c5fcd7dda.png?imageMogr2/auto-orient/strip|imageView2/2/w/273/format/webp)
- 注释
![](http://upload-images.jianshu.io/upload_images/3991638-223d0eca614187da.png?imageMogr2/auto-orient/strip|imageView2/2/w/790/format/webp)
![](http://upload-images.jianshu.io/upload_images/3991638-14867b3a83b9cf40.png?imageMogr2/auto-orient/strip|imageView2/2/w/730/format/webp)
参考链接:https://www.jianshu.com/p/8f8e7fd20054
标签:MarkDown,participant,请求,sequence,代码,时序,AJAX 来源: https://www.cnblogs.com/dalianpai/p/11783049.html