Module
Transit.Render.TransitionTable
- Package
- purescript-transit
- Repository
- m-bock/purescript-transit
Generator for HTML transition tables from transit specifications.
This module converts state machine specifications into HTML tables showing all state transitions, supporting undirected edges and guard conditions.
#toHtml Source
toHtml :: Options -> TransitCore -> NodeGenerates an HTML table from a transit specification.
#toTable Source
toTable :: Options -> TransitCore -> TableGenerates a Table from a transit specification.
#writeToFile Source
writeToFile :: FilePath -> TransitCore -> (Options -> Options) -> Effect UnitWrites a transition table to a file with customizable options.
#writeToFile_ Source
writeToFile_ :: FilePath -> TransitCore -> Effect UnitWrites a transition table to a file with default options.
#Options Source
type Options = { outputFormat :: OutputFormat, title :: Maybe String, useUndirectedEdges :: Boolean }Configuration options for table generation.
#defaultOptions Source
defaultOptions :: OptionsDefault options for table generation.
- Modules
- Transit
- Transit.
Class. CheckReturn - Transit.
Class. CurryN - Transit.
Class. MkHandlerLookup - Transit.
Class. MkUpdate - Transit.
Core - Transit.
DSL - Transit.
Data. DotLang - Transit.
Data. Graph - Transit.
Data. Html - Transit.
Data. MaybeChurch - Transit.
Data. Table - Transit.
HandlerLookup - Transit.
Render. Graphviz - Transit.
Render. Theme - Transit.
Render. TransitionTable - Transit.
StateGraph - Transit.
VariantUtils