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 -> Node

Generates an HTML table from a transit specification.

#toTable Source

toTable :: Options -> TransitCore -> Table

Generates a Table from a transit specification.

#generate Source

generate :: TransitCore -> (Options -> Options) -> Table

Generates a transition table with customizable options.

#generate_ Source

generate_ :: TransitCore -> Table

Generates a transition table with default options.

#Options Source

type Options = { title :: Maybe String, undirectedEdges :: Boolean }

Configuration options for table generation.

#defaultOptions Source

defaultOptions :: Options

Default options for table generation.