elerea-2.1.0: A minimalistic FRP library

FRP.Elerea.Legacy.Graph

Description

This module provides some means to visualise the signal structure.

Synopsis

Documentation

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.