mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-20 15:59:51 +02:00
Update mermaidAPI.js
This commit is contained in:
@@ -1,6 +1,10 @@
|
|||||||
/**
|
/**
|
||||||
* This is the api to be used when optionally handling the integration with the web page, instead of using the default integration provided by mermaid.js.
|
*
|
||||||
|
* **Edit this Page** [](https://github.com/mermaid-js/mermaid/blob/develop/src/mermaidAPI.js)
|
||||||
*
|
*
|
||||||
|
*This is the api to be used when optionally handling the integration with the web page, instead of using the default integration provided by mermaid.js.
|
||||||
|
*
|
||||||
|
*
|
||||||
* The core of this api is the [**render**](Setup.md?id=render) function which, given a graph
|
* The core of this api is the [**render**](Setup.md?id=render) function which, given a graph
|
||||||
* definition as text, renders the graph/diagram and returns an svg element for the graph.
|
* definition as text, renders the graph/diagram and returns an svg element for the graph.
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user