Represents a formatter that can be used to convert a graph to a string. See BaseGraph.Class.toString.

The graph to be formatted.

The string representation of the graph.

interface Formatter<G> {
    format: ((graph: G) => string);
}

Type Parameters

Implemented by

Properties

Properties

format: ((graph: G) => string)