title: hierarchical statecharts designer with code generation
body: <p>What is the best free and the best commercial tool that lets me draw uml hierarchical statechats like in the picture below. It would also be cool if it could generate the c# source code stubs.</p>
  <p><a href="https://i.stack.imgur.com/ZInE8.gif" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ZInE8.gif" alt="enter image description here" /></a></p>