Module
Data.GenericGraph
- Package
- purescript-generic-graphviz
- Repository
- csicar/purescript-generic-graphviz
#GenericEdges Source
class GenericEdges a where
Members
genericEdges' :: a -> Tree (Maybe Node)
Instances
GenericEdges NoConstructors
GenericEdges NoArguments
(GenericEdges a, GenericEdges b) => GenericEdges (Sum a b)
(GenericEdges a, GenericEdges b) => GenericEdges (Product a b)
(GenericEdges a, IsSymbol name) => GenericEdges (Constructor name a)
(Edges a) => GenericEdges (Argument a)
(GenericEdges a) => GenericEdges (Rec a)
(Edges a, IsSymbol name) => GenericEdges (Field name a)
#genericEdges Source
genericEdges :: forall rep a. Generic a rep => GenericEdges rep => a -> Tree (Maybe Node)
A Generic
implementation of the eq
member from the Eq
type class.
#genericToGraphUnique Source
genericToGraphUnique :: forall a. Edges a => a -> Graph
genenric version of toGraph not renaming nodes.
#genericToGraph Source
genericToGraph :: forall a. Edges a => a -> Graph
generic version of toGraph. Renaming Nodes to make them unique