pub fn from_reader<R, W>(
    opt: &mut Options<'_>,
    reader: R,
    writer: W
) -> Result<()>
where R: Read, W: Write,
Expand description

Produce a flame graph from a reader that contains a sequence of folded stack lines.

See from_lines for the expected format of each line.

The resulting flame graph will be written out to writer in SVG format.