elerea-0.5.0: A minimalistic FRP library



This module provides some means to visualise the signal structure.



signalToDot :: Signal a -> IO StringSource

Traversing the network starting from the given signal and converting it into a string containing the graph in Graphviz (http://www.graphviz.org/) dot format. Stateful nodes are coloured according to their type.

Because of the fact that Elerea primitives are not referentially transparent, the results might differ depending on whether this function is called before or after sampling (this also affects the actual network!), but the networks should be still equivalent.