Documentation
¶
Index ¶
- func RenderGraphvizDOT(res *wt.Result, sch *schema.Schema) (string, error)
- func RenderHTML(res *wt.Result, sch *schema.Schema, opts Options) ([]byte, error)
- func RenderMermaid(res *wt.Result, sch *schema.Schema) (string, error)
- func RenderSVG(res *wt.Result, sch *schema.Schema, opts Options) ([]byte, error)
- func WriteFile(path string, res *wt.Result, sch *schema.Schema, opts Options) error
- func WriteMermaid(path string, res *wt.Result, sch *schema.Schema) error
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RenderGraphvizDOT ¶
RenderGraphvizDOT builds a simple Graphviz digraph (optional companion to Mermaid).
func RenderHTML ¶
RenderHTML wraps SVG in a minimal HTML document (no JS required).
func RenderMermaid ¶
RenderMermaid builds a Mermaid flowchart from a schema (preferred) or High/Medium hypotheses.
Types ¶
Click to show internal directories.
Click to hide internal directories.