elerea-1.2.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.

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.