View Source Kino.Mermaid (Kino v0.14.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.Markdown
is never persisted in the notebook source.Kino.Mermaid
doesn't have this limitation.
Examples
Kino.Mermaid.new("""
graph TD;
A-->B;
A-->C;
B-->D;
C-->D;
""")
Summary
Functions
Creates a new kino displaying the given Mermaid graph.
Types
@type t() :: Kino.JS.t()
Functions
Creates a new kino displaying the given Mermaid graph.