当前位置:网站首页>Markdown Mermaid Grass (1) Introduction à Mermaid
Markdown Mermaid Grass (1) Introduction à Mermaid
2022-06-28 19:41:00 【Carnivore Rabbit】
Markdown mermaidPlanter de l'herbe(1)_ mermaidIntroduction
Catalogue des articles
1 Pourquoi recommandermermaid
.Ben Xiaobai a récemment été particulièrement obsédé parmarkdownEtmarkdownOutils connexes. C'est peut - être parce que les compétences en programmation des cartes authentiques ne,Je ne peux apprendre que ce genre d'utilisation(zhuangbility)Techniques. C'est une blague.,De bonnes notes, de bonnes présentations,Peut ajouter de la brique à l'effet d'apprentissage.
MarkdownQue dit la langue?,C'est un ami du programmeur. Peu importe.githubOu est - ce que tu regardesCSDN,Et une variété de produits Notebook,Prend en charge ce format d'édition graphique et textuel. Ben Xiaobai a d'abord recommandé unmarkdownArtefacttypora, Ce produit est actuellement utilisé par moi markdown Principaux produits linguistiques , Après avoir expérimenté plusieurs éditeurs en ligne et plusieurs logiciels de prise de notes ,Je pense toujourstypora C'est local. markdown La solution optimale de l'éditeur ( Opinion personnelle de Ben Xiaobai , Pulvérisation manuelle ).
Revenons à nos moutons, Parlez du personnage principal de cet article. mermaid. Ben pensait ,markdown Ou seulement dans le texte 、 C'était génial au niveau de la table. , Jusqu'à récemment, mermaidC'estmarkdown L'artefact d'addition de la langue .
Pour ainsi dire,mermaid Il répond essentiellement aux exigences d'édition des programmeurs pour les diagrammes couramment utilisés dans le travail .Allez - y, Ça vaut la peine d'être recommandé. .
2 mermaidIntroduction
En premier. mermaidPage d'accueil:mermaidPorte de transfert.
mermaid Les types de dessins suivants sont actuellement disponibles: :
| No. | Titre anglais | Nom de l'image en chinois |
|---|---|---|
| 1 | Flowchart | Organigramme |
| 2 | Sequence Diagram | Diagramme de séquence |
| 3 | Class Diagram | Diagramme de classe |
| 4 | State Diagram | Diagramme de situation |
| 5 | Entity Relationship Diagram | Diagramme d'entité |
| 6 | User Journey | Compte courant |
| 7 | Gantt | Diagramme de Gantt |
| 8 | Pie Chart | Diagramme circulaire |
Mermaid lets you represent diagrams using text and code.
mermaid Le but est de vous permettre de dessiner des diagrammes à l'aide d'un éditeur de texte et d'un code . OK, Puisque c'est un profil, , Prenons un exemple de chaque graphique. ( Extrait de l'exemple suivant ,Pas de protection du droit d'auteur):
Merci beaucoup.CSDNOui.mermaid La plupart des dessins , Mais est - ce que Gantt ne supporte pas ???
2.1 Organigramme
graph TD;
A-->B;
A-->C;
B-->D;
C-->D;
2.2 Diagramme de séquence
sequenceDiagram
participant Alice
participant Bob
Alice->>John: Hello John, how are you?
loop Healthcheck
John->>John: Fight against hypochondria
end
Note right of John: Rational thoughts <br/>prevail!
John-->>Alice: Great!
John->>Bob: How about you?
Bob-->>John: Jolly good!
2.3 Diagramme de classe
classDiagram
Class01 <|-- AveryLongClass : Cool
Class03 *-- Class04
Class05 o-- Class06
Class07 .. Class08
Class09 --> C2 : Where am i?
Class09 --* C3
Class09 --|> Class07
Class07 : equals()
Class07 : Object[] elementData
Class01 : size()
Class01 : int chimp
Class01 : int gorilla
Class08 <--> C2: Cool label
2.4 Diagramme de situation
stateDiagram-v2
state fork_state <<fork>>
[*] --> fork_state
fork_state --> State2
fork_state --> State3
state join_state <<join>>
State2 --> join_state
State3 --> join_state
join_state --> State4
State4 --> [*]
2.5 Diagramme d'entité(ERFig.)
erDiagram
CUSTOMER ||--o{
ORDER : places
ORDER ||--|{
LINE-ITEM : contains
CUSTOMER }|..|{
DELIVERY-ADDRESS : uses
2.6 Carte de l'expérience utilisateur
journey
title My working day
section Go to work
Make tea: 5: Me
Go upstairs: 3: Me
Do work: 1: Me, Cat
section Go home
Go downstairs: 5: Me
Sit down: 5: Me
2.7 Diagramme de Gantt
gantt
dateFormat YYYY-MM-DD
axisFormat %m-%d
title Adding GANTT diagram to mermaid
excludes weekdays 2021-01-10
section A section
Completed task :done, des1, 2021-01-16,2021-01-28
Active task :active, des2, 2021-01-29, 3d
Future task : des3, after des2, 5d
Future task2 : des4, after des3, 5d

2.8 Diagramme circulaire
pie
title Key elements in Product X
"Calcium" : 42.96
"Potassium" : 50.05
"Magnesium" : 10.01
"Iron" : 5

边栏推荐
- How does the computer check whether the driver is normal
- 图神经网络入门 (GNN, GCN)
- Wechat applet_ 8. View and logic
- 5G NR MBS架构介绍
- Group programming TIANTI competition exercise - continuously updating
- 释放互联网价值的 Web3
- 秒杀系统设计
- Design of secsha system
- I just bought the ADB MySQL service. Every time I do an operation, such as creating a table, this problem will pop up. What is the problem?
- Grafana draws the trend chart
猜你喜欢

Build halo blog in arm version rk3399

Intelligent computing system 1 environment construction

Technical methodology of new AI engine under the data infrastructure upgrade window

The amazing nanopc-t4 (rk3399) is used as the initial configuration and related applications of the workstation

h5向日葵作业

易观分析《2022年中国银行业隐私计算平台供应商实力矩阵分析》研究活动 正式启动

论文笔记:Universal Value Function Approximators

Autumn recruitment experience sharing | how to prepare for bank interview

视频压缩处理之ffmpeg用法

Machine learning notes temperature+softmax
随机推荐
Demo of intelligent computing system 2 bangc operator development (heterogeneous programming flow of CPU and mlu270)
Grafana draws the trend chart
Industry analysis - quick intercom, building intercom
Paper 3 vscode & texlive & sumatrapdf create a perfect tool for writing papers
NanoPC-T4(RK3399) game1 oled(I2C)显示时间天气温度
腾讯汤道生:面向数实融合新世界,开发者是最重要的“建筑师”
严重性 代码 说明 项目 文件 行 禁止显示状态 错误 LNK2038 检测到“RuntimeLibrary”的不匹配项: 值“MD_DynamicRelease”不匹配值“MDd_DynamicDe
pd. Difference between before and after cut interval parameter setting
变分自编码器 (Variational Autoencoders, VAEs)
《数字经济全景白皮书》消费金融数字化篇 重磅发布
Kaggle gastrointestinal image segmentation competition baseline
内核错误怎么解决?Win11系统内核错误解决方法
秋招经验分享 | 银行笔面试该怎么准备
大火的虚拟人在哪些产业开始发力?
《数据安全法》出台一周年,看哪四大变化来袭?
h5向日葵作业
Grafana biaxial graph with your hands
redisTemplate
Show the actual work case of creating intermediate data table with SQL
Concours de segmentation des images gastro - intestinales de kaggle Baseline