文档测试

001.文档测试

下面是测试的,无需理会。

代码块测试

测试数学公式

\(E=mc^2\)

图表测试

类图

@startuml

skinparam backgroundcolor transparent

!include https://unpkg.com/plantuml-style-c4@latest/core.puml

left to right direction

class orders {
   ordertime: varchar(255)
   total: double
   uid: int(11)
   id: int(11)
}
class user {
   username: varchar(50)
   password: varchar(50)
   birthday: varchar(50)
   id: int(11)
}

orders  -[#595959,plain]-^  user   : "uid:id"
@enduml

脑图

@startmindmap

skinparam backgroundcolor transparent

!include https://static-rs-terwer.oss-cn-beijing.aliyuncs.com/lib/uml/starter-skin.puml

* 这是脑图
	* 子目录
	* 子目录2

@endmindmap

时序图

@startuml

!include https://unpkg.com/plantuml-style-c4@latest/core.puml

Bob ->x Alice
Bob -> Alice
Bob ->> Alice
Bob -\ Alice
Bob \\- Alice
Bob //-- Alice

Bob ->o Alice
Bob o\\-- Alice

Bob <-> Alice
Bob <->o Alice
@enduml

流程图

@startuml
!pragma useVerticalIf on

!include https://unpkg.com/plantuml-style-c4@latest/core.puml

start

:开始;

:流程1;

:结束;

stop

@enduml

posted @ 2022-12-10 12:00  灯塔下的守望者  阅读(25)  评论(0编辑  收藏  举报