ghc-vis-0.2: Live visualization of data structures in GHCi
Safe HaskellSafe-Infered






export :: String -> IO ()Source

Export the visualization to an SVG file

redraw :: WidgetClass w => w -> IO ()Source

Draw visualization to screen, called on every update or when it's requested from outside the program.

click :: IO ()Source

Handle a mouse click. If an object was clicked an UpdateSignal is sent that causes the object to be evaluated and the screen to be updated.

move :: WidgetClass w => w -> IO ()Source

Handle a mouse move. Causes an UpdateSignal if the mouse is hovering a different object now, so the object gets highlighted and the screen updated.

updateObjects :: [(Box, String)] -> IO ()Source

Something might have changed on the heap, update the view.