visualizer

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 13, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToGraphviz

func ToGraphviz(v VisualizerInterface) string

ToGraphviz renders the FSM as a Graphviz DOT digraph.

func ToMermaid

func ToMermaid(v VisualizerInterface) string

ToMermaid renders the FSM as a Mermaid state diagram.

Types

type VisualizerInterface

type VisualizerInterface interface {
	GetStructure() (initial string, transitions map[string][]string, wildcards []string)
}

VisualizerInterface is implemented by objects that can render their FSM structure.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL