I am drawing a state transition diagram using LibreOffice draw on Ubuntu 11.04. I am able to get almost everything that I needed except the final state. Typically we use two circles embedded in for showing a final state of a state transition diagram. Could someone help me to do that? Please also let me know if there are any better tools for drawing state transition diagrams on Ubuntu. I have looked at Dia, but it is not also useful to draw final state of a state transition diagram like in this.
Actually Dia does allow you to add an end state. Select the UML shapes, then drag the "initial/end state" shape onto your diagram. When you double click the shape, you'll see a button that says "Is final". This lets you define whether the state is initial or final.
EDIT: If you don't like how those look, it's pretty easy to create your own shapes in Dia. They're just SVG files.
Save the following as
~/.dia/shapes/fsm_final_state.shape
:Save the following as
~/.dia/shapes/fsm_final_state_icon.xpm
:Finally, save the following as ~/.dia/sheets/Finite_State_Machine.sheet :
When you restart Dia you should have a "Finite State Machine" sheet with one shape: a decent looking final state!
I suggest you to use inkscape to produce graphics like that, it takes a little time to learn how to use the tools but it is well rewarded with the graphic quality of the product.
I suggest you to use Dia software for your state diagram or any other UML or flow diagrams. It contains numbers of shapes and easy drag drop facilities. So go for dia. For more information visit this link.
Lucidchart is a good option. Free version available and works in any decent browser. I know that there dev team are all running Linux so there is that as well because I work there :)