mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-14 21:09:50 +02:00
Remoed a console.log
This commit is contained in:
@@ -413,10 +413,8 @@ exports.draw = function (text, id,isDot) {
|
|||||||
// Center the graph
|
// Center the graph
|
||||||
svg.attr("height", g.graph().height );
|
svg.attr("height", g.graph().height );
|
||||||
if(typeof conf.width === 'undefined'){
|
if(typeof conf.width === 'undefined'){
|
||||||
console.log('Undefined it is');
|
|
||||||
svg.attr("width", g.graph().width );
|
svg.attr("width", g.graph().width );
|
||||||
}else{
|
}else{
|
||||||
console.log('Defined it is'+conf.width);
|
|
||||||
svg.attr("width", conf.width );
|
svg.attr("width", conf.width );
|
||||||
}
|
}
|
||||||
//svg.attr("viewBox", svgb.getBBox().x + ' 0 '+ g.graph().width+' '+ g.graph().height);
|
//svg.attr("viewBox", svgb.getBBox().x + ' 0 '+ g.graph().width+' '+ g.graph().height);
|
||||||
|
Reference in New Issue
Block a user