View Source Kino.Mermaid (Kino v0.9.0)
A kino for rendering Mermaid graphs.
Relation to Kino.Markdown
Mermaid graphs can also be generated dynamically with
Kino.Markdown, however the output ofKino.Markdownis never persisted in the notebook source.Kino.Mermaiddoesn't have this limitation.
  
  examples
  
  Examples
Kino.Mermaid.new("""
graph TD;
  A-->B;
  A-->C;
  B-->D;
  C-->D;
""")Link to this section Summary
Functions
Creates a new kino displaying the given Mermaid graph.
Link to this section Types
@type t() :: Kino.JS.t()
Link to this section Functions
Creates a new kino displaying the given Mermaid graph.
