MassTransit / Automatonymous

A state machine library for .Net - 100% code - No doodleware
Apache License 2.0
736 stars 117 forks source link

State machine graph #85

Closed iulian-olteanu closed 2 years ago

iulian-olteanu commented 2 years ago

Hello, Before the upgrade to 8.0.2, this used to work :

using Automatonymous.Graphing;

var generator = new StateMachineGraphvizGenerator(this.GetGraph());
_logging.LogInformation("Graph for SAGA is {Graph}", generator.CreateDotFile());

How could I get the state machine graph ?

I am trying to avoid "Argument type 'MassTransit.SagaStateMachine.StateMachineGraph' is not assignable to parameter type 'Automatonymous.Graphing.StateMachineGraph'"

phatboyg commented 2 years ago

You need to use the new NuGet package from MassTransit v8. Clearly explained in the upgrade documentation.

iulian-olteanu commented 2 years ago

You are correct. Sorry I missed it. Thank you so much !