public void Show_me_the_StateMachine()
        {
            // 주어진 상태기계를 GraphViz 로 시각화가 가능.
            var orderStateMachine = new OrderStateMachine();
            var graph             = orderStateMachine.GetGraph();
            var generator         = new StateMachineGraphvizGenerator(graph);
            var dots = generator.CreateDotFile();

            Console.WriteLine(dots);
        }
        public void Show_me_the_state_machine()
        {
            var    orderStateMachine = new OrderStateMachine();
            var    graph             = orderStateMachine.GetGraph();
            var    generator         = new StateMachineGraphvizGenerator(graph);
            string dots = generator.CreateDotFile();

            Console.WriteLine(dots);
            Debug.WriteLine(dots);
        }
Example #3
0
 public void Show_me_the_state_machine()
 {
     var orderStateMachine = new OrderStateMachine();
     var graph             = orderStateMachine.GetGraph();
 }