boost statechart diagrams
Page 1 of 1

Author:  Dilvish [ Tue Aug 15, 2017 1:00 am ]
Post subject:  boost statechart diagrams

I was tracing through our save process and it struck me that it might be handy (or at least interesting) to refer to an actual state diagram especially if there were a way to automatically make state transition diagrams from boost FSM code. I did find a tool that can do a reasonable job with it-- at Attached for reference are the diagrams it came up with for the HumanClientFSM and ServerFSM. For anyone else looking to use this, please note that relies on clamg/llvm and seems to require an older version; it would not build for me with version 3.8 but built fine with version 3.5 (which was the version mentioned in its README). Clang also spit up an error about not finding GG/Enum.h, but you can ignore that, it still generates the dot file just fine.

File comment: HumanClientFSM
HumanClientFSM.png [ 124.91 KiB | Viewed 276 times ]

File comment: ServerFSM
ServerFSM.png [ 222.27 KiB | Viewed 276 times ]

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group