statemachin todo method call fig introduc depend cycl better just us link argouml uml diagram argo diagram owner doe thing object state machin defin statediagram lp statediagram granular type statement lp statediagram local start method lp statediagram local lp statediagram local nest ifdef activitydiagram graph model gm graph model gm state diagram graph model object machin state diagram graph model gm machin model uml factori remov machin machin endif 