What is the proper method to add an initial state to a state diagram? I currently do the following:
IModelElement state = IModelElementFactory.instance().createInitialState(); IDiagramElement shape = DiagramManager.instance().createDiagramElement ( diagram, state );
But there is not an InitialState element added to the model and it does not show up in the diagram.
Thanks for any help.