erd-0.2.1.0: An entity-relationship diagram generator from a plain text description.

Safe HaskellNone
LanguageHaskell2010

Erd.Render

Synopsis

Documentation

htmlAttr :: Attribute -> Row Source #

Converts a single attribute to an HTML table row.

htmlFont :: Options -> Text -> Text Source #

Formats an arbitrary string with the options given (using only font attributes).

withLabelFmt :: String -> Options -> Text -> Text Source #

Formats HTML text with a label. The format string given should be in printf style. (Only font options are used from the options given.)