Averest


Global Module

This module implements global functions and constants for the teaching tools.

Types

Type Description

TeachingToolFailure

Functions and values

Function or value Description

dotExe

Full Usage: dotExe

Returns: string
Returns: string

getSvgGraph dotExe dotGraphWriter

Full Usage: getSvgGraph dotExe dotGraphWriter

Parameters:
Returns: string

getSvgGraph converts dot graphs to a svg graphic which is returned as a string. Expected arguments are dotExe which is the path of the executable of dot like "/usr/bin/dot" and dotGraphWriter which is a function that will write a dot graph to a stream.

dotExe : string
dotGraphWriter : StreamWriter -> unit
Returns: string