Formats dotAST
according to dotRoot
and spacing
.
Formats dotAST
according to dotRoot
and spacing
.
Normally, this method will be called internally by toDot
but it may also be used for test purposes.
Builds the AST for graph
employing dotRoot
and the supplied transformers.
Builds the AST for graph
employing dotRoot
and the supplied transformers.
Normally, this method will be called internally by toDot
but it may also be used for test purposes.
Creates a DOT string by calling the node and edge transformers for the elements
of graph
.
Creates a DOT string by calling the node and edge transformers for the elements
of graph
.
attributes of the root DOT graph.
a user-supplied function responsible for determining which (sub)graph the edge should be assigned to and for transforming the passed inner edge to a DotEdgeStmt
.
It is called once for each edge of this graph
.
a user-supplied function responsible for determining which (sub)graph the connected node should be assigned to and for transforming the passed inner node to a DotNodeStmt
.
If supplied, it is called once for each connected node.
a user-supplied function responsible for determining which (sub)graph the isolated node should be assigned to and for transforming the passed inner node to a DotNodeStmt
.
If supplied, it is called once for each isolated node.
separation and indentation rules to be followed when building
the DOT language representation of graph
.
Contains methods to transform
graph
to the DOT language.