Update 8.6.0_docs.md

This commit is contained in:
Neil Cuzon
2020-07-13 14:42:57 -07:00
committed by GitHub
parent 93d462e028
commit a677608f1d

View File

@@ -1,7 +1,9 @@
# Version 8.6.0 Changes # Version 8.6.0 Changes
**Edit this Page** [![N|Solid](/img/GitHub-Mark-32px.png)](https://github.com/medmaid-js/mermaid/edit/develop/docs/8.6.0_docs.md) **Edit this Page** [![N|Solid](./img/GitHub-Mark-32px.png)](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**:
![Image showing wrapped text](/img/wrapped%20text.png) ![Image showing wrapped text](./img/wrapped%20text.png)
# 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**:
![Image showing assignWithDepth](/img/assignWithDepth.png) ![Image showing assignWithDepth](./img/assignWithDepth.png)
Example of **object.Assign**: Example of **object.Assign**:
![Image showing object.assign without depth](/img/object.assign%20without%20depth.png) ![Image showing object.assign without depth](./img/object.assign%20without%20depth.png)
**calculateTextDimensions, calculateTextWidth,** and **calculateTextHeight** - for measuring text dimensions, width and height. **calculateTextDimensions, calculateTextWidth,** and **calculateTextHeight** - for measuring text dimensions, width and height.