Module

Data.GenericGraph

Package
purescript-generic-graphviz
Repository
csicar/purescript-generic-graphviz

#Tree Source

data Tree a

Constructors

Instances

#Edges Source

class Edges a  where

Members

Instances

#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.

#eliminateNothings Source

eliminateNothings :: forall a. Tree (Maybe a) -> Array (Tree a)

#uniqueNodes' Source

#extractEdges Source

#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