stateDiagram-v2 state Locomotion { state Normal { NormalWait NormalWalk NormalRun } state Alart { AlartWait AlartWalk AlartRun } Normal-->Alart Alart-->Normal note left of Alart : BlendSpace2D note left of Normal : BlendSpace2D }