-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Description
mermaid changed quite a lot... cli package has move to a separate package https://github.com/mermaid-js/mermaid-cli
also it seems now possible to use mermaid directly by passing a string without the cli? π€
mermaidAPI.initialize({
startOnLoad:true
});
$(function(){
const graphDefinition = 'graph TB\na-->b';
const cb = function(svgGraph){
console.log(svgGraph);
};
mermaidAPI.render('id1',graphDefinition,cb);
});βοΈ http://mermaid-js.github.io/mermaid/#/mermaidAPI?id=render
we could work on a "update/rewrite" and publish it as a new major version?
would you accept such a "huge" change... or shell we publish under a different name? π
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels