Ejemplo n.º 1
0
        public void Should_render_properly()
        {
            Vane<A> vane = VaneFactory.Success(new TransactionFeather<A>(),
                new ExecuteFeather<A>(x => { }),
                new CompensateFeather<A>(x => false));

            var graphVisitor = new GraphVaneVisitor();
            graphVisitor.Visit(vane);

            FeatherVaneGraph graph = graphVisitor.GetGraphData();

            new FeatherVaneGraphGenerator().SaveGraphToFile(graph, 1920, 1080, "superGraph.png");
        }
Ejemplo n.º 2
0
        public void Should_show()
        {
            var graphVisitor = new GraphVaneVisitor();
            graphVisitor.Visit(_vane);

            FeatherVaneGraph graph = graphVisitor.GetGraphData();
            VaneDebugVisualizer.TestShowVisualizer(graph);
        }