/// <summary> /// Toes the graph viz. /// </summary> /// <param name="filename">The filename.</param> public void ToGraphViz(string filename) { using (var writer = new StreamWriter(filename)) { FsmConverter.ToGraphViz(_finiteStateMachine, writer); } }
/// <summary> /// Toes the graph viz. /// </summary> /// <param name="writer">The writer.</param> public void ToGraphViz(TextWriter writer) { FsmConverter.ToGraphViz(_finiteStateMachine, writer); }