Versions in this module Expand all Collapse all v0 v0.1.0 Jun 21, 2026 Changes in this version + func Render(src []byte, opts ...mermaid.Option) ([]byte, error) + func ToMermaid(src []byte) (string, error) + type Cluster struct + ID string + Title string + type Edge struct + From string + Label string + To string + type Graph struct + Clusters []Cluster + Directed bool + Edges []Edge + Nodes []Node + RankDir string + type Node struct + Cluster string + Key string + Label string + Shape string