code: function svg(processedCpuProfile, opts) {
    opts = xtend(defaultOpts, opts)
  
    var context = contextify(processedCpuProfile, opts)
  
    narrowify(context, opts)
  
    return svgTemplate(context)
  }
docs: Creates a context from a call graph that has been collapsed (`stackcollapse-*`) and renders svg from it.
  
  @name flamegraph::svg
  @function
  @param {Array.<string>} collapsedLines callgraph that has been collapsed
  @param {Object} opts options
  @return {string} svg