public void I_want_to_see_you_pretty()
		{
			var machine = new OrderStateMachine();

			var generator = new StateMachineGraphGenerator();

			string filename = Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), "graph.png");

			generator.SaveGraphToFile(machine.GetGraphData(), 2560, 1920, filename);
		}
Exemple #2
0
        public void I_want_to_see_you_pretty()
        {
            var machine = new OrderStateMachine();

            var generator = new StateMachineGraphGenerator();

            string filename = Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), "graph.png");

            generator.SaveGraphToFile(machine.GetGraphData(), 2560, 1920, filename);
        }