Versions in this module Expand all Collapse all v0 v0.9.0 Mar 25, 2020 Changes in this version + func Dot(spec *Spec, w io.WriteCloser, fromNode, toNode string) error + func Inline(bs []byte, f func(string) ([]byte, error)) ([]byte, error) + func Mermaid(spec *Spec, w io.WriteCloser, opts *MermaidOpts, fromNode, toNode string) error + func PNG(spec *Spec, basename string, fromNode, toNode string) (string, error) + func ReadAllWithInlines(in io.Reader, dir string) ([]byte, error) + func ReadAndRenderSpecPage(filename string, cssFiles []string, out io.Writer, includeGraph bool) error + func ReadFileWithInlines(filename string) ([]byte, error) + func RenderSpecHTML(s *core.Spec, out io.Writer) error + func RenderSpecPage(s *core.Spec, out io.Writer, cssFiles []string, includeGraph bool) error + type MermaidOpts struct + ActionClass string + ActionFill string + PrettyPatterns bool + ShowPatterns bool + type SpecAnalysis struct + Actions int + BranchTargetVariables []string + Branches int + EmptyTargets []string + Errors []string + Guards int + Interpreters []string + MissingTargets []string + NodeCount int + Orphans []string + TerminalNodes []string + func Analyze(s *core.Spec) (*SpecAnalysis, error) Incompatible versions in this module v2.0.0+incompatible Apr 15, 2019