Module
Transit.Render.Theme
- Package
- purescript-transit
- Repository
- m-bock/purescript-transit
Color themes and harmonies for visualization generators.
This module provides color themes and color harmonies for use in visualization generators (e.g., Graphviz). Themes define overall color schemes, while color harmonies define coordinated colors for nodes and edges in graphs.
#Theme Source
type Theme = { bgColor :: Color, colorHarmonies :: NonEmptyArray ColorHarmony, titleColor :: Color, undirectedEdgeColor :: Color, undirectedEdgeFontColor :: Color }A complete color theme for graph visualization.
#getColorHarmony Source
getColorHarmony :: Theme -> Int -> ColorHarmonyGets a color harmony from a theme by index (cycles through available harmonies).
#themeHarmonyDark Source
themeHarmonyDark :: ThemeDark theme with colorful harmonies.
#themeHarmonyLight Source
themeHarmonyLight :: ThemeLight theme with colorful harmonies.
#themeContrastDark Source
themeContrastDark :: ThemeDark theme with high contrast (white and black).
#themeContrastLight Source
themeContrastLight :: ThemeLight theme with high contrast (black and white).
#themeGradientDark Source
themeGradientDark :: ThemeDark theme with gradient-style colors.
#themeGradientLight Source
themeGradientLight :: ThemeLight theme with gradient-style colors.
- 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