New docs and updated dist

This commit is contained in:
knsv
2015-09-26 13:00:30 +02:00
parent fb94aaaa6f
commit 709ebe524d
27 changed files with 91032 additions and 30619 deletions

View File

@@ -153,6 +153,26 @@ graph LR;
```
### A link with arrow head and text
```
A-->|text|B
```
```mermaid
graph LR;
A-->|text|B
```
or
```
A-- text -->B
```
```mermaid
graph LR;
A-- text -->B
```
### Dotted link
-.->
```mermaid

View File

@@ -23,5 +23,5 @@ mermaid_config = {
```
mermaid.initialize({
startOnLoad:true
});
});
```

View File

@@ -144,7 +144,7 @@ could be used. The example just logs the resulting svg to the javascript console
<script>
mermaidAPI.initialize({
startOnLoad:false
});
});
// Example of using the API
$(function(){
var graphDefinition = 'graph TB\na-->b';
@@ -158,7 +158,7 @@ could be used. The example just logs the resulting svg to the javascript console
$ = require('jquery');
mermaidAPI = require('mermaid').mermaidAPI;
mermaidAPI.initialize({
startOnLoad:false
startOnLoad:false
});
$(function(){