Skip to content

2. DOT graph definition

Smrecz edited this page Oct 13, 2020 · 6 revisions

# ConvertToDotGraph

Defined decision tree can be converted to a DOT graph definition using ConvertToDotGraph<T>() method.

Graph nodes will be generated from Nodes, Results and Actions.

Labels on arrows will be generated form Paths.

# GraphOptions

IsHorizontal- Will generate graph definition with horizontal layout attribute.
UseUniquePaths- Will generate graph definition where each node visit has unique Id and separate block.
TitleOnly- Will generate graph definition with only titles and paths.
GraphStyle- Custom graph style configuration. Will override default styling where provided.

# GraphStyle

DecisionColor- Block color for Decisions.
DecisionActionColor- Block color for Decisions with Action.
ResultColor- Block color for Results.
ResultActionColor- Block color for Results with Action.
ActionColor- Block color for Actions.
FontColor- Font color used in blocks.
Use HTML like Hex Color Code "#RRGGBB" or color name "black".

Clone this wiki locally