mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-11-30 17:44:08 +01:00
Update 8.6.0_docs.md
This commit is contained in:
@@ -1,7 +1,9 @@
|
|||||||
# Version 8.6.0 Changes
|
# Version 8.6.0 Changes
|
||||||
**Edit this Page** [](https://github.com/medmaid-js/mermaid/edit/develop/docs/8.6.0_docs.md)
|
**Edit this Page** [](https://github.com/medmaid-js/mermaid/edit/develop/docs/8.6.0_docs.md)
|
||||||
|
|
||||||
**Try out the Beta Version of the [[New Mermaid Live-Editor](https://mermaid-js.github.io/docs/mermaid-live-editor-beta/#/edit/eyJjb2RlIjoiJSV7aW5pdDoge1widGhlbWVcIjogXCJmb3Jlc3RcIiwgXCJsb2dMZXZlbFwiOiAxIH19JSVcbmdyYXBoIFREXG4gIEFbQ2hyaXN0bWFzXSAtLT58R2V0IG1vbmV5fCBCKEdvIHNob3BwaW5nKVxuICBCIC0tPiBDe0xldCBtZSB0aGlua31cbiAgQyAtLT58T25lfCBEW0xhcHRvcF1cbiAgQyAtLT58VHdvfCBFW2lQaG9uZV1cbiAgQyAtLT58VGhyZWV8IEZbZmE6ZmEtY2FyIENhcl1cblx0XHQiLCJtZXJtYWlkIjp7InRoZW1lIjoiZGFyayJ9fQ)]**
|
## CDN : https://unpkg.com/mermaid/
|
||||||
|
|
||||||
|
## Try out the Beta Version of the [[New Mermaid Live-Editor](https://mermaid-js.github.io/docs/mermaid-live-editor-beta/#/edit/eyJjb2RlIjoiJSV7aW5pdDoge1widGhlbWVcIjogXCJmb3Jlc3RcIiwgXCJsb2dMZXZlbFwiOiAxIH19JSVcbmdyYXBoIFREXG4gIEFbQ2hyaXN0bWFzXSAtLT58R2V0IG1vbmV5fCBCKEdvIHNob3BwaW5nKVxuICBCIC0tPiBDe0xldCBtZSB0aGlua31cbiAgQyAtLT58T25lfCBEW0xhcHRvcF1cbiAgQyAtLT58VHdvfCBFW2lQaG9uZV1cbiAgQyAtLT58VGhyZWV8IEZbZmE6ZmEtY2FyIENhcl1cblx0XHQiLCJtZXJtYWlkIjp7InRoZW1lIjoiZGFyayJ9fQ)]**
|
||||||
|
|
||||||
With version 8.6.0 comes the release of directives for mermaid and a new system for configurations, with the aim of establishing centralized, sane defaults and simple implementation.
|
With version 8.6.0 comes the release of directives for mermaid and a new system for configurations, with the aim of establishing centralized, sane defaults and simple implementation.
|
||||||
|
|
||||||
@@ -89,7 +91,7 @@ It is a non-argument directive and can be executed thusly:
|
|||||||
|
|
||||||
**an example of text wrapping in a sequence diagram**:
|
**an example of text wrapping in a sequence diagram**:
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
|
||||||
# Resetting Configurations:
|
# Resetting Configurations:
|
||||||
@@ -108,12 +110,12 @@ There are two more functions in the mermaidAPI that can be called by site owners
|
|||||||
|
|
||||||
Example of **assignWithDepth**:
|
Example of **assignWithDepth**:
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
|
||||||
Example of **object.Assign**:
|
Example of **object.Assign**:
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
• **calculateTextDimensions, calculateTextWidth,** and **calculateTextHeight** - for measuring text dimensions, width and height.
|
• **calculateTextDimensions, calculateTextWidth,** and **calculateTextHeight** - for measuring text dimensions, width and height.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user