mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-28 07:03:17 +08:00
New release
This commit is contained in:
parent
8d91a42fe7
commit
fb70b9742a
2
dist/mermaid.js
vendored
2
dist/mermaid.js
vendored
@ -48271,7 +48271,7 @@ process.chdir = function (dir) {
|
|||||||
},{}],108:[function(require,module,exports){
|
},{}],108:[function(require,module,exports){
|
||||||
module.exports= {
|
module.exports= {
|
||||||
"name": "mermaid",
|
"name": "mermaid",
|
||||||
"version": "6.0.0",
|
"version": "7.0.0",
|
||||||
"description": "Markdownish syntax for generating flowcharts, sequence diagrams, class diagrams and gantt charts.",
|
"description": "Markdownish syntax for generating flowcharts, sequence diagrams, class diagrams and gantt charts.",
|
||||||
"main": "src/mermaid.js",
|
"main": "src/mermaid.js",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
2
dist/mermaid.min.js
vendored
2
dist/mermaid.min.js
vendored
File diff suppressed because one or more lines are too long
2
dist/mermaid.slim.js
vendored
2
dist/mermaid.slim.js
vendored
@ -38766,7 +38766,7 @@ process.chdir = function (dir) {
|
|||||||
},{}],107:[function(require,module,exports){
|
},{}],107:[function(require,module,exports){
|
||||||
module.exports= {
|
module.exports= {
|
||||||
"name": "mermaid",
|
"name": "mermaid",
|
||||||
"version": "6.0.0",
|
"version": "7.0.0",
|
||||||
"description": "Markdownish syntax for generating flowcharts, sequence diagrams, class diagrams and gantt charts.",
|
"description": "Markdownish syntax for generating flowcharts, sequence diagrams, class diagrams and gantt charts.",
|
||||||
"main": "src/mermaid.js",
|
"main": "src/mermaid.js",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
2
dist/mermaid.slim.min.js
vendored
2
dist/mermaid.slim.min.js
vendored
File diff suppressed because one or more lines are too long
2
dist/mermaidAPI.js
vendored
2
dist/mermaidAPI.js
vendored
@ -47938,7 +47938,7 @@ process.chdir = function (dir) {
|
|||||||
},{}],107:[function(require,module,exports){
|
},{}],107:[function(require,module,exports){
|
||||||
module.exports= {
|
module.exports= {
|
||||||
"name": "mermaid",
|
"name": "mermaid",
|
||||||
"version": "6.0.0",
|
"version": "7.0.0",
|
||||||
"description": "Markdownish syntax for generating flowcharts, sequence diagrams, class diagrams and gantt charts.",
|
"description": "Markdownish syntax for generating flowcharts, sequence diagrams, class diagrams and gantt charts.",
|
||||||
"main": "src/mermaid.js",
|
"main": "src/mermaid.js",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
2
dist/mermaidAPI.min.js
vendored
2
dist/mermaidAPI.min.js
vendored
File diff suppressed because one or more lines are too long
2
dist/mermaidAPI.slim.js
vendored
2
dist/mermaidAPI.slim.js
vendored
@ -38433,7 +38433,7 @@ process.chdir = function (dir) {
|
|||||||
},{}],106:[function(require,module,exports){
|
},{}],106:[function(require,module,exports){
|
||||||
module.exports= {
|
module.exports= {
|
||||||
"name": "mermaid",
|
"name": "mermaid",
|
||||||
"version": "6.0.0",
|
"version": "7.0.0",
|
||||||
"description": "Markdownish syntax for generating flowcharts, sequence diagrams, class diagrams and gantt charts.",
|
"description": "Markdownish syntax for generating flowcharts, sequence diagrams, class diagrams and gantt charts.",
|
||||||
"main": "src/mermaid.js",
|
"main": "src/mermaid.js",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
2
dist/mermaidAPI.slim.min.js
vendored
2
dist/mermaidAPI.slim.min.js
vendored
File diff suppressed because one or more lines are too long
@ -79,6 +79,39 @@ Would end up like this:
|
|||||||
```
|
```
|
||||||
An id is also added to mermaid tags without id.
|
An id is also added to mermaid tags without id.
|
||||||
|
|
||||||
|
### Simple full example:
|
||||||
|
```html
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<!-- Downloaded as per http://knsv.github.io/mermaid/#installation -->
|
||||||
|
<!-- Stored in the same directory as html file -->
|
||||||
|
<link rel="stylesheet" href="mermaid.css">
|
||||||
|
|
||||||
|
<!-- Optional to use fontawesome -->
|
||||||
|
<!-- Downloaded as per http://fontawesome.io/get-started/ -->
|
||||||
|
<!-- Stored in the same directory as html file -->
|
||||||
|
<script src="https://use.fontawesome.com/7065416dc9.js"></script>
|
||||||
|
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<!-- Include mermaid on your web page: -->
|
||||||
|
<script src="mermaid.min.js"></script>
|
||||||
|
<script>mermaid.initialize({startOnLoad:true});</script>
|
||||||
|
|
||||||
|
<div class="mermaid">
|
||||||
|
graph LR
|
||||||
|
A --- B
|
||||||
|
B-->C[fa:fa-ban forbidden]
|
||||||
|
B-->D(fa:fa-spinner);
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
```
|
||||||
### Labels out of bounds
|
### Labels out of bounds
|
||||||
|
|
||||||
If you use dynamically loaded fonts that are loaded through CSS, such as Google fonts, mermaid should wait for the
|
If you use dynamically loaded fonts that are loaded through CSS, such as Google fonts, mermaid should wait for the
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "mermaid",
|
"name": "mermaid",
|
||||||
"version": "6.0.0",
|
"version": "7.0.0",
|
||||||
"description": "Markdownish syntax for generating flowcharts, sequence diagrams, class diagrams and gantt charts.",
|
"description": "Markdownish syntax for generating flowcharts, sequence diagrams, class diagrams and gantt charts.",
|
||||||
"main": "src/mermaid.js",
|
"main": "src/mermaid.js",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user