graphs

scallion.visualization.Graphs.graphs
object graphs

Contains utilities to visualize syntaxes as graphs using Graphviz.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
graphs.type

Members list

Value members

Concrete methods

def outputGraph[A](syntax: Syntax[A], location: String, name: String): Unit

Produces a graph representation of the syntax as a PDF file using dot from Graphviz.

Produces a graph representation of the syntax as a PDF file using dot from Graphviz.

Value parameters

location

The directory in which to save the files.

name

The name of the files. Will be postfixed by respectively .dot and .pdf.

syntax

The syntax to display.

Attributes