I'm using Automatonyous state machines in my c# project. I'm wondering if there is a way to automatic obtain the graph of coded state machines.
You can generate a GraphViz .dot file from the state machine using the Visualizer assembly.
With MassTransit v8, this has moved into the MassTransit.StateMachineVisualizer NuGet package.
And the unit test is here.