Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
This modules provides variants of the functions in GraphRewriting.Graph.Write for transforming the graph, but without checking for changed port assignments, which could lead to an inconsistent state. Therefore these should only be used (for increased efficiency) if the modifications do not change the graph structure (such as in layouting), or you really know what you are doing. Note that the functions provided by this library never change the length of the port list
Documentation
modifyNode :: Node -> (n -> n) -> Rewrite n () Source #
module GraphRewriting.Graph.Types