add edg object edg add edg edg edg contain edg edg object end object end model facad transit edg end model facad sourc edg end model facad target edg allow directli draw transit composit state substat model facad composit state end model state machin helper sub state end contain end edg comment edg end comment edg edg sourc end comment edg edg destin end defin node graph end end defin log lp log granular type statement lp log local nest statement lp log local lp log local nest ifdef statediagram lp log local nest ifdef activitydiagram log error edg reject end attach endif contain node end contain edg end defin log lp log granular type statement lp log local nest statement lp log local lp log local nest ifdef statediagram lp log local nest ifdef activitydiagram log error edg reject sourc end attach end graph model endif contain node end contain edg end defin log lp log granular type statement lp log local nest statement lp log local lp log local nest ifdef statediagram lp log local nest ifdef activitydiagram log error edg reject destin end attach end graph model endif 