Safe Haskell | None |
---|---|
Language | Haskell2010 |
This module provides functions to extract
a DOT graph (https:/en.wikipedia.orgwiki/DOT_(graph_description_language)
out of a Registry
.
Synopsis
- module Data.Registry.Internal.Dot
- makeDot :: forall a ins out. (Typeable a, Contains a out, Solvable ins out) => Registry ins out -> Dot
- makeDotEither :: forall a ins out. Typeable a => Registry ins out -> Either Text Dot
- makeDotFast :: forall a ins out. (Typeable a, Contains a out) => Registry ins out -> Dot
- makeDotUnsafe :: forall a ins out. Typeable a => Registry ins out -> Dot
Documentation
module Data.Registry.Internal.Dot
makeDot :: forall a ins out. (Typeable a, Contains a out, Solvable ins out) => Registry ins out -> Dot Source #
Make a DOT graph for a specific value a
built from the Registry
a
is at the root of the graph and its children are values
needed to build a
makeDotEither :: forall a ins out. Typeable a => Registry ins out -> Either Text Dot Source #
Similar to make
but does not check if a
can be made out of the Regisry
It returns a Left value if that's not the case