Add screenshot for gantt diagram

This commit is contained in:
Tyler Long
2017-09-01 16:01:03 +08:00
parent 75eb6b1b6a
commit dcad2e9a17
4 changed files with 23 additions and 3 deletions

View File

@@ -44,7 +44,7 @@ sequenceDiagram
loop Healthcheck
John->>John: Fight against hypochondria
end
Note right of John: Rational thoughts <br/>prevail...
Note right of John: Rational thoughts &lt;br/>prevail...
John-->>Alice: Great!
John->>Bob: How about you?
Bob-->>John: Jolly good!
@@ -54,6 +54,26 @@ sequenceDiagram
<td>
<img src='./img/sequence.png' alt='Sequence Diagram'>
</td>
</tr>
<tr>
<td>
<pre>
<code>
gantt
dateFormat YYYY-MM-DD
title Adding GANTT diagram to mermaid
section A section
Completed task :done, des1, 2014-01-06,2014-01-08
Active task :active, des2, 2014-01-09, 3d
Future task : des3, after des2, 5d
Future task2 : des4, after des3, 5d
</code>
</pre>
</td>
<td>
<img src='./img/gantt.png' alt='Gantt Diagram'>
</td>
</tr>
<tr>
<td>
@@ -77,7 +97,7 @@ classDiagram
</pre>
</td>
<td>
<img src='./img/class-diagram.png' alt='Example 3'>
<img src='./img/class.png' alt='Class Diagram'>
</td>
</tr>
<tr>
@@ -105,7 +125,7 @@ end
</pre>
</td>
<td>
<img src='./img/gitgraph.mm.png' alt='Example 4'>
<img src='./img/git.png' alt='Git Graph'>
</td>
</tr>

View File

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 26 KiB

BIN
img/gantt.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

View File

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB