Graph2DotExport
Enables to call <g>.toDot
with <g>
being a Graph
instance.
Attributes
- Graph
-
- Supertypes
Members list
Value members
Inherited methods
Formats dotAST
according to dotRoot
and spacing
. Normally, this method will be called internally but it may also be called for test purposes.
Formats dotAST
according to dotRoot
and spacing
. Normally, this method will be called internally but it may also be called for test purposes.
Attributes
- Inherited from:
- Export
Builds the AST for graph
employing dotRoot
and the supplied transformers. Normally, this method will be called internally but it may also be called for test purposes.
Builds the AST for graph
employing dotRoot
and the supplied transformers. Normally, this method will be called internally but it may also be called for test purposes.
Attributes
- Inherited from:
- Export
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
.
Value parameters
- cNodeTransformer
-
a user-supplied function responsible for determining which (sub)graph the '''c'''onnected 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. - dotRoot
-
attributes of the root DOT graph.
- edgeTransformer
-
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 unlesshyperEdgeTransformer
is defined. - hEdgeTransformer
-
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 sequence of
DotEdgeStmt
. If supplied, it is called once for each hyperedge of this graph. - iNodeTransformer
-
a user-supplied function responsible for determining which (sub)graph the '''i'''solated 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. - spacing
-
separation and indentation rules to be followed when building the DOT language representation of graph.
Attributes
- Inherited from:
- Export