Fix for issue #311, mermaid will clear div used for rendering initially in the redner function.

This commit is contained in:
Knut Sveidqvist
2016-12-14 12:41:12 +01:00
parent a179212c60
commit 046b4fdae4
3 changed files with 17 additions and 31 deletions

View File

@@ -67,7 +67,7 @@ exports.addVertex = function (id, text, type, style) {
* @param linktext
*/
exports.addLink = function (start, end, type, linktext) {
log.debug('Got edge', start, end);
log.info('Got edge...', start, end);
var edge = {start: start, end: end, type: undefined, text: ''};
linktext = type.text;