napkin-runtime-2.0.0
Safe HaskellNone
LanguageGHC2024

Napkin.Spec.Graph.Pretty

Synopsis

Documentation

graphToDotSimple :: forall {k} b (kind :: k). (NodeExtra b, ClusterExtra) -> Map TaskId SimpleTaskState -> TasksDAG kind b -> TasksDAGGraph kind b -> Text #

tagColors :: forall {k} (kind :: k) b. TasksDAG kind b -> ColorBuckets #

schemaColors :: forall {k} (kind :: k) b. (SpecTableName -> Ref Table) -> TasksDAG kind b -> ColorBuckets #

tasksGraphAsDot :: forall {k1} (k2 :: k1) b. ShowTaskIds -> (NodeExtra b, ClusterExtra) -> (SpecTableName -> Ref Table) -> Map TaskId SimpleTaskState -> TasksDAG k2 b -> Gr (Task (Executable b)) () -> DotGraph Node #

type RGB = (Word8, Word8, Word8) #

tableau10Colors :: [Color] #

schemma colors