Module
Data.DotLang
- Package
- purescript-dotlang
- Repository
- csicar/purescript-dotlang
#changeNodeId Source
changeNodeId :: (Id -> Id) -> Node -> Node
change Nodes id to a new one; keeing the old id as the label
example: mapNodeId (\a -> a+"!") (Node "e" []) == Node "e!" [Label "e"]
#Definition Source
#forwardEdgeWithAttrs Source
forwardEdgeWithAttrs :: Id -> Id -> Array Attr -> Definition
#forwardEdge Source
forwardEdge :: Id -> Id -> Definition
#backwardEdgeWithAttrs Source
backwardEdgeWithAttrs :: Id -> Id -> Array Attr -> Definition
#backwardEdge Source
backwardEdge :: Id -> Id -> Definition
#normalEdgeWithAttrs Source
normalEdgeWithAttrs :: Id -> Id -> Array Attr -> Definition
#normalEdge Source
normalEdge :: Id -> Id -> Definition
#(==>) Source
Operator alias for Data.DotLang.forwardEdge (non-associative / precedence 5)
"a" ==> "b" -- :: Definition
#(=*>) Source
Operator alias for Data.DotLang.forwardEdgeWithAttrs (non-associative / precedence 5)
"a" =*> "b" $ [ Edge.FillColor red ]
Forward edge with attributes
#(<==) Source
Operator alias for Data.DotLang.backwardEdge (non-associative / precedence 5)
"a" <== "b" -- :: Definition
#(<*=) Source
Operator alias for Data.DotLang.backwardEdgeWithAttrs (non-associative / precedence 5)
"a" <*= "b" $ [ Edge.FillColor red ]
Backward edge with attributes
#(-==-) Source
Operator alias for Data.DotLang.normalEdge (non-associative / precedence 5)
"a" -==- "b"
#(=*=) Source
Operator alias for Data.DotLang.normalEdgeWithAttrs (non-associative / precedence 5)
"a" =*= "b" $ [ Edge.FillColor red ]
Normal edge with attibutes