registry-0.2.0.3: data structure for assembling components
Safe HaskellNone
LanguageHaskell2010

Data.Registry.Dot

Description

This module provides functions to extract a DOT graph (https:/en.wikipedia.orgwiki/DOT_(graph_description_language) out of a Registry.

Synopsis

Documentation

makeDot :: forall a ins out. Typeable a => 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 Registry It returns a Left value if that's not the case