broccoli-viz
Advanced tools
Comparing version 3.1.2 to 3.1.3
@@ -43,6 +43,6 @@ var statsGlob = require('./stats-glob'); | ||
return ' ' + key + ' (' + value + ') \n'; | ||
return key + ' (' + value + ')'; | ||
}); | ||
return result.join(''); | ||
return result.join('\\n'); | ||
} | ||
@@ -52,3 +52,3 @@ | ||
var out = 'digraph G {'; | ||
out += ' ratio = "auto"'; | ||
out += ' ratio = "auto"\n'; | ||
@@ -66,3 +66,3 @@ var patterns = options && options.stats; | ||
var annotation = node.id.name; | ||
annotation = annotation.replace('(', '\n('); | ||
annotation = annotation.replace(' (', '\\n('); | ||
@@ -82,7 +82,7 @@ var shape, style; | ||
out += ' [shape=' + shape + ', style=' + style + ', colorscheme="rdylbu9", color=' + selfTimeColor(selfTime) +', label=" ' + | ||
node._id + ' \n' + | ||
annotation + '\n' + | ||
out += ' [shape=' + shape + ', style=' + style + ', colorscheme="rdylbu9", color=' + selfTimeColor(selfTime) +', label="' + | ||
node._id + '\\n' + | ||
annotation + '\\n' + | ||
statsString(node, patterns) + | ||
' "]'; | ||
'"]'; | ||
@@ -95,3 +95,3 @@ out += '\n'; | ||
var level = graph.nodesById[childId].stats._broccoli_viz.level; | ||
out += ' ' + childId + ' -> ' + node._id + '[penwidth=' + penWidth(level) + ' ] \n'; | ||
out += ' ' + childId + ' -> ' + node._id + ' [penwidth=' + penWidth(level) + ']\n'; | ||
}); | ||
@@ -98,0 +98,0 @@ }); |
{ | ||
"name": "broccoli-viz", | ||
"version": "3.1.2", | ||
"version": "3.1.3", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13458