mirror of
				https://github.com/mermaid-js/mermaid.git
				synced 2025-11-04 12:54:08 +01:00 
			
		
		
		
	Fix for issue #311, mermaid will clear div used for rendering initially in the redner function.
This commit is contained in:
		@@ -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;
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user