Format demo code

This commit is contained in:
Tyler Long 2017-06-02 14:42:04 +08:00
parent 5f5c8a2df0
commit b023892c57
2 changed files with 25 additions and 24 deletions

48
dist/demo/index.html vendored
View File

@ -62,41 +62,41 @@ Add another diagram to demo page : 48h
<hr/>
<div class="mermaid">
gitGraph :
gitGraph:
options
{
"nodeSpacing" : 150,
"nodeSpacing": 150,
"nodeRadius": 10
}
end
commit
branch newbranch
checkout newbranch
commit
commit
checkout master
commit
commit
merge newbranch
commit
branch newbranch
checkout newbranch
commit
commit
checkout master
commit
commit
merge newbranch
</div>
<hr/>
<div class="mermaid">
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
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
</div>
<script src="../mermaid.js"></script>
<script>

View File

@ -16,3 +16,4 @@
- How to generate doc?
- webpack warning: lodash too big
- add converalls
- git graph requires a blank line at the end. why?