//! Sankey diagrams, as Pele's src/diagrams/sankey reads and draws them: a lexer and a parser
//! of the CSV that Mermaid's Jison grammar reads, the model they fill, and a layout that
//! places the nodes in columns by their flow and draws the bands between them, with a label
//! beside each node.
//!
//! Offsets into the text are bytes. The columns of errors are UTF-16 code units, as Pele's
//! are.
pub use SankeyDb;
pub use layout;
use crateError;
/// Parses a sankey diagram's text, as the parse of Pele's sankey diagram does. title is the
/// one its front matter gives. The text is prepared as Pele's prepareTextForParsing prepares
/// it before it is parsed, and an error is placed in the text before it was prepared.
pub