graph output - part-cw/lambdanative GitHub Wiki

(graph-output g type . filename)

This function renders the graph with the specified backend type. Currently GRAPH_PDF is the only supported backend type.

Parameter Description
g graph context
type rendering type
filename filename to render to, if applicable

Example

(graph-output g GRAPH_PDF "mygraph.pdf")