Browse Source

Share project "org.yakindu.sct.test.models" into "https://svn.codespot.com/a/eclipselabs.org/yakindu"

Andreas Mülder 13 years ago
parent
commit
98443e6a2a
22 changed files with 1645 additions and 0 deletions
  1. 7 0
      test-plugins/org.yakindu.sct.test.models/.classpath
  2. 28 0
      test-plugins/org.yakindu.sct.test.models/.project
  3. 8 0
      test-plugins/org.yakindu.sct.test.models/.settings/org.eclipse.jdt.core.prefs
  4. 10 0
      test-plugins/org.yakindu.sct.test.models/META-INF/MANIFEST.MF
  5. 4 0
      test-plugins/org.yakindu.sct.test.models/build.properties
  6. BIN
      test-plugins/org.yakindu.sct.test.models/images/DeepHistory.png
  7. BIN
      test-plugins/org.yakindu.sct.test.models/images/FeatureCalls.png
  8. BIN
      test-plugins/org.yakindu.sct.test.models/images/Guard.png
  9. BIN
      test-plugins/org.yakindu.sct.test.models/images/SimpleHierachy.png
  10. BIN
      test-plugins/org.yakindu.sct.test.models/images/StateIsActive.png
  11. BIN
      test-plugins/org.yakindu.sct.test.models/images/StatechartLocalReactions.png
  12. BIN
      test-plugins/org.yakindu.sct.test.models/images/ValuedEvents.png
  13. 32 0
      test-plugins/org.yakindu.sct.test.models/pom.xml
  14. 140 0
      test-plugins/org.yakindu.sct.test.models/src/util/TestModels.java
  15. 420 0
      test-plugins/org.yakindu.sct.test.models/testmodels/DeepHistory.sct
  16. 102 0
      test-plugins/org.yakindu.sct.test.models/testmodels/FeatureCalls.sct
  17. 126 0
      test-plugins/org.yakindu.sct.test.models/testmodels/Guard.sct
  18. 101 0
      test-plugins/org.yakindu.sct.test.models/testmodels/SimpleEvent.sct
  19. 158 0
      test-plugins/org.yakindu.sct.test.models/testmodels/SimpleHierachy.sct
  20. 185 0
      test-plugins/org.yakindu.sct.test.models/testmodels/StateIsActive.sct
  21. 167 0
      test-plugins/org.yakindu.sct.test.models/testmodels/StatechartLocalReactions.sct
  22. 157 0
      test-plugins/org.yakindu.sct.test.models/testmodels/ValuedEvents.sct

+ 7 - 0
test-plugins/org.yakindu.sct.test.models/.classpath

@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
+	<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+	<classpathentry kind="src" path="src"/>
+	<classpathentry kind="output" path="bin"/>
+</classpath>

+ 28 - 0
test-plugins/org.yakindu.sct.test.models/.project

@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>org.yakindu.sct.test.models</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+		<buildCommand>
+			<name>org.eclipse.jdt.core.javabuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+		<buildCommand>
+			<name>org.eclipse.pde.ManifestBuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+		<buildCommand>
+			<name>org.eclipse.pde.SchemaBuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+	</buildSpec>
+	<natures>
+		<nature>org.eclipse.pde.PluginNature</nature>
+		<nature>org.eclipse.jdt.core.javanature</nature>
+	</natures>
+</projectDescription>

+ 8 - 0
test-plugins/org.yakindu.sct.test.models/.settings/org.eclipse.jdt.core.prefs

@@ -0,0 +1,8 @@
+#Mon Apr 30 15:52:28 CEST 2012
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
+org.eclipse.jdt.core.compiler.compliance=1.6
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.6

+ 10 - 0
test-plugins/org.yakindu.sct.test.models/META-INF/MANIFEST.MF

@@ -0,0 +1,10 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Core
+Bundle-SymbolicName: org.yakindu.sct.test.models
+Bundle-Version: 1.0.0.qualifier
+Bundle-Vendor: YAKINDU
+Bundle-RequiredExecutionEnvironment: JavaSE-1.6
+Require-Bundle: org.yakindu.sct.model.sexec;bundle-version="1.0.0",
+ com.google.inject;bundle-version="2.0.0"
+Export-Package: util

+ 4 - 0
test-plugins/org.yakindu.sct.test.models/build.properties

@@ -0,0 +1,4 @@
+source.. = src/
+output.. = bin/
+bin.includes = META-INF/,\
+               .

BIN
test-plugins/org.yakindu.sct.test.models/images/DeepHistory.png


BIN
test-plugins/org.yakindu.sct.test.models/images/FeatureCalls.png


BIN
test-plugins/org.yakindu.sct.test.models/images/Guard.png


BIN
test-plugins/org.yakindu.sct.test.models/images/SimpleHierachy.png


BIN
test-plugins/org.yakindu.sct.test.models/images/StateIsActive.png


BIN
test-plugins/org.yakindu.sct.test.models/images/StatechartLocalReactions.png


BIN
test-plugins/org.yakindu.sct.test.models/images/ValuedEvents.png


+ 32 - 0
test-plugins/org.yakindu.sct.test.models/pom.xml

@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project
+	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
+	xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+	<modelVersion>4.0.0</modelVersion>
+	<parent>
+		<groupId>org.yakindu.sct</groupId>
+		<artifactId>org.yakindu.sct.releng</artifactId>
+		<version>1.0.0-SNAPSHOT</version>
+		<relativePath>../org.yakindu.sct.releng/pom.xml</relativePath>
+	</parent>
+	<artifactId>org.yakindu.sct.test.models</artifactId>
+	<groupId>org.yakindu.sct.plugins</groupId>
+	<packaging>eclipse-plugin</packaging>
+	<build>
+		<plugins>
+			<plugin>
+				<groupId>org.eclipse.tycho</groupId>
+				<artifactId>tycho-source-plugin</artifactId>
+				<version>${tycho-version}</version>
+				<executions>
+					<execution>
+						<id>plugin-source</id>
+						<goals>
+							<goal>plugin-source</goal>
+						</goals>
+					</execution>
+				</executions>
+			</plugin>
+		</plugins>
+	</build>
+</project>

+ 140 - 0
test-plugins/org.yakindu.sct.test.models/src/util/TestModels.java

@@ -0,0 +1,140 @@
+/**
+ * Copyright (c) 2012 committers of YAKINDU and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ *     committers of YAKINDU - initial API and implementation
+ */
+package util;
+
+import java.io.IOException;
+
+import org.eclipse.emf.common.util.URI;
+import org.eclipse.emf.ecore.resource.Resource;
+import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl;
+import org.eclipse.emf.ecore.util.EcoreUtil;
+import org.yakindu.sct.model.sexec.ExecutionFlow;
+import org.yakindu.sct.model.sexec.transformation.ModelSequencer;
+import org.yakindu.sct.model.sgraph.SGraphPackage;
+import org.yakindu.sct.model.sgraph.Statechart;
+
+import com.google.inject.Inject;
+
+/**
+ * Provides access to the testmodels.
+ * 
+ * @author andreas muelder - Initial contribution and API
+ * 
+ */
+public class TestModels {
+
+	private static final String TESTMODEL_DIR = "org.yakindu.sct.test.models/testmodels/";
+
+	public static final String GUARD = "Guard.sct";
+	public static final String SIMPLE_HIERACHY = "SimpleHierachy.sct";
+	public static final String DEEP_HISTORY = "DeepHistory.sct";
+	public static final String STATE_ACTIVE = "StateIsActive.sct";
+	public static final String VALUED_EVENTS = "ValuedEvents.sct";
+	public static final String FEATURE_CALLS = "FeatureCalls.sct";
+	public static final String STATECHART_LOCAL_REACTIONS = "StatechartLocalReactions.sct";
+
+	@Inject
+	private ModelSequencer sequencer;
+
+	/**
+	 * <img src="../../images/Guard.png" /> <br />
+	 * 
+	 * @return the {@link ExecutionFlow}
+	 * @throws IOException
+	 */
+	public ExecutionFlow createGuardModel() throws IOException {
+		return loadExecutionFlowFromResource(GUARD);
+	}
+
+	/**
+	 * <img src="../../images/SimpleHierachy.png" /> <br />
+	 * 
+	 * @return the {@link ExecutionFlow}
+	 * @throws IOException
+	 */
+	public ExecutionFlow createSimpleHierachyModel() throws IOException {
+		return loadExecutionFlowFromResource(SIMPLE_HIERACHY);
+	}
+
+	/**
+	 * <img src="../../images/DeepHistory.png" /> <br />
+	 * 
+	 * @return the {@link ExecutionFlow}
+	 * @throws IOException
+	 */
+	public ExecutionFlow createDeepHistoryModel() throws IOException {
+		return loadExecutionFlowFromResource(DEEP_HISTORY);
+	}
+
+	/**
+	 * <img src="../../images/StateIsActive.png" /> <br />
+	 * 
+	 * @return the {@link ExecutionFlow}
+	 * @throws IOException
+	 */
+	public ExecutionFlow createStateIsActiveModel() throws IOException {
+		return loadExecutionFlowFromResource(STATE_ACTIVE);
+	}
+
+	/**
+	 * <img src="../../images/ValuedEvents.png" /> <br />
+	 * 
+	 * @return the {@link ExecutionFlow}
+	 * @throws IOException
+	 */
+	public ExecutionFlow createValuedEventsModel() throws IOException {
+		return loadExecutionFlowFromResource(VALUED_EVENTS);
+	}
+
+	/**
+	 * <img src="../../images/FeatureCalls.png" /> <br />
+	 * 
+	 * @return the {@link ExecutionFlow}
+	 * @throws IOException
+	 */
+	public ExecutionFlow createFeatureCallModel() throws IOException {
+		return loadExecutionFlowFromResource(FEATURE_CALLS);
+	}
+
+	/**
+	 * <img src="../../images/StatechartLocalReactions.png" /> <br />
+	 * 
+	 * @return the {@link ExecutionFlow}
+	 * @throws IOException
+	 */
+	public ExecutionFlow createStatechartLocalReactionsModel()
+			throws IOException {
+		return loadExecutionFlowFromResource(STATECHART_LOCAL_REACTIONS);
+	}
+
+	/**
+	 * Helper method - loads a testmodel from the Testmodel directory
+	 * 
+	 * @param fileName
+	 *            the filename of the testmodel
+	 * @return the {@link ExecutionFlow}
+	 * @throws IOException
+	 */
+	public ExecutionFlow loadExecutionFlowFromResource(String fileName) throws IOException {
+		Statechart statechart = loadStatechartFromResource(fileName);
+		final ExecutionFlow flow = sequencer.transform(statechart);
+		return flow;
+	}
+
+	public Statechart loadStatechartFromResource(String fileName) {
+		URI uri = URI.createPlatformPluginURI(TESTMODEL_DIR + fileName, true);
+		ResourceSetImpl impl = new ResourceSetImpl();
+		Resource resource = impl.getResource(uri, true);
+		Statechart statechart = (Statechart) EcoreUtil.getObjectByType(
+				resource.getContents(), SGraphPackage.Literals.STATECHART);
+		return statechart;
+	}
+}

+ 420 - 0
test-plugins/org.yakindu.sct.test.models/testmodels/DeepHistory.sct

@@ -0,0 +1,420 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:sgraph="http://www.yakindu.org/sct/sgraph/2.0.0">
+  <sgraph:Statechart xmi:id="_XoS0wPZlEeCSetPXFd1ZUw" specification="interface:&#xA;in event event1&#xA;in event event2&#xA;in event event3&#xA;in event event4&#xA;in event event5&#xA;in event event6&#xA;in event event7&#xA;in event event8&#xA;in event event9&#xA;&#xA;" name="Test_DeepHistory">
+    <regions xmi:id="_XoTb0vZlEeCSetPXFd1ZUw" name="mainRegion">
+      <vertices xsi:type="sgraph:Entry" xmi:id="_Dd7OAPimEeCPG5ImOgba0Q">
+        <outgoingTransitions xmi:id="_Dd71EPimEeCPG5ImOgba0Q" target="_Dd71EfimEeCPG5ImOgba0Q"/>
+      </vertices>
+      <vertices xsi:type="sgraph:State" xmi:id="_Dd71EfimEeCPG5ImOgba0Q" name="State1" incomingTransitions="_Dd71EPimEeCPG5ImOgba0Q _Dd71GPimEeCPG5ImOgba0Q">
+        <outgoingTransitions xmi:id="_Dd71EvimEeCPG5ImOgba0Q" specification="event1" target="_Dd71F_imEeCPG5ImOgba0Q"/>
+      </vertices>
+      <vertices xsi:type="sgraph:State" xmi:id="_Dd71F_imEeCPG5ImOgba0Q" name="State2" incomingTransitions="_Dd71EvimEeCPG5ImOgba0Q">
+        <outgoingTransitions xmi:id="_Dd71GPimEeCPG5ImOgba0Q" specification="event2" target="_Dd71EfimEeCPG5ImOgba0Q"/>
+        <regions xmi:id="_Dd71HPimEeCPG5ImOgba0Q">
+          <vertices xsi:type="sgraph:State" xmi:id="_Dd71H_imEeCPG5ImOgba0Q" name="a" incomingTransitions="_QlbEMPiwEeCmAZxZWLaQmA">
+            <outgoingTransitions xmi:id="_Dd71IPimEeCPG5ImOgba0Q" specification="" target="_Dd71JPimEeCPG5ImOgba0Q"/>
+          </vertices>
+          <vertices xsi:type="sgraph:State" xmi:id="_Dd71JPimEeCPG5ImOgba0Q" name="State4" incomingTransitions="_Dd71IPimEeCPG5ImOgba0Q">
+            <outgoingTransitions xmi:id="_Dd71JfimEeCPG5ImOgba0Q" specification="event4" target="_Dd8cPPimEeCPG5ImOgba0Q"/>
+            <regions xmi:id="_Dd8cIvimEeCPG5ImOgba0Q">
+              <vertices xsi:type="sgraph:Entry" xmi:id="_Dd8cI_imEeCPG5ImOgba0Q">
+                <outgoingTransitions xmi:id="_Dd8cJPimEeCPG5ImOgba0Q" target="_Dd8cJfimEeCPG5ImOgba0Q"/>
+              </vertices>
+              <vertices xsi:type="sgraph:State" xmi:id="_Dd8cJfimEeCPG5ImOgba0Q" name="State6" incomingTransitions="_Dd8cJPimEeCPG5ImOgba0Q _Dd8cK_imEeCPG5ImOgba0Q">
+                <outgoingTransitions xmi:id="_Dd8cJvimEeCPG5ImOgba0Q" specification="event5" target="_Dd8cKvimEeCPG5ImOgba0Q"/>
+              </vertices>
+              <vertices xsi:type="sgraph:State" xmi:id="_Dd8cKvimEeCPG5ImOgba0Q" name="State7" incomingTransitions="_Dd8cJvimEeCPG5ImOgba0Q">
+                <outgoingTransitions xmi:id="_Dd8cK_imEeCPG5ImOgba0Q" specification="event6" target="_Dd8cJfimEeCPG5ImOgba0Q"/>
+                <regions xmi:id="_Dd8cL_imEeCPG5ImOgba0Q">
+                  <vertices xsi:type="sgraph:State" xmi:id="_Dd8cMPimEeCPG5ImOgba0Q" name="State8" incomingTransitions="_Dd8cNvimEeCPG5ImOgba0Q _TyjukPiwEeCmAZxZWLaQmA">
+                    <outgoingTransitions xmi:id="_Dd8cMfimEeCPG5ImOgba0Q" specification="event7" target="_Dd8cNfimEeCPG5ImOgba0Q"/>
+                  </vertices>
+                  <vertices xsi:type="sgraph:State" xmi:id="_Dd8cNfimEeCPG5ImOgba0Q" name="State9" incomingTransitions="_Dd8cMfimEeCPG5ImOgba0Q">
+                    <outgoingTransitions xmi:id="_Dd8cNvimEeCPG5ImOgba0Q" specification="event8" target="_Dd8cMPimEeCPG5ImOgba0Q"/>
+                  </vertices>
+                  <vertices xsi:type="sgraph:Entry" xmi:id="_TCRhIPiwEeCmAZxZWLaQmA">
+                    <outgoingTransitions xmi:id="_TyjukPiwEeCmAZxZWLaQmA" target="_Dd8cMPimEeCPG5ImOgba0Q"/>
+                  </vertices>
+                </regions>
+              </vertices>
+            </regions>
+          </vertices>
+          <vertices xsi:type="sgraph:State" xmi:id="_Dd8cPPimEeCPG5ImOgba0Q" name="State5" incomingTransitions="_Dd71JfimEeCPG5ImOgba0Q"/>
+          <vertices xsi:type="sgraph:Entry" xmi:id="_PkyGkPiwEeCmAZxZWLaQmA" kind="DEEP_HISTORY">
+            <outgoingTransitions xmi:id="_QlbEMPiwEeCmAZxZWLaQmA" target="_Dd71H_imEeCPG5ImOgba0Q"/>
+          </vertices>
+        </regions>
+      </vertices>
+    </regions>
+  </sgraph:Statechart>
+  <notation:Diagram xmi:id="_XoTb0PZlEeCSetPXFd1ZUw" type="org.yakindu.sct.ui.editor.editor.StatechartDiagramEditor" element="_XoS0wPZlEeCSetPXFd1ZUw" measurementUnit="Pixel">
+    <children xmi:id="_XoUC4PZlEeCSetPXFd1ZUw" type="Region" element="_XoTb0vZlEeCSetPXFd1ZUw">
+      <children xsi:type="notation:DecorationNode" xmi:id="_XoUC4_ZlEeCSetPXFd1ZUw" type="RegionName">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_XoUC5PZlEeCSetPXFd1ZUw"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_XoUC5fZlEeCSetPXFd1ZUw"/>
+      </children>
+      <children xsi:type="notation:Shape" xmi:id="_XoUC5vZlEeCSetPXFd1ZUw" type="RegionCompartment" fontName="Verdana" lineColor="4210752">
+        <children xmi:id="_Dd4xwfimEeCPG5ImOgba0Q" type="Entry" element="_Dd7OAPimEeCPG5ImOgba0Q">
+          <children xmi:id="_Dd4xwvimEeCPG5ImOgba0Q" type="BorderItemLabelContainer">
+            <children xsi:type="notation:DecorationNode" xmi:id="_Dd4xw_imEeCPG5ImOgba0Q" type="BorderItemLabel">
+              <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd4xxPimEeCPG5ImOgba0Q"/>
+              <layoutConstraint xsi:type="notation:Location" xmi:id="_Dd4xxfimEeCPG5ImOgba0Q"/>
+            </children>
+            <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd4xxvimEeCPG5ImOgba0Q" fontName="Verdana" lineColor="4210752"/>
+            <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Dd4xx_imEeCPG5ImOgba0Q"/>
+          </children>
+          <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd4xyPimEeCPG5ImOgba0Q" fontName="Verdana" lineColor="4210752"/>
+          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Dd4xyfimEeCPG5ImOgba0Q" x="80" y="30"/>
+        </children>
+        <children xmi:id="_Dd5Y0PimEeCPG5ImOgba0Q" type="State" element="_Dd71EfimEeCPG5ImOgba0Q">
+          <children xsi:type="notation:DecorationNode" xmi:id="_Dd5Y0fimEeCPG5ImOgba0Q" type="StateName">
+            <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd5Y0vimEeCPG5ImOgba0Q"/>
+            <layoutConstraint xsi:type="notation:Location" xmi:id="_Dd5Y0_imEeCPG5ImOgba0Q"/>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_Dd5Y1PimEeCPG5ImOgba0Q" type="StateTextCompartment">
+            <children xsi:type="notation:Shape" xmi:id="_Dd5Y1fimEeCPG5ImOgba0Q" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
+              <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Dd5Y1vimEeCPG5ImOgba0Q"/>
+            </children>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_Dd5Y1_imEeCPG5ImOgba0Q" type="StateFigureCompartment"/>
+          <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd5Y2PimEeCPG5ImOgba0Q" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
+          <styles xsi:type="notation:FontStyle" xmi:id="_Dd5Y2fimEeCPG5ImOgba0Q"/>
+          <styles xsi:type="notation:BooleanValueStyle" xmi:id="_Dd5Y2vimEeCPG5ImOgba0Q"/>
+          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Dd5Y2_imEeCPG5ImOgba0Q" x="19" y="135" width="96"/>
+        </children>
+        <children xmi:id="_Dd5Y3PimEeCPG5ImOgba0Q" type="State" element="_Dd71F_imEeCPG5ImOgba0Q">
+          <children xsi:type="notation:DecorationNode" xmi:id="_Dd5Y3fimEeCPG5ImOgba0Q" type="StateName">
+            <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd5Y3vimEeCPG5ImOgba0Q"/>
+            <layoutConstraint xsi:type="notation:Location" xmi:id="_Dd5Y3_imEeCPG5ImOgba0Q"/>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_Dd5Y4PimEeCPG5ImOgba0Q" type="StateTextCompartment">
+            <children xsi:type="notation:Shape" xmi:id="_Dd5Y4fimEeCPG5ImOgba0Q" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
+              <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Dd5Y4vimEeCPG5ImOgba0Q"/>
+            </children>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_Dd5Y4_imEeCPG5ImOgba0Q" type="StateFigureCompartment">
+            <children xmi:id="_Dd5Y5PimEeCPG5ImOgba0Q" type="Region" element="_Dd71HPimEeCPG5ImOgba0Q">
+              <children xsi:type="notation:DecorationNode" xmi:id="_Dd5Y5fimEeCPG5ImOgba0Q" type="RegionName">
+                <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd5Y5vimEeCPG5ImOgba0Q"/>
+                <layoutConstraint xsi:type="notation:Location" xmi:id="_Dd5Y5_imEeCPG5ImOgba0Q"/>
+              </children>
+              <children xsi:type="notation:Shape" xmi:id="_Dd5Y6PimEeCPG5ImOgba0Q" type="RegionCompartment" fontName="Verdana" lineColor="4210752">
+                <children xmi:id="_Dd5Y8vimEeCPG5ImOgba0Q" type="State" element="_Dd71H_imEeCPG5ImOgba0Q">
+                  <children xsi:type="notation:DecorationNode" xmi:id="_Dd5Y8_imEeCPG5ImOgba0Q" type="StateName">
+                    <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd5Y9PimEeCPG5ImOgba0Q"/>
+                    <layoutConstraint xsi:type="notation:Location" xmi:id="_Dd5Y9fimEeCPG5ImOgba0Q"/>
+                  </children>
+                  <children xsi:type="notation:Compartment" xmi:id="_Dd5Y9vimEeCPG5ImOgba0Q" type="StateTextCompartment">
+                    <children xsi:type="notation:Shape" xmi:id="_Dd5Y9_imEeCPG5ImOgba0Q" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
+                      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Dd5Y-PimEeCPG5ImOgba0Q"/>
+                    </children>
+                  </children>
+                  <children xsi:type="notation:Compartment" xmi:id="_Dd5Y-fimEeCPG5ImOgba0Q" type="StateFigureCompartment"/>
+                  <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd5Y-vimEeCPG5ImOgba0Q" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
+                  <styles xsi:type="notation:FontStyle" xmi:id="_Dd5Y-_imEeCPG5ImOgba0Q"/>
+                  <styles xsi:type="notation:BooleanValueStyle" xmi:id="_Dd5Y_PimEeCPG5ImOgba0Q"/>
+                  <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Dd5Y_fimEeCPG5ImOgba0Q" x="115" y="49" width="72"/>
+                </children>
+                <children xmi:id="_Dd5Y_vimEeCPG5ImOgba0Q" type="State" element="_Dd71JPimEeCPG5ImOgba0Q">
+                  <children xsi:type="notation:DecorationNode" xmi:id="_Dd5Y__imEeCPG5ImOgba0Q" type="StateName">
+                    <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd5ZAPimEeCPG5ImOgba0Q"/>
+                    <layoutConstraint xsi:type="notation:Location" xmi:id="_Dd5ZAfimEeCPG5ImOgba0Q"/>
+                  </children>
+                  <children xsi:type="notation:Compartment" xmi:id="_Dd5ZAvimEeCPG5ImOgba0Q" type="StateTextCompartment">
+                    <children xsi:type="notation:Shape" xmi:id="_Dd5ZA_imEeCPG5ImOgba0Q" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
+                      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Dd5ZBPimEeCPG5ImOgba0Q"/>
+                    </children>
+                  </children>
+                  <children xsi:type="notation:Compartment" xmi:id="_Dd5ZBfimEeCPG5ImOgba0Q" type="StateFigureCompartment">
+                    <children xmi:id="_Dd5_4PimEeCPG5ImOgba0Q" type="Region" element="_Dd8cIvimEeCPG5ImOgba0Q">
+                      <children xsi:type="notation:DecorationNode" xmi:id="_Dd5_4fimEeCPG5ImOgba0Q" type="RegionName">
+                        <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd5_4vimEeCPG5ImOgba0Q"/>
+                        <layoutConstraint xsi:type="notation:Location" xmi:id="_Dd5_4_imEeCPG5ImOgba0Q"/>
+                      </children>
+                      <children xsi:type="notation:Shape" xmi:id="_Dd5_5PimEeCPG5ImOgba0Q" type="RegionCompartment" fontName="Verdana" lineColor="4210752">
+                        <children xmi:id="_Dd5_5fimEeCPG5ImOgba0Q" type="Entry" element="_Dd8cI_imEeCPG5ImOgba0Q">
+                          <children xmi:id="_Dd5_5vimEeCPG5ImOgba0Q" type="BorderItemLabelContainer">
+                            <children xsi:type="notation:DecorationNode" xmi:id="_Dd5_5_imEeCPG5ImOgba0Q" type="BorderItemLabel">
+                              <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd5_6PimEeCPG5ImOgba0Q"/>
+                              <layoutConstraint xsi:type="notation:Location" xmi:id="_Dd5_6fimEeCPG5ImOgba0Q"/>
+                            </children>
+                            <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd5_6vimEeCPG5ImOgba0Q" fontName="Verdana" lineColor="4210752"/>
+                            <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Dd5_6_imEeCPG5ImOgba0Q"/>
+                          </children>
+                          <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd5_7PimEeCPG5ImOgba0Q" fontName="Verdana" lineColor="4210752"/>
+                          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Dd5_7fimEeCPG5ImOgba0Q" x="19" y="31"/>
+                        </children>
+                        <children xmi:id="_Dd5_7vimEeCPG5ImOgba0Q" type="State" element="_Dd8cJfimEeCPG5ImOgba0Q">
+                          <children xsi:type="notation:DecorationNode" xmi:id="_Dd5_7_imEeCPG5ImOgba0Q" type="StateName">
+                            <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd5_8PimEeCPG5ImOgba0Q"/>
+                            <layoutConstraint xsi:type="notation:Location" xmi:id="_Dd5_8fimEeCPG5ImOgba0Q"/>
+                          </children>
+                          <children xsi:type="notation:Compartment" xmi:id="_Dd5_8vimEeCPG5ImOgba0Q" type="StateTextCompartment">
+                            <children xsi:type="notation:Shape" xmi:id="_Dd5_8_imEeCPG5ImOgba0Q" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
+                              <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Dd5_9PimEeCPG5ImOgba0Q"/>
+                            </children>
+                          </children>
+                          <children xsi:type="notation:Compartment" xmi:id="_Dd5_9fimEeCPG5ImOgba0Q" type="StateFigureCompartment"/>
+                          <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd5_9vimEeCPG5ImOgba0Q" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
+                          <styles xsi:type="notation:FontStyle" xmi:id="_Dd5_9_imEeCPG5ImOgba0Q"/>
+                          <styles xsi:type="notation:BooleanValueStyle" xmi:id="_Dd5_-PimEeCPG5ImOgba0Q"/>
+                          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Dd5_-fimEeCPG5ImOgba0Q" x="198" y="19" width="75"/>
+                        </children>
+                        <children xmi:id="_Dd5_-vimEeCPG5ImOgba0Q" type="State" element="_Dd8cKvimEeCPG5ImOgba0Q">
+                          <children xsi:type="notation:DecorationNode" xmi:id="_Dd5_-_imEeCPG5ImOgba0Q" type="StateName">
+                            <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd5__PimEeCPG5ImOgba0Q"/>
+                            <layoutConstraint xsi:type="notation:Location" xmi:id="_Dd5__fimEeCPG5ImOgba0Q"/>
+                          </children>
+                          <children xsi:type="notation:Compartment" xmi:id="_Dd5__vimEeCPG5ImOgba0Q" type="StateTextCompartment" collapsed="true">
+                            <children xsi:type="notation:Shape" xmi:id="_Dd5___imEeCPG5ImOgba0Q" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
+                              <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Dd6AAPimEeCPG5ImOgba0Q"/>
+                            </children>
+                          </children>
+                          <children xsi:type="notation:Compartment" xmi:id="_Dd6AAfimEeCPG5ImOgba0Q" type="StateFigureCompartment">
+                            <children xmi:id="_Dd6AAvimEeCPG5ImOgba0Q" type="Region" element="_Dd8cL_imEeCPG5ImOgba0Q">
+                              <children xsi:type="notation:DecorationNode" xmi:id="_Dd6AA_imEeCPG5ImOgba0Q" type="RegionName">
+                                <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd6ABPimEeCPG5ImOgba0Q"/>
+                                <layoutConstraint xsi:type="notation:Location" xmi:id="_Dd6ABfimEeCPG5ImOgba0Q"/>
+                              </children>
+                              <children xsi:type="notation:Shape" xmi:id="_Dd6ABvimEeCPG5ImOgba0Q" type="RegionCompartment" fontName="Verdana" lineColor="4210752">
+                                <children xmi:id="_Dd6AB_imEeCPG5ImOgba0Q" type="State" element="_Dd8cMPimEeCPG5ImOgba0Q">
+                                  <children xsi:type="notation:DecorationNode" xmi:id="_Dd6ACPimEeCPG5ImOgba0Q" type="StateName">
+                                    <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd6ACfimEeCPG5ImOgba0Q"/>
+                                    <layoutConstraint xsi:type="notation:Location" xmi:id="_Dd6ACvimEeCPG5ImOgba0Q"/>
+                                  </children>
+                                  <children xsi:type="notation:Compartment" xmi:id="_Dd6AC_imEeCPG5ImOgba0Q" type="StateTextCompartment">
+                                    <children xsi:type="notation:Shape" xmi:id="_Dd6ADPimEeCPG5ImOgba0Q" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
+                                      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Dd6ADfimEeCPG5ImOgba0Q"/>
+                                    </children>
+                                  </children>
+                                  <children xsi:type="notation:Compartment" xmi:id="_Dd6ADvimEeCPG5ImOgba0Q" type="StateFigureCompartment"/>
+                                  <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd6AD_imEeCPG5ImOgba0Q" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
+                                  <styles xsi:type="notation:FontStyle" xmi:id="_Dd6AEPimEeCPG5ImOgba0Q"/>
+                                  <styles xsi:type="notation:BooleanValueStyle" xmi:id="_Dd6AEfimEeCPG5ImOgba0Q"/>
+                                  <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Dd6AEvimEeCPG5ImOgba0Q" x="71" y="7" width="72"/>
+                                </children>
+                                <children xmi:id="_Dd6AE_imEeCPG5ImOgba0Q" type="State" element="_Dd8cNfimEeCPG5ImOgba0Q">
+                                  <children xsi:type="notation:DecorationNode" xmi:id="_Dd6AFPimEeCPG5ImOgba0Q" type="StateName">
+                                    <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd6AFfimEeCPG5ImOgba0Q"/>
+                                    <layoutConstraint xsi:type="notation:Location" xmi:id="_Dd6AFvimEeCPG5ImOgba0Q"/>
+                                  </children>
+                                  <children xsi:type="notation:Compartment" xmi:id="_Dd6AF_imEeCPG5ImOgba0Q" type="StateTextCompartment">
+                                    <children xsi:type="notation:Shape" xmi:id="_Dd6AGPimEeCPG5ImOgba0Q" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
+                                      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Dd6AGfimEeCPG5ImOgba0Q"/>
+                                    </children>
+                                  </children>
+                                  <children xsi:type="notation:Compartment" xmi:id="_Dd6AGvimEeCPG5ImOgba0Q" type="StateFigureCompartment"/>
+                                  <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd6AG_imEeCPG5ImOgba0Q" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
+                                  <styles xsi:type="notation:FontStyle" xmi:id="_Dd6AHPimEeCPG5ImOgba0Q"/>
+                                  <styles xsi:type="notation:BooleanValueStyle" xmi:id="_Dd6AHfimEeCPG5ImOgba0Q"/>
+                                  <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Dd6AHvimEeCPG5ImOgba0Q" x="219" y="13" width="74"/>
+                                </children>
+                                <children xmi:id="_TCSIMPiwEeCmAZxZWLaQmA" type="Entry" element="_TCRhIPiwEeCmAZxZWLaQmA">
+                                  <children xmi:id="_TCSvQPiwEeCmAZxZWLaQmA" type="BorderItemLabelContainer">
+                                    <children xsi:type="notation:DecorationNode" xmi:id="_TCSvQ_iwEeCmAZxZWLaQmA" type="BorderItemLabel">
+                                      <styles xsi:type="notation:ShapeStyle" xmi:id="_TCSvRPiwEeCmAZxZWLaQmA"/>
+                                      <layoutConstraint xsi:type="notation:Location" xmi:id="_TCSvRfiwEeCmAZxZWLaQmA"/>
+                                    </children>
+                                    <styles xsi:type="notation:ShapeStyle" xmi:id="_TCSvQfiwEeCmAZxZWLaQmA" fontName="Verdana" lineColor="4210752"/>
+                                    <layoutConstraint xsi:type="notation:Bounds" xmi:id="_TCSvQviwEeCmAZxZWLaQmA"/>
+                                  </children>
+                                  <styles xsi:type="notation:ShapeStyle" xmi:id="_TCSIMfiwEeCmAZxZWLaQmA" fontName="Verdana" lineColor="4210752"/>
+                                  <layoutConstraint xsi:type="notation:Bounds" xmi:id="_TCSIMviwEeCmAZxZWLaQmA" x="23" y="27"/>
+                                </children>
+                                <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Dd6AKPimEeCPG5ImOgba0Q"/>
+                              </children>
+                              <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd6AKfimEeCPG5ImOgba0Q" fontName="Verdana" fillColor="15790320" lineColor="12632256"/>
+                              <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Dd6AKvimEeCPG5ImOgba0Q"/>
+                            </children>
+                          </children>
+                          <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd6AK_imEeCPG5ImOgba0Q" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
+                          <styles xsi:type="notation:FontStyle" xmi:id="_Dd6ALPimEeCPG5ImOgba0Q"/>
+                          <styles xsi:type="notation:BooleanValueStyle" xmi:id="_Dd6ALfimEeCPG5ImOgba0Q"/>
+                          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Dd6ALvimEeCPG5ImOgba0Q" x="33" y="127" width="354" height="225"/>
+                        </children>
+                        <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Dd6AL_imEeCPG5ImOgba0Q"/>
+                      </children>
+                      <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd6AMPimEeCPG5ImOgba0Q" fontName="Verdana" fillColor="15790320" lineColor="12632256"/>
+                      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Dd6AMfimEeCPG5ImOgba0Q"/>
+                    </children>
+                  </children>
+                  <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd6AMvimEeCPG5ImOgba0Q" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
+                  <styles xsi:type="notation:FontStyle" xmi:id="_Dd6AM_imEeCPG5ImOgba0Q"/>
+                  <styles xsi:type="notation:BooleanValueStyle" xmi:id="_Dd6ANPimEeCPG5ImOgba0Q"/>
+                  <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Dd6ANfimEeCPG5ImOgba0Q" x="278" y="5" width="441" height="447"/>
+                </children>
+                <children xmi:id="_Dd6ANvimEeCPG5ImOgba0Q" type="State" element="_Dd8cPPimEeCPG5ImOgba0Q">
+                  <children xsi:type="notation:DecorationNode" xmi:id="_Dd6AN_imEeCPG5ImOgba0Q" type="StateName">
+                    <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd6AOPimEeCPG5ImOgba0Q"/>
+                    <layoutConstraint xsi:type="notation:Location" xmi:id="_Dd6AOfimEeCPG5ImOgba0Q"/>
+                  </children>
+                  <children xsi:type="notation:Compartment" xmi:id="_Dd6AOvimEeCPG5ImOgba0Q" type="StateTextCompartment">
+                    <children xsi:type="notation:Shape" xmi:id="_Dd6AO_imEeCPG5ImOgba0Q" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
+                      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Dd6APPimEeCPG5ImOgba0Q"/>
+                    </children>
+                  </children>
+                  <children xsi:type="notation:Compartment" xmi:id="_Dd6APfimEeCPG5ImOgba0Q" type="StateFigureCompartment"/>
+                  <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd6APvimEeCPG5ImOgba0Q" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
+                  <styles xsi:type="notation:FontStyle" xmi:id="_Dd6AP_imEeCPG5ImOgba0Q"/>
+                  <styles xsi:type="notation:BooleanValueStyle" xmi:id="_Dd6AQPimEeCPG5ImOgba0Q"/>
+                  <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Dd6m8PimEeCPG5ImOgba0Q" x="62" y="355" width="86"/>
+                </children>
+                <children xmi:id="_Pk2YAPiwEeCmAZxZWLaQmA" type="DeepHistory" element="_PkyGkPiwEeCmAZxZWLaQmA">
+                  <children xmi:id="_Pk3mIPiwEeCmAZxZWLaQmA" type="BorderItemLabelContainer">
+                    <children xsi:type="notation:DecorationNode" xmi:id="_Pk4NMPiwEeCmAZxZWLaQmA" type="BorderItemLabel">
+                      <styles xsi:type="notation:ShapeStyle" xmi:id="_Pk4NMfiwEeCmAZxZWLaQmA"/>
+                      <layoutConstraint xsi:type="notation:Location" xmi:id="_Pk4NMviwEeCmAZxZWLaQmA"/>
+                    </children>
+                    <styles xsi:type="notation:ShapeStyle" xmi:id="_Pk3mIfiwEeCmAZxZWLaQmA" fontName="Verdana" lineColor="4210752"/>
+                    <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Pk3mIviwEeCmAZxZWLaQmA"/>
+                  </children>
+                  <styles xsi:type="notation:ShapeStyle" xmi:id="_Pk2YAfiwEeCmAZxZWLaQmA" fontName="Verdana" lineColor="4210752"/>
+                  <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Pk2YAviwEeCmAZxZWLaQmA" x="39" y="28"/>
+                </children>
+                <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Dd6m8fimEeCPG5ImOgba0Q"/>
+              </children>
+              <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd6m8vimEeCPG5ImOgba0Q" fontName="Verdana" fillColor="15790320" lineColor="12632256"/>
+              <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Dd6m8_imEeCPG5ImOgba0Q"/>
+            </children>
+          </children>
+          <styles xsi:type="notation:ShapeStyle" xmi:id="_Dd6m9PimEeCPG5ImOgba0Q" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
+          <styles xsi:type="notation:FontStyle" xmi:id="_Dd6m9fimEeCPG5ImOgba0Q"/>
+          <styles xsi:type="notation:BooleanValueStyle" xmi:id="_Dd6m9vimEeCPG5ImOgba0Q"/>
+          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Dd6m9_imEeCPG5ImOgba0Q" x="215" y="23" width="785" height="589"/>
+        </children>
+        <layoutConstraint xsi:type="notation:Bounds" xmi:id="_XoUC5_ZlEeCSetPXFd1ZUw"/>
+      </children>
+      <styles xsi:type="notation:ShapeStyle" xmi:id="_XoUC4fZlEeCSetPXFd1ZUw" fontName="Verdana" fillColor="15790320" lineColor="12632256"/>
+      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_XoUp8PZlEeCSetPXFd1ZUw" x="220" y="10" width="993" height="675"/>
+    </children>
+    <children xsi:type="notation:Shape" xmi:id="_XoXGN_ZlEeCSetPXFd1ZUw" type="StatechartText" fontName="Verdana" lineColor="4210752">
+      <children xsi:type="notation:DecorationNode" xmi:id="_XoXtQPZlEeCSetPXFd1ZUw" type="StatechartName">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_XoXtQfZlEeCSetPXFd1ZUw"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_XoXtQvZlEeCSetPXFd1ZUw"/>
+      </children>
+      <children xsi:type="notation:Shape" xmi:id="_XoXtQ_ZlEeCSetPXFd1ZUw" type="StatechartTextExpression" fontName="Verdana" lineColor="4210752">
+        <layoutConstraint xsi:type="notation:Bounds" xmi:id="_XoXtRPZlEeCSetPXFd1ZUw"/>
+      </children>
+      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_XoXtRfZlEeCSetPXFd1ZUw" x="10" y="10" width="200" height="400"/>
+    </children>
+    <styles xsi:type="notation:DiagramStyle" xmi:id="_XoTb0fZlEeCSetPXFd1ZUw"/>
+    <edges xmi:id="_DmuksPimEeCPG5ImOgba0Q" type="Transition" element="_Dd8cMfimEeCPG5ImOgba0Q" source="_Dd6AB_imEeCPG5ImOgba0Q" target="_Dd6AE_imEeCPG5ImOgba0Q">
+      <children xsi:type="notation:DecorationNode" xmi:id="_DmuktPimEeCPG5ImOgba0Q" type="TransitionExpression">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_DmuktfimEeCPG5ImOgba0Q"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_DmuktvimEeCPG5ImOgba0Q" x="1" y="-10"/>
+      </children>
+      <styles xsi:type="notation:ConnectorStyle" xmi:id="_DmuksfimEeCPG5ImOgba0Q" lineColor="4210752"/>
+      <styles xsi:type="notation:FontStyle" xmi:id="_Dmuks_imEeCPG5ImOgba0Q" fontName="Verdana"/>
+      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_DmuksvimEeCPG5ImOgba0Q" points="[26, 6, -122, 0]$[74, -9, -74, -15]$[123, 6, -25, 0]"/>
+      <targetAnchor xsi:type="notation:IdentityAnchor" xmi:id="_NnamgPimEeCPG5ImOgba0Q" id="(0.09803921568627451,0.31746031746031744)"/>
+    </edges>
+    <edges xmi:id="_Dmvy0PimEeCPG5ImOgba0Q" type="Transition" element="_Dd8cNvimEeCPG5ImOgba0Q" source="_Dd6AE_imEeCPG5ImOgba0Q" target="_Dd6AB_imEeCPG5ImOgba0Q">
+      <children xsi:type="notation:DecorationNode" xmi:id="_Dmvy1PimEeCPG5ImOgba0Q" type="TransitionExpression">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_Dmvy1fimEeCPG5ImOgba0Q"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_Dmvy1vimEeCPG5ImOgba0Q" y="-13"/>
+      </children>
+      <styles xsi:type="notation:ConnectorStyle" xmi:id="_Dmvy0fimEeCPG5ImOgba0Q" lineColor="4210752"/>
+      <styles xsi:type="notation:FontStyle" xmi:id="_Dmvy0_imEeCPG5ImOgba0Q" fontName="Verdana"/>
+      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_Dmvy0vimEeCPG5ImOgba0Q" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
+      <sourceAnchor xsi:type="notation:IdentityAnchor" xmi:id="_OM7HUPimEeCPG5ImOgba0Q" id="(0.0392156862745098,0.6349206349206349)"/>
+      <targetAnchor xsi:type="notation:IdentityAnchor" xmi:id="_PgEKMPimEeCPG5ImOgba0Q" id="(0.9607843137254902,0.7619047619047619)"/>
+    </edges>
+    <edges xmi:id="_Dp2KIPimEeCPG5ImOgba0Q" type="Transition" element="_Dd8cK_imEeCPG5ImOgba0Q" source="_Dd5_-vimEeCPG5ImOgba0Q" target="_Dd5_7vimEeCPG5ImOgba0Q">
+      <children xsi:type="notation:DecorationNode" xmi:id="_Dp2xMfimEeCPG5ImOgba0Q" type="TransitionExpression">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_Dp2xMvimEeCPG5ImOgba0Q"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_Dp2xM_imEeCPG5ImOgba0Q" x="-16" y="26"/>
+      </children>
+      <styles xsi:type="notation:ConnectorStyle" xmi:id="_Dp2KIfimEeCPG5ImOgba0Q" lineColor="4210752"/>
+      <styles xsi:type="notation:FontStyle" xmi:id="_Dp2xMPimEeCPG5ImOgba0Q" fontName="Verdana"/>
+      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_Dp2KIvimEeCPG5ImOgba0Q" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
+      <sourceAnchor xsi:type="notation:IdentityAnchor" xmi:id="_CQIyYEs-EeGdEbcgyE6NOQ" id="(0.5875706214689266,0.013333333333333334)"/>
+      <targetAnchor xsi:type="notation:IdentityAnchor" xmi:id="_B88woEs-EeGdEbcgyE6NOQ" id="(0.9056603773584906,0.6964285714285714)"/>
+    </edges>
+    <edges xmi:id="_Dp3YQPimEeCPG5ImOgba0Q" type="Transition" element="_Dd8cJvimEeCPG5ImOgba0Q" source="_Dd5_7vimEeCPG5ImOgba0Q" target="_Dd5_-vimEeCPG5ImOgba0Q">
+      <children xsi:type="notation:DecorationNode" xmi:id="_Dp3YRPimEeCPG5ImOgba0Q" type="TransitionExpression">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_Dp3YRfimEeCPG5ImOgba0Q"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_Dp3_UPimEeCPG5ImOgba0Q" x="-5" y="30"/>
+      </children>
+      <styles xsi:type="notation:ConnectorStyle" xmi:id="_Dp3YQfimEeCPG5ImOgba0Q" lineColor="4210752"/>
+      <styles xsi:type="notation:FontStyle" xmi:id="_Dp3YQ_imEeCPG5ImOgba0Q" fontName="Verdana"/>
+      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_Dp3YQvimEeCPG5ImOgba0Q" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
+      <sourceAnchor xsi:type="notation:IdentityAnchor" xmi:id="_Cp4IEEs-EeGdEbcgyE6NOQ" id="(0.32075471698113206,0.8928571428571429)"/>
+    </edges>
+    <edges xmi:id="_Dp4mYPimEeCPG5ImOgba0Q" type="Transition" element="_Dd8cJPimEeCPG5ImOgba0Q" source="_Dd5_5fimEeCPG5ImOgba0Q" target="_Dd5_7vimEeCPG5ImOgba0Q">
+      <children xsi:type="notation:DecorationNode" xmi:id="_Dp4mZPimEeCPG5ImOgba0Q" type="TransitionExpression">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_Dp4mZfimEeCPG5ImOgba0Q"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_Dp4mZvimEeCPG5ImOgba0Q" y="40"/>
+      </children>
+      <styles xsi:type="notation:ConnectorStyle" xmi:id="_Dp4mYfimEeCPG5ImOgba0Q" lineColor="4210752"/>
+      <styles xsi:type="notation:FontStyle" xmi:id="_Dp4mY_imEeCPG5ImOgba0Q" fontName="Verdana"/>
+      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_Dp4mYvimEeCPG5ImOgba0Q" points="[-1, -2, 0, -1]$[-1, -1, 0, 0]"/>
+    </edges>
+    <edges xmi:id="_DsU2YPimEeCPG5ImOgba0Q" type="Transition" element="_Dd71JfimEeCPG5ImOgba0Q" source="_Dd5Y_vimEeCPG5ImOgba0Q" target="_Dd6ANvimEeCPG5ImOgba0Q">
+      <children xsi:type="notation:DecorationNode" xmi:id="_DsVdcfimEeCPG5ImOgba0Q" type="TransitionExpression">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_DsVdcvimEeCPG5ImOgba0Q"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_DsVdc_imEeCPG5ImOgba0Q" y="40"/>
+      </children>
+      <styles xsi:type="notation:ConnectorStyle" xmi:id="_DsU2YfimEeCPG5ImOgba0Q" lineColor="4210752"/>
+      <styles xsi:type="notation:FontStyle" xmi:id="_DsVdcPimEeCPG5ImOgba0Q" fontName="Verdana"/>
+      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_DsU2YvimEeCPG5ImOgba0Q" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
+    </edges>
+    <edges xmi:id="_DsXSoPimEeCPG5ImOgba0Q" type="Transition" element="_Dd71IPimEeCPG5ImOgba0Q" source="_Dd5Y8vimEeCPG5ImOgba0Q" target="_Dd5Y_vimEeCPG5ImOgba0Q">
+      <children xsi:type="notation:DecorationNode" xmi:id="_DsX5sPimEeCPG5ImOgba0Q" type="TransitionExpression">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_DsX5sfimEeCPG5ImOgba0Q"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_DsX5svimEeCPG5ImOgba0Q" y="40"/>
+      </children>
+      <styles xsi:type="notation:ConnectorStyle" xmi:id="_DsXSofimEeCPG5ImOgba0Q" lineColor="4210752"/>
+      <styles xsi:type="notation:FontStyle" xmi:id="_DsXSo_imEeCPG5ImOgba0Q" fontName="Verdana"/>
+      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_DsXSovimEeCPG5ImOgba0Q" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
+    </edges>
+    <edges xmi:id="_DvpQIPimEeCPG5ImOgba0Q" type="Transition" element="_Dd71EvimEeCPG5ImOgba0Q" source="_Dd5Y0PimEeCPG5ImOgba0Q" target="_Dd5Y3PimEeCPG5ImOgba0Q">
+      <children xsi:type="notation:DecorationNode" xmi:id="_Dvp3MfimEeCPG5ImOgba0Q" type="TransitionExpression">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_Dvp3MvimEeCPG5ImOgba0Q"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_Dvp3M_imEeCPG5ImOgba0Q" x="26" y="-22"/>
+      </children>
+      <styles xsi:type="notation:ConnectorStyle" xmi:id="_DvpQIfimEeCPG5ImOgba0Q" lineColor="4210752"/>
+      <styles xsi:type="notation:FontStyle" xmi:id="_Dvp3MPimEeCPG5ImOgba0Q" fontName="Verdana"/>
+      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_DvpQIvimEeCPG5ImOgba0Q" points="[26, -3, -108, 13]$[128, -16, -6, 0]"/>
+      <sourceAnchor xsi:type="notation:IdentityAnchor" xmi:id="_2JjJsPisEeCPG5ImOgba0Q" id="(0.8431372549019608,0.30158730158730157)"/>
+      <targetAnchor xsi:type="notation:IdentityAnchor" xmi:id="_LF1akPimEeCPG5ImOgba0Q" id="(0.007643312101910828,0.21561969439728354)"/>
+    </edges>
+    <edges xmi:id="_DvrFUPimEeCPG5ImOgba0Q" type="Transition" element="_Dd71GPimEeCPG5ImOgba0Q" source="_Dd5Y3PimEeCPG5ImOgba0Q" target="_Dd5Y0PimEeCPG5ImOgba0Q">
+      <children xsi:type="notation:DecorationNode" xmi:id="_DvrFVPimEeCPG5ImOgba0Q" type="TransitionExpression">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_DvrFVfimEeCPG5ImOgba0Q"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_DvrFVvimEeCPG5ImOgba0Q" x="12" y="-20"/>
+      </children>
+      <styles xsi:type="notation:ConnectorStyle" xmi:id="_DvrFUfimEeCPG5ImOgba0Q" lineColor="4210752"/>
+      <styles xsi:type="notation:FontStyle" xmi:id="_DvrFU_imEeCPG5ImOgba0Q" fontName="Verdana"/>
+      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_DvrFUvimEeCPG5ImOgba0Q" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
+      <sourceAnchor xsi:type="notation:IdentityAnchor" xmi:id="_29WlMPisEeCPG5ImOgba0Q" id="(0.012738853503184714,0.2614601018675722)"/>
+    </edges>
+    <edges xmi:id="_DvsTcPimEeCPG5ImOgba0Q" type="Transition" element="_Dd71EPimEeCPG5ImOgba0Q" source="_Dd4xwfimEeCPG5ImOgba0Q" target="_Dd5Y0PimEeCPG5ImOgba0Q">
+      <children xsi:type="notation:DecorationNode" xmi:id="_DvsTdPimEeCPG5ImOgba0Q" type="TransitionExpression">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_DvsTdfimEeCPG5ImOgba0Q"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_DvsTdvimEeCPG5ImOgba0Q" y="40"/>
+      </children>
+      <styles xsi:type="notation:ConnectorStyle" xmi:id="_DvsTcfimEeCPG5ImOgba0Q" lineColor="4210752"/>
+      <styles xsi:type="notation:FontStyle" xmi:id="_DvsTc_imEeCPG5ImOgba0Q" fontName="Verdana"/>
+      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_DvsTcvimEeCPG5ImOgba0Q" points="[-1, -2, 0, -1]$[-1, -1, 0, 0]"/>
+    </edges>
+    <edges xmi:id="_QlcSUPiwEeCmAZxZWLaQmA" type="Transition" element="_QlbEMPiwEeCmAZxZWLaQmA" source="_Pk2YAPiwEeCmAZxZWLaQmA" target="_Dd5Y8vimEeCPG5ImOgba0Q">
+      <children xsi:type="notation:DecorationNode" xmi:id="_Qlc5YfiwEeCmAZxZWLaQmA" type="TransitionExpression">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_Qlc5YviwEeCmAZxZWLaQmA"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_Qlc5Y_iwEeCmAZxZWLaQmA" y="40"/>
+      </children>
+      <styles xsi:type="notation:ConnectorStyle" xmi:id="_QlcSUfiwEeCmAZxZWLaQmA" lineColor="4210752"/>
+      <styles xsi:type="notation:FontStyle" xmi:id="_Qlc5YPiwEeCmAZxZWLaQmA" fontName="Verdana"/>
+      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_QlcSUviwEeCmAZxZWLaQmA" points="[7, 0, -93, -17]$[94, -14, -6, -31]"/>
+    </edges>
+    <edges xmi:id="_Tymx4PiwEeCmAZxZWLaQmA" type="Transition" element="_TyjukPiwEeCmAZxZWLaQmA" source="_TCSIMPiwEeCmAZxZWLaQmA" target="_Dd6AB_imEeCPG5ImOgba0Q">
+      <children xsi:type="notation:DecorationNode" xmi:id="_Tymx5PiwEeCmAZxZWLaQmA" type="TransitionExpression">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_Tymx5fiwEeCmAZxZWLaQmA"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_Tymx5viwEeCmAZxZWLaQmA" y="40"/>
+      </children>
+      <styles xsi:type="notation:ConnectorStyle" xmi:id="_Tymx4fiwEeCmAZxZWLaQmA" lineColor="4210752"/>
+      <styles xsi:type="notation:FontStyle" xmi:id="_Tymx4_iwEeCmAZxZWLaQmA" fontName="Verdana"/>
+      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_Tymx4viwEeCmAZxZWLaQmA" points="[7, 0, -45, 3]$[41, -9, -11, -6]"/>
+      <targetAnchor xsi:type="notation:IdentityAnchor" xmi:id="_TzQSIPiwEeCmAZxZWLaQmA" id="(0.21568627450980393,0.38095238095238093)"/>
+    </edges>
+  </notation:Diagram>
+</xmi:XMI>

+ 102 - 0
test-plugins/org.yakindu.sct.test.models/testmodels/FeatureCalls.sct

@@ -0,0 +1,102 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:sgraph="http://www.yakindu.org/sct/sgraph/2.0.0">
+  <sgraph:Statechart xmi:id="_e2LuoIlsEeGdSfnRraevSA" specification="interface MyInterface:&#xD;&#xA;in event Event1&#xD;&#xA;var myInt : integer" name="FeatureCalls">
+    <regions xmi:id="_e2R1QolsEeGdSfnRraevSA" name="main region">
+      <vertices xsi:type="sgraph:Entry" xmi:id="_e3JX8IlsEeGdSfnRraevSA">
+        <outgoingTransitions xmi:id="_e3QFoYlsEeGdSfnRraevSA" target="_e3L0MolsEeGdSfnRraevSA"/>
+      </vertices>
+      <vertices xsi:type="sgraph:State" xmi:id="_e3L0MolsEeGdSfnRraevSA" name="A" incomingTransitions="_e3QFoYlsEeGdSfnRraevSA">
+        <outgoingTransitions xmi:id="_lf50oIlsEeGdSfnRraevSA" specification="MyInterface.Event1" target="_kjQmMIlsEeGdSfnRraevSA"/>
+      </vertices>
+      <vertices xsi:type="sgraph:State" xmi:id="_kjQmMIlsEeGdSfnRraevSA" specification="entry / MyInterface.myInt = 42" name="B" incomingTransitions="_lf50oIlsEeGdSfnRraevSA"/>
+    </regions>
+  </sgraph:Statechart>
+  <notation:Diagram xmi:id="_e2R1QIlsEeGdSfnRraevSA" type="org.yakindu.sct.ui.editor.editor.StatechartDiagramEditor" element="_e2LuoIlsEeGdSfnRraevSA" measurementUnit="Pixel">
+    <children xmi:id="_e2eCgIlsEeGdSfnRraevSA" type="Region" element="_e2R1QolsEeGdSfnRraevSA">
+      <children xsi:type="notation:DecorationNode" xmi:id="_e3G7sIlsEeGdSfnRraevSA" type="RegionName">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_e3G7sYlsEeGdSfnRraevSA"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_e3G7solsEeGdSfnRraevSA"/>
+      </children>
+      <children xsi:type="notation:Shape" xmi:id="_e3HiwIlsEeGdSfnRraevSA" type="RegionCompartment" fontName="Verdana" lineColor="4210752">
+        <children xmi:id="_e3J_AIlsEeGdSfnRraevSA" type="Entry" element="_e3JX8IlsEeGdSfnRraevSA">
+          <children xmi:id="_e3KmEIlsEeGdSfnRraevSA" type="BorderItemLabelContainer">
+            <children xsi:type="notation:DecorationNode" xmi:id="_e3LNIolsEeGdSfnRraevSA" type="BorderItemLabel">
+              <styles xsi:type="notation:ShapeStyle" xmi:id="_e3LNI4lsEeGdSfnRraevSA"/>
+              <layoutConstraint xsi:type="notation:Location" xmi:id="_e3L0MIlsEeGdSfnRraevSA"/>
+            </children>
+            <styles xsi:type="notation:ShapeStyle" xmi:id="_e3LNIIlsEeGdSfnRraevSA" fontName="Verdana" lineColor="4210752"/>
+            <layoutConstraint xsi:type="notation:Bounds" xmi:id="_e3LNIYlsEeGdSfnRraevSA"/>
+          </children>
+          <styles xsi:type="notation:ShapeStyle" xmi:id="_e3J_AYlsEeGdSfnRraevSA" fontName="Verdana" lineColor="4210752"/>
+          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_e3L0MYlsEeGdSfnRraevSA" x="70" y="20"/>
+        </children>
+        <children xmi:id="_e3NCUIlsEeGdSfnRraevSA" type="State" element="_e3L0MolsEeGdSfnRraevSA">
+          <children xsi:type="notation:DecorationNode" xmi:id="_e3NpYIlsEeGdSfnRraevSA" type="StateName">
+            <styles xsi:type="notation:ShapeStyle" xmi:id="_e3NpYYlsEeGdSfnRraevSA"/>
+            <layoutConstraint xsi:type="notation:Location" xmi:id="_e3OQcIlsEeGdSfnRraevSA"/>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_e3O3gIlsEeGdSfnRraevSA" type="StateTextCompartment">
+            <children xsi:type="notation:Shape" xmi:id="_e3O3gYlsEeGdSfnRraevSA" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
+              <layoutConstraint xsi:type="notation:Bounds" xmi:id="_e3O3golsEeGdSfnRraevSA"/>
+            </children>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_e3PekIlsEeGdSfnRraevSA" type="StateFigureCompartment"/>
+          <styles xsi:type="notation:ShapeStyle" xmi:id="_e3NCUYlsEeGdSfnRraevSA" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
+          <styles xsi:type="notation:FontStyle" xmi:id="_e3NCUolsEeGdSfnRraevSA"/>
+          <styles xsi:type="notation:BooleanValueStyle" xmi:id="_e3PekYlsEeGdSfnRraevSA"/>
+          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_e3QFoIlsEeGdSfnRraevSA" x="36" y="99"/>
+        </children>
+        <children xmi:id="_kjkIMIlsEeGdSfnRraevSA" type="State" element="_kjQmMIlsEeGdSfnRraevSA">
+          <children xsi:type="notation:DecorationNode" xmi:id="_kjlWUIlsEeGdSfnRraevSA" type="StateName">
+            <styles xsi:type="notation:ShapeStyle" xmi:id="_kjlWUYlsEeGdSfnRraevSA"/>
+            <layoutConstraint xsi:type="notation:Location" xmi:id="_kjlWUolsEeGdSfnRraevSA"/>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_kjl9YIlsEeGdSfnRraevSA" type="StateTextCompartment">
+            <children xsi:type="notation:Shape" xmi:id="_kjl9YYlsEeGdSfnRraevSA" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
+              <layoutConstraint xsi:type="notation:Bounds" xmi:id="_kjl9YolsEeGdSfnRraevSA"/>
+            </children>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_kjmkcIlsEeGdSfnRraevSA" type="StateFigureCompartment"/>
+          <styles xsi:type="notation:ShapeStyle" xmi:id="_kjkIMYlsEeGdSfnRraevSA" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
+          <styles xsi:type="notation:FontStyle" xmi:id="_kjkIMolsEeGdSfnRraevSA"/>
+          <styles xsi:type="notation:BooleanValueStyle" xmi:id="_kjmkcYlsEeGdSfnRraevSA"/>
+          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_kjkIM4lsEeGdSfnRraevSA" x="239" y="89" width="101" height="76"/>
+        </children>
+        <layoutConstraint xsi:type="notation:Bounds" xmi:id="_e3HiwYlsEeGdSfnRraevSA"/>
+      </children>
+      <styles xsi:type="notation:ShapeStyle" xmi:id="_e2eCgYlsEeGdSfnRraevSA" fontName="Verdana" fillColor="15790320" lineColor="12632256"/>
+      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_e3Iw4IlsEeGdSfnRraevSA" x="220" y="10" width="400" height="206"/>
+    </children>
+    <children xsi:type="notation:Shape" xmi:id="_e3U-IIlsEeGdSfnRraevSA" type="StatechartText" fontName="Verdana" lineColor="4210752">
+      <children xsi:type="notation:DecorationNode" xmi:id="_e3VlMIlsEeGdSfnRraevSA" type="StatechartName">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_e3VlMYlsEeGdSfnRraevSA"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_e3WMQIlsEeGdSfnRraevSA"/>
+      </children>
+      <children xsi:type="notation:Shape" xmi:id="_e3WMQYlsEeGdSfnRraevSA" type="StatechartTextExpression" fontName="Verdana" lineColor="4210752">
+        <layoutConstraint xsi:type="notation:Bounds" xmi:id="_e3WMQolsEeGdSfnRraevSA"/>
+      </children>
+      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_e3WzUIlsEeGdSfnRraevSA" x="10" y="10" width="200" height="206"/>
+    </children>
+    <styles xsi:type="notation:DiagramStyle" xmi:id="_e2R1QYlsEeGdSfnRraevSA"/>
+    <edges xmi:id="_e3TI8IlsEeGdSfnRraevSA" type="Transition" element="_e3QFoYlsEeGdSfnRraevSA" source="_e3J_AIlsEeGdSfnRraevSA" target="_e3NCUIlsEeGdSfnRraevSA">
+      <children xsi:type="notation:DecorationNode" xmi:id="_e3UXEIlsEeGdSfnRraevSA" type="TransitionExpression">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_e3UXEYlsEeGdSfnRraevSA"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_e3UXEolsEeGdSfnRraevSA" y="10"/>
+      </children>
+      <styles xsi:type="notation:ConnectorStyle" xmi:id="_e3TI8YlsEeGdSfnRraevSA" lineColor="4210752"/>
+      <styles xsi:type="notation:FontStyle" xmi:id="_e3TwAIlsEeGdSfnRraevSA" fontName="Verdana"/>
+      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_e3TI8olsEeGdSfnRraevSA" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
+    </edges>
+    <edges xmi:id="_lgC-kIlsEeGdSfnRraevSA" type="Transition" element="_lf50oIlsEeGdSfnRraevSA" source="_e3NCUIlsEeGdSfnRraevSA" target="_kjkIMIlsEeGdSfnRraevSA">
+      <children xsi:type="notation:DecorationNode" xmi:id="_lgEMsIlsEeGdSfnRraevSA" type="TransitionExpression">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_lgEMsYlsEeGdSfnRraevSA"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_lgEMsolsEeGdSfnRraevSA" y="10"/>
+      </children>
+      <styles xsi:type="notation:ConnectorStyle" xmi:id="_lgC-kYlsEeGdSfnRraevSA" lineColor="4210752"/>
+      <styles xsi:type="notation:FontStyle" xmi:id="_lgDloIlsEeGdSfnRraevSA" fontName="Verdana"/>
+      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_lgC-kolsEeGdSfnRraevSA" points="[0, 0, -116, 20]$[117, -37, 1, -17]"/>
+      <sourceAnchor xsi:type="notation:IdentityAnchor" xmi:id="_lgSPIIlsEeGdSfnRraevSA" id="(0.675,0.21428571428571427)"/>
+      <targetAnchor xsi:type="notation:IdentityAnchor" xmi:id="_lgSPIYlsEeGdSfnRraevSA" id="(0.2,0.3392857142857143)"/>
+    </edges>
+  </notation:Diagram>
+</xmi:XMI>

+ 126 - 0
test-plugins/org.yakindu.sct.test.models/testmodels/Guard.sct

@@ -0,0 +1,126 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:sgraph="http://www.yakindu.org/sct/sgraph/2.0.0">
+  <sgraph:Statechart xmi:id="_RHEiAHNtEeGtAMDjlTj9eQ" specification="internal:&#xD;&#xA;event Event1&#xD;&#xA;event Event2&#xD;&#xA;event Return&#xD;&#xA;var MyVar : integer = 0" name="Simple">
+    <regions xmi:id="_RHIMYnNtEeGtAMDjlTj9eQ" name="main region">
+      <vertices xsi:type="sgraph:Entry" xmi:id="_RHZSIXNtEeGtAMDjlTj9eQ">
+        <outgoingTransitions xmi:id="_RHjDIXNtEeGtAMDjlTj9eQ" target="_RHc8gXNtEeGtAMDjlTj9eQ"/>
+      </vertices>
+      <vertices xsi:type="sgraph:State" xmi:id="_RHc8gXNtEeGtAMDjlTj9eQ" name="A" incomingTransitions="_RHjDIXNtEeGtAMDjlTj9eQ _a5PQkHN2EeGvE6zPcInM6Q">
+        <outgoingTransitions xmi:id="_Wl3F8HNtEeGtAMDjlTj9eQ" specification="Event1 [MyVar == 10]" target="_V-iAMHNtEeGtAMDjlTj9eQ"/>
+        <outgoingTransitions xmi:id="_WXQTIHN2EeGvE6zPcInM6Q" specification="Event2" target="_V-iAMHNtEeGtAMDjlTj9eQ"/>
+      </vertices>
+      <vertices xsi:type="sgraph:State" xmi:id="_V-iAMHNtEeGtAMDjlTj9eQ" specification="entry / MyVar = 10" name="B" incomingTransitions="_Wl3F8HNtEeGtAMDjlTj9eQ _WXQTIHN2EeGvE6zPcInM6Q">
+        <outgoingTransitions xmi:id="_a5PQkHN2EeGvE6zPcInM6Q" specification="Return" target="_RHc8gXNtEeGtAMDjlTj9eQ"/>
+      </vertices>
+    </regions>
+  </sgraph:Statechart>
+  <notation:Diagram xmi:id="_RHIMYHNtEeGtAMDjlTj9eQ" type="org.yakindu.sct.ui.editor.editor.StatechartDiagramEditor" element="_RHEiAHNtEeGtAMDjlTj9eQ" measurementUnit="Pixel">
+    <children xmi:id="_RHRWUHNtEeGtAMDjlTj9eQ" type="Region" element="_RHIMYnNtEeGtAMDjlTj9eQ">
+      <children xsi:type="notation:DecorationNode" xmi:id="_RHW14HNtEeGtAMDjlTj9eQ" type="RegionName">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_RHW14XNtEeGtAMDjlTj9eQ"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_RHW14nNtEeGtAMDjlTj9eQ"/>
+      </children>
+      <children xsi:type="notation:Shape" xmi:id="_RHXc8HNtEeGtAMDjlTj9eQ" type="RegionCompartment" fontName="Verdana" lineColor="4210752">
+        <children xmi:id="_RHZ5MHNtEeGtAMDjlTj9eQ" type="Entry" element="_RHZSIXNtEeGtAMDjlTj9eQ">
+          <children xmi:id="_RHbHUHNtEeGtAMDjlTj9eQ" type="BorderItemLabelContainer">
+            <children xsi:type="notation:DecorationNode" xmi:id="_RHcVcHNtEeGtAMDjlTj9eQ" type="BorderItemLabel">
+              <styles xsi:type="notation:ShapeStyle" xmi:id="_RHcVcXNtEeGtAMDjlTj9eQ"/>
+              <layoutConstraint xsi:type="notation:Location" xmi:id="_RHcVcnNtEeGtAMDjlTj9eQ"/>
+            </children>
+            <styles xsi:type="notation:ShapeStyle" xmi:id="_RHbHUXNtEeGtAMDjlTj9eQ" fontName="Verdana" lineColor="4210752"/>
+            <layoutConstraint xsi:type="notation:Bounds" xmi:id="_RHbHUnNtEeGtAMDjlTj9eQ"/>
+          </children>
+          <styles xsi:type="notation:ShapeStyle" xmi:id="_RHZ5MXNtEeGtAMDjlTj9eQ" fontName="Verdana" lineColor="4210752"/>
+          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_RHc8gHNtEeGtAMDjlTj9eQ" x="70" y="20"/>
+        </children>
+        <children xmi:id="_RHeKoHNtEeGtAMDjlTj9eQ" type="State" element="_RHc8gXNtEeGtAMDjlTj9eQ">
+          <children xsi:type="notation:DecorationNode" xmi:id="_RHf_0HNtEeGtAMDjlTj9eQ" type="StateName">
+            <styles xsi:type="notation:ShapeStyle" xmi:id="_RHf_0XNtEeGtAMDjlTj9eQ"/>
+            <layoutConstraint xsi:type="notation:Location" xmi:id="_RHf_0nNtEeGtAMDjlTj9eQ"/>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_RHhN8HNtEeGtAMDjlTj9eQ" type="StateTextCompartment">
+            <children xsi:type="notation:Shape" xmi:id="_RHhN8XNtEeGtAMDjlTj9eQ" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
+              <layoutConstraint xsi:type="notation:Bounds" xmi:id="_RHhN8nNtEeGtAMDjlTj9eQ"/>
+            </children>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_RHicEHNtEeGtAMDjlTj9eQ" type="StateFigureCompartment"/>
+          <styles xsi:type="notation:ShapeStyle" xmi:id="_RHexsHNtEeGtAMDjlTj9eQ" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
+          <styles xsi:type="notation:FontStyle" xmi:id="_RHexsXNtEeGtAMDjlTj9eQ"/>
+          <styles xsi:type="notation:BooleanValueStyle" xmi:id="_RHicEXNtEeGtAMDjlTj9eQ"/>
+          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_RHjDIHNtEeGtAMDjlTj9eQ" x="50" y="80"/>
+        </children>
+        <children xmi:id="_V-m4sHNtEeGtAMDjlTj9eQ" type="State" element="_V-iAMHNtEeGtAMDjlTj9eQ">
+          <children xsi:type="notation:DecorationNode" xmi:id="_V-oG0HNtEeGtAMDjlTj9eQ" type="StateName">
+            <styles xsi:type="notation:ShapeStyle" xmi:id="_V-oG0XNtEeGtAMDjlTj9eQ"/>
+            <layoutConstraint xsi:type="notation:Location" xmi:id="_V-oG0nNtEeGtAMDjlTj9eQ"/>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_V-ot4HNtEeGtAMDjlTj9eQ" type="StateTextCompartment">
+            <children xsi:type="notation:Shape" xmi:id="_V-ot4XNtEeGtAMDjlTj9eQ" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
+              <layoutConstraint xsi:type="notation:Bounds" xmi:id="_V-ot4nNtEeGtAMDjlTj9eQ"/>
+            </children>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_V-p8AHNtEeGtAMDjlTj9eQ" type="StateFigureCompartment"/>
+          <styles xsi:type="notation:ShapeStyle" xmi:id="_V-m4sXNtEeGtAMDjlTj9eQ" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
+          <styles xsi:type="notation:FontStyle" xmi:id="_V-m4snNtEeGtAMDjlTj9eQ"/>
+          <styles xsi:type="notation:BooleanValueStyle" xmi:id="_V-p8AXNtEeGtAMDjlTj9eQ"/>
+          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_V-m4s3NtEeGtAMDjlTj9eQ" x="234" y="78" width="151"/>
+        </children>
+        <layoutConstraint xsi:type="notation:Bounds" xmi:id="_RHXc8XNtEeGtAMDjlTj9eQ"/>
+      </children>
+      <styles xsi:type="notation:ShapeStyle" xmi:id="_RHRWUXNtEeGtAMDjlTj9eQ" fontName="Verdana" fillColor="15790320" lineColor="12632256"/>
+      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_RHZSIHNtEeGtAMDjlTj9eQ" x="220" y="10" width="446" height="336"/>
+    </children>
+    <children xsi:type="notation:Shape" xmi:id="_RHn7oHNtEeGtAMDjlTj9eQ" type="StatechartText" fontName="Verdana" lineColor="4210752">
+      <children xsi:type="notation:DecorationNode" xmi:id="_RHpJwHNtEeGtAMDjlTj9eQ" type="StatechartName">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_RHpJwXNtEeGtAMDjlTj9eQ"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_RHpJwnNtEeGtAMDjlTj9eQ"/>
+      </children>
+      <children xsi:type="notation:Shape" xmi:id="_RHpJw3NtEeGtAMDjlTj9eQ" type="StatechartTextExpression" fontName="Verdana" lineColor="4210752">
+        <layoutConstraint xsi:type="notation:Bounds" xmi:id="_RHpJxHNtEeGtAMDjlTj9eQ"/>
+      </children>
+      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_RHqX4HNtEeGtAMDjlTj9eQ" x="10" y="10" width="200" height="191"/>
+    </children>
+    <styles xsi:type="notation:DiagramStyle" xmi:id="_RHIMYXNtEeGtAMDjlTj9eQ"/>
+    <edges xmi:id="_RHlfYHNtEeGtAMDjlTj9eQ" type="Transition" element="_RHjDIXNtEeGtAMDjlTj9eQ" source="_RHZ5MHNtEeGtAMDjlTj9eQ" target="_RHeKoHNtEeGtAMDjlTj9eQ">
+      <children xsi:type="notation:DecorationNode" xmi:id="_RHnUkHNtEeGtAMDjlTj9eQ" type="TransitionExpression">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_RHnUkXNtEeGtAMDjlTj9eQ"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_RHnUknNtEeGtAMDjlTj9eQ" y="10"/>
+      </children>
+      <styles xsi:type="notation:ConnectorStyle" xmi:id="_RHlfYXNtEeGtAMDjlTj9eQ" lineColor="4210752"/>
+      <styles xsi:type="notation:FontStyle" xmi:id="_RHmtgHNtEeGtAMDjlTj9eQ" fontName="Verdana"/>
+      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_RHmGcHNtEeGtAMDjlTj9eQ" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
+    </edges>
+    <edges xmi:id="_Wl6wUHNtEeGtAMDjlTj9eQ" type="Transition" element="_Wl3F8HNtEeGtAMDjlTj9eQ" source="_RHeKoHNtEeGtAMDjlTj9eQ" target="_V-m4sHNtEeGtAMDjlTj9eQ">
+      <children xsi:type="notation:DecorationNode" xmi:id="_Wl7XYXNtEeGtAMDjlTj9eQ" type="TransitionExpression">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_Wl7-cHNtEeGtAMDjlTj9eQ"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_Wl7-cXNtEeGtAMDjlTj9eQ" x="-2" y="-12"/>
+      </children>
+      <styles xsi:type="notation:ConnectorStyle" xmi:id="_Wl6wUXNtEeGtAMDjlTj9eQ" lineColor="4210752"/>
+      <styles xsi:type="notation:FontStyle" xmi:id="_Wl7XYHNtEeGtAMDjlTj9eQ" fontName="Verdana"/>
+      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_Wl6wUnNtEeGtAMDjlTj9eQ" points="[18, 4, -191, -4]$[207, -17, -2, -25]"/>
+      <sourceAnchor xsi:type="notation:IdentityAnchor" xmi:id="_U7k_UHN2EeGvE6zPcInM6Q" id="(0.825,0.14285714285714285)"/>
+      <targetAnchor xsi:type="notation:IdentityAnchor" xmi:id="_Vek-sHN2EeGvE6zPcInM6Q" id="(0.039735099337748346,0.13114754098360656)"/>
+    </edges>
+    <edges xmi:id="_WXTWcHN2EeGvE6zPcInM6Q" type="Transition" element="_WXQTIHN2EeGvE6zPcInM6Q" source="_RHeKoHNtEeGtAMDjlTj9eQ" target="_V-m4sHNtEeGtAMDjlTj9eQ">
+      <children xsi:type="notation:DecorationNode" xmi:id="_WXUkkHN2EeGvE6zPcInM6Q" type="TransitionExpression">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_WXUkkXN2EeGvE6zPcInM6Q"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_WXUkknN2EeGvE6zPcInM6Q" x="1" y="-7"/>
+      </children>
+      <styles xsi:type="notation:ConnectorStyle" xmi:id="_WXTWcXN2EeGvE6zPcInM6Q" lineColor="4210752"/>
+      <styles xsi:type="notation:FontStyle" xmi:id="_WXT9gHN2EeGvE6zPcInM6Q" fontName="Verdana"/>
+      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_WXTWcnN2EeGvE6zPcInM6Q" points="[18, 1, -156, -6]$[175, 29, 1, 22]"/>
+      <targetAnchor xsi:type="notation:IdentityAnchor" xmi:id="_WXarMHN2EeGvE6zPcInM6Q" id="(0.052980132450331126,0.6229508196721312)"/>
+    </edges>
+    <edges xmi:id="_a5XMYHN2EeGvE6zPcInM6Q" type="Transition" element="_a5PQkHN2EeGvE6zPcInM6Q" source="_V-m4sHNtEeGtAMDjlTj9eQ" target="_RHeKoHNtEeGtAMDjlTj9eQ">
+      <children xsi:type="notation:DecorationNode" xmi:id="_a5YagHN2EeGvE6zPcInM6Q" type="TransitionExpression">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_a5YagXN2EeGvE6zPcInM6Q"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_a5YagnN2EeGvE6zPcInM6Q" x="14" y="13"/>
+      </children>
+      <styles xsi:type="notation:ConnectorStyle" xmi:id="_a5XMYXN2EeGvE6zPcInM6Q" lineColor="4210752"/>
+      <styles xsi:type="notation:FontStyle" xmi:id="_a5XzcHN2EeGvE6zPcInM6Q" fontName="Verdana"/>
+      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_a5XMYnN2EeGvE6zPcInM6Q" points="[8, 49, 225, 45]$[8, 79, 225, 75]$[-209, 79, 8, 75]$[-209, 46, 8, 42]"/>
+      <sourceAnchor xsi:type="notation:IdentityAnchor" xmi:id="_a5ehIHN2EeGvE6zPcInM6Q" id="(0.2913907284768212,0.13114754098360656)"/>
+      <targetAnchor xsi:type="notation:IdentityAnchor" xmi:id="_a5ehIXN2EeGvE6zPcInM6Q" id="(0.275,0.17857142857142858)"/>
+    </edges>
+  </notation:Diagram>
+</xmi:XMI>

+ 101 - 0
test-plugins/org.yakindu.sct.test.models/testmodels/SimpleEvent.sct

@@ -0,0 +1,101 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:sgraph="http://www.yakindu.org/sct/sgraph/2.0.0">
+  <sgraph:Statechart xmi:id="_MEOcMJLHEeGc3OFlLS8sJA" specification="internal:&#xD;&#xA;event Event1" name="SimpleEvent">
+    <regions xmi:id="_METUsZLHEeGc3OFlLS8sJA" name="main region">
+      <vertices xsi:type="sgraph:Entry" xmi:id="_MFEwwZLHEeGc3OFlLS8sJA">
+        <outgoingTransitions xmi:id="_MFMFgJLHEeGc3OFlLS8sJA" target="_MFHNBJLHEeGc3OFlLS8sJA"/>
+      </vertices>
+      <vertices xsi:type="sgraph:State" xmi:id="_MFHNBJLHEeGc3OFlLS8sJA" name="A" incomingTransitions="_MFMFgJLHEeGc3OFlLS8sJA">
+        <outgoingTransitions xmi:id="_QfOn4JLHEeGc3OFlLS8sJA" specification="Event1" target="_P5KGYJLHEeGc3OFlLS8sJA"/>
+      </vertices>
+      <vertices xsi:type="sgraph:State" xmi:id="_P5KGYJLHEeGc3OFlLS8sJA" name="B" incomingTransitions="_QfOn4JLHEeGc3OFlLS8sJA"/>
+    </regions>
+  </sgraph:Statechart>
+  <notation:Diagram xmi:id="_MEStoJLHEeGc3OFlLS8sJA" type="org.yakindu.sct.ui.editor.editor.StatechartDiagramEditor" element="_MEOcMJLHEeGc3OFlLS8sJA" measurementUnit="Pixel">
+    <children xmi:id="_MEgJAJLHEeGc3OFlLS8sJA" type="Region" element="_METUsZLHEeGc3OFlLS8sJA">
+      <children xsi:type="notation:DecorationNode" xmi:id="_MFBtcJLHEeGc3OFlLS8sJA" type="RegionName">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_MFBtcZLHEeGc3OFlLS8sJA"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_MFCUgJLHEeGc3OFlLS8sJA"/>
+      </children>
+      <children xsi:type="notation:Shape" xmi:id="_MFC7kJLHEeGc3OFlLS8sJA" type="RegionCompartment" fontName="Verdana" lineColor="4210752">
+        <children xmi:id="_MFFX0JLHEeGc3OFlLS8sJA" type="Entry" element="_MFEwwZLHEeGc3OFlLS8sJA">
+          <children xmi:id="_MFGl8JLHEeGc3OFlLS8sJA" type="BorderItemLabelContainer">
+            <children xsi:type="notation:DecorationNode" xmi:id="_MFHNAJLHEeGc3OFlLS8sJA" type="BorderItemLabel">
+              <styles xsi:type="notation:ShapeStyle" xmi:id="_MFHNAZLHEeGc3OFlLS8sJA"/>
+              <layoutConstraint xsi:type="notation:Location" xmi:id="_MFHNApLHEeGc3OFlLS8sJA"/>
+            </children>
+            <styles xsi:type="notation:ShapeStyle" xmi:id="_MFGl8ZLHEeGc3OFlLS8sJA" fontName="Verdana" lineColor="4210752"/>
+            <layoutConstraint xsi:type="notation:Bounds" xmi:id="_MFGl8pLHEeGc3OFlLS8sJA"/>
+          </children>
+          <styles xsi:type="notation:ShapeStyle" xmi:id="_MFFX0ZLHEeGc3OFlLS8sJA" fontName="Verdana" lineColor="4210752"/>
+          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_MFHNA5LHEeGc3OFlLS8sJA" x="70" y="20"/>
+        </children>
+        <children xmi:id="_MFIbIJLHEeGc3OFlLS8sJA" type="State" element="_MFHNBJLHEeGc3OFlLS8sJA">
+          <children xsi:type="notation:DecorationNode" xmi:id="_MFJCMJLHEeGc3OFlLS8sJA" type="StateName">
+            <styles xsi:type="notation:ShapeStyle" xmi:id="_MFJpQJLHEeGc3OFlLS8sJA"/>
+            <layoutConstraint xsi:type="notation:Location" xmi:id="_MFJpQZLHEeGc3OFlLS8sJA"/>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_MFKQUJLHEeGc3OFlLS8sJA" type="StateTextCompartment">
+            <children xsi:type="notation:Shape" xmi:id="_MFKQUZLHEeGc3OFlLS8sJA" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
+              <layoutConstraint xsi:type="notation:Bounds" xmi:id="_MFKQUpLHEeGc3OFlLS8sJA"/>
+            </children>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_MFK3YJLHEeGc3OFlLS8sJA" type="StateFigureCompartment"/>
+          <styles xsi:type="notation:ShapeStyle" xmi:id="_MFIbIZLHEeGc3OFlLS8sJA" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
+          <styles xsi:type="notation:FontStyle" xmi:id="_MFIbIpLHEeGc3OFlLS8sJA"/>
+          <styles xsi:type="notation:BooleanValueStyle" xmi:id="_MFLecJLHEeGc3OFlLS8sJA"/>
+          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_MFLecZLHEeGc3OFlLS8sJA" x="70" y="79"/>
+        </children>
+        <children xmi:id="_P5alEJLHEeGc3OFlLS8sJA" type="State" element="_P5KGYJLHEeGc3OFlLS8sJA">
+          <children xsi:type="notation:DecorationNode" xmi:id="_P5bzMJLHEeGc3OFlLS8sJA" type="StateName">
+            <styles xsi:type="notation:ShapeStyle" xmi:id="_P5bzMZLHEeGc3OFlLS8sJA"/>
+            <layoutConstraint xsi:type="notation:Location" xmi:id="_P5caQJLHEeGc3OFlLS8sJA"/>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_P5caQZLHEeGc3OFlLS8sJA" type="StateTextCompartment">
+            <children xsi:type="notation:Shape" xmi:id="_P5caQpLHEeGc3OFlLS8sJA" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
+              <layoutConstraint xsi:type="notation:Bounds" xmi:id="_P5caQ5LHEeGc3OFlLS8sJA"/>
+            </children>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_P5dBUJLHEeGc3OFlLS8sJA" type="StateFigureCompartment"/>
+          <styles xsi:type="notation:ShapeStyle" xmi:id="_P5alEZLHEeGc3OFlLS8sJA" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
+          <styles xsi:type="notation:FontStyle" xmi:id="_P5alEpLHEeGc3OFlLS8sJA"/>
+          <styles xsi:type="notation:BooleanValueStyle" xmi:id="_P5dBUZLHEeGc3OFlLS8sJA"/>
+          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_P5alE5LHEeGc3OFlLS8sJA" x="234" y="82"/>
+        </children>
+        <layoutConstraint xsi:type="notation:Bounds" xmi:id="_MFC7kZLHEeGc3OFlLS8sJA"/>
+      </children>
+      <styles xsi:type="notation:ShapeStyle" xmi:id="_MEgJAZLHEeGc3OFlLS8sJA" fontName="Verdana" fillColor="15790320" lineColor="12632256"/>
+      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_MFEwwJLHEeGc3OFlLS8sJA" x="220" y="10" width="400" height="400"/>
+    </children>
+    <children xsi:type="notation:Shape" xmi:id="_MFQ-AJLHEeGc3OFlLS8sJA" type="StatechartText" fontName="Verdana" lineColor="4210752">
+      <children xsi:type="notation:DecorationNode" xmi:id="_MFRlEJLHEeGc3OFlLS8sJA" type="StatechartName">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_MFRlEZLHEeGc3OFlLS8sJA"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_MFRlEpLHEeGc3OFlLS8sJA"/>
+      </children>
+      <children xsi:type="notation:Shape" xmi:id="_MFRlE5LHEeGc3OFlLS8sJA" type="StatechartTextExpression" fontName="Verdana" lineColor="4210752">
+        <layoutConstraint xsi:type="notation:Bounds" xmi:id="_MFRlFJLHEeGc3OFlLS8sJA"/>
+      </children>
+      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_MFSzMJLHEeGc3OFlLS8sJA" x="10" y="10" width="200" height="400"/>
+    </children>
+    <styles xsi:type="notation:DiagramStyle" xmi:id="_METUsJLHEeGc3OFlLS8sJA"/>
+    <edges xmi:id="_MFOhwJLHEeGc3OFlLS8sJA" type="Transition" element="_MFMFgJLHEeGc3OFlLS8sJA" source="_MFFX0JLHEeGc3OFlLS8sJA" target="_MFIbIJLHEeGc3OFlLS8sJA">
+      <children xsi:type="notation:DecorationNode" xmi:id="_MFPv4JLHEeGc3OFlLS8sJA" type="TransitionExpression">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_MFPv4ZLHEeGc3OFlLS8sJA"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_MFPv4pLHEeGc3OFlLS8sJA" y="10"/>
+      </children>
+      <styles xsi:type="notation:ConnectorStyle" xmi:id="_MFOhwZLHEeGc3OFlLS8sJA" lineColor="4210752"/>
+      <styles xsi:type="notation:FontStyle" xmi:id="_MFPI0JLHEeGc3OFlLS8sJA" fontName="Verdana"/>
+      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_MFOhwpLHEeGc3OFlLS8sJA" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
+    </edges>
+    <edges xmi:id="_QfVVkJLHEeGc3OFlLS8sJA" type="Transition" element="_QfOn4JLHEeGc3OFlLS8sJA" source="_MFIbIJLHEeGc3OFlLS8sJA" target="_P5alEJLHEeGc3OFlLS8sJA">
+      <children xsi:type="notation:DecorationNode" xmi:id="_QfV8oZLHEeGc3OFlLS8sJA" type="TransitionExpression">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_QfV8opLHEeGc3OFlLS8sJA"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_QfWjsJLHEeGc3OFlLS8sJA" y="10"/>
+      </children>
+      <styles xsi:type="notation:ConnectorStyle" xmi:id="_QfVVkZLHEeGc3OFlLS8sJA" lineColor="4210752"/>
+      <styles xsi:type="notation:FontStyle" xmi:id="_QfV8oJLHEeGc3OFlLS8sJA" fontName="Verdana"/>
+      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_QfVVkpLHEeGc3OFlLS8sJA" points="[33, 2, -146, -11]$[174, -12, -5, -25]"/>
+      <sourceAnchor xsi:type="notation:IdentityAnchor" xmi:id="_QfjYAJLHEeGc3OFlLS8sJA" id="(0.075,0.30357142857142855)"/>
+    </edges>
+  </notation:Diagram>
+</xmi:XMI>

+ 158 - 0
test-plugins/org.yakindu.sct.test.models/testmodels/SimpleHierachy.sct

@@ -0,0 +1,158 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:sgraph="http://www.yakindu.org/sct/sgraph/2.0.0">
+  <sgraph:Statechart xmi:id="_7tWuQHNzEeGtAMDjlTj9eQ" specification="internal:&#xD;&#xA;event Event1 : void" name="SimpleHierachy">
+    <regions xmi:id="_7tYjcnNzEeGtAMDjlTj9eQ" name="main region">
+      <vertices xsi:type="sgraph:Entry" xmi:id="_7tbmwXNzEeGtAMDjlTj9eQ">
+        <outgoingTransitions xmi:id="_7tiUcXNzEeGtAMDjlTj9eQ" target="_7teqEHNzEeGtAMDjlTj9eQ"/>
+      </vertices>
+      <vertices xsi:type="sgraph:State" xmi:id="_7teqEHNzEeGtAMDjlTj9eQ" name="A" incomingTransitions="_7tiUcXNzEeGtAMDjlTj9eQ">
+        <outgoingTransitions xmi:id="_9lmCQHNzEeGtAMDjlTj9eQ" specification="Event1" target="_8YlckHNzEeGtAMDjlTj9eQ"/>
+      </vertices>
+      <vertices xsi:type="sgraph:State" xmi:id="_8YlckHNzEeGtAMDjlTj9eQ" name="B" incomingTransitions="_9lmCQHNzEeGtAMDjlTj9eQ">
+        <regions xmi:id="_-bcsMHNzEeGtAMDjlTj9eQ" name="subregion1">
+          <vertices xsi:type="sgraph:State" xmi:id="_EUXAUHN0EeGtAMDjlTj9eQ" name="B1" incomingTransitions="_GE5J0HN0EeGtAMDjlTj9eQ"/>
+          <vertices xsi:type="sgraph:Entry" xmi:id="_Fq8_0HN0EeGtAMDjlTj9eQ">
+            <outgoingTransitions xmi:id="_GE5J0HN0EeGtAMDjlTj9eQ" specification="" target="_EUXAUHN0EeGtAMDjlTj9eQ"/>
+          </vertices>
+        </regions>
+      </vertices>
+    </regions>
+  </sgraph:Statechart>
+  <notation:Diagram xmi:id="_7tYjcHNzEeGtAMDjlTj9eQ" type="org.yakindu.sct.ui.editor.editor.StatechartDiagramEditor" element="_7tWuQHNzEeGtAMDjlTj9eQ" measurementUnit="Pixel">
+    <children xmi:id="_7tYjc3NzEeGtAMDjlTj9eQ" type="Region" element="_7tYjcnNzEeGtAMDjlTj9eQ">
+      <children xsi:type="notation:DecorationNode" xmi:id="_7tZxkHNzEeGtAMDjlTj9eQ" type="RegionName">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_7tZxkXNzEeGtAMDjlTj9eQ"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_7tZxknNzEeGtAMDjlTj9eQ"/>
+      </children>
+      <children xsi:type="notation:Shape" xmi:id="_7ta_sHNzEeGtAMDjlTj9eQ" type="RegionCompartment" fontName="Verdana" lineColor="4210752">
+        <children xmi:id="_7tcN0HNzEeGtAMDjlTj9eQ" type="Entry" element="_7tbmwXNzEeGtAMDjlTj9eQ">
+          <children xmi:id="_7tdb8HNzEeGtAMDjlTj9eQ" type="BorderItemLabelContainer">
+            <children xsi:type="notation:DecorationNode" xmi:id="_7teDAHNzEeGtAMDjlTj9eQ" type="BorderItemLabel">
+              <styles xsi:type="notation:ShapeStyle" xmi:id="_7teDAXNzEeGtAMDjlTj9eQ"/>
+              <layoutConstraint xsi:type="notation:Location" xmi:id="_7teDAnNzEeGtAMDjlTj9eQ"/>
+            </children>
+            <styles xsi:type="notation:ShapeStyle" xmi:id="_7tdb8XNzEeGtAMDjlTj9eQ" fontName="Verdana" lineColor="4210752"/>
+            <layoutConstraint xsi:type="notation:Bounds" xmi:id="_7tdb8nNzEeGtAMDjlTj9eQ"/>
+          </children>
+          <styles xsi:type="notation:ShapeStyle" xmi:id="_7tcN0XNzEeGtAMDjlTj9eQ" fontName="Verdana" lineColor="4210752"/>
+          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_7teDA3NzEeGtAMDjlTj9eQ" x="70" y="20"/>
+        </children>
+        <children xmi:id="_7tfRIHNzEeGtAMDjlTj9eQ" type="State" element="_7teqEHNzEeGtAMDjlTj9eQ">
+          <children xsi:type="notation:DecorationNode" xmi:id="_7tgfQHNzEeGtAMDjlTj9eQ" type="StateName">
+            <styles xsi:type="notation:ShapeStyle" xmi:id="_7tgfQXNzEeGtAMDjlTj9eQ"/>
+            <layoutConstraint xsi:type="notation:Location" xmi:id="_7tgfQnNzEeGtAMDjlTj9eQ"/>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_7tgfQ3NzEeGtAMDjlTj9eQ" type="StateTextCompartment">
+            <children xsi:type="notation:Shape" xmi:id="_7tgfRHNzEeGtAMDjlTj9eQ" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
+              <layoutConstraint xsi:type="notation:Bounds" xmi:id="_7tgfRXNzEeGtAMDjlTj9eQ"/>
+            </children>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_7thtYHNzEeGtAMDjlTj9eQ" type="StateFigureCompartment"/>
+          <styles xsi:type="notation:ShapeStyle" xmi:id="_7tfRIXNzEeGtAMDjlTj9eQ" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
+          <styles xsi:type="notation:FontStyle" xmi:id="_7tfRInNzEeGtAMDjlTj9eQ"/>
+          <styles xsi:type="notation:BooleanValueStyle" xmi:id="_7thtYXNzEeGtAMDjlTj9eQ"/>
+          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_7tiUcHNzEeGtAMDjlTj9eQ" x="10" y="94" width="140" height="115"/>
+        </children>
+        <children xmi:id="_8Yof4HNzEeGtAMDjlTj9eQ" type="State" element="_8YlckHNzEeGtAMDjlTj9eQ">
+          <children xsi:type="notation:DecorationNode" xmi:id="_8YpuAHNzEeGtAMDjlTj9eQ" type="StateName">
+            <styles xsi:type="notation:ShapeStyle" xmi:id="_8YpuAXNzEeGtAMDjlTj9eQ"/>
+            <layoutConstraint xsi:type="notation:Location" xmi:id="_8YpuAnNzEeGtAMDjlTj9eQ"/>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_8YpuA3NzEeGtAMDjlTj9eQ" type="StateTextCompartment">
+            <children xsi:type="notation:Shape" xmi:id="_8YqVEHNzEeGtAMDjlTj9eQ" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
+              <layoutConstraint xsi:type="notation:Bounds" xmi:id="_8YqVEXNzEeGtAMDjlTj9eQ"/>
+            </children>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_8Yq8IHNzEeGtAMDjlTj9eQ" type="StateFigureCompartment">
+            <children xmi:id="_-behYHNzEeGtAMDjlTj9eQ" type="Region" element="_-bcsMHNzEeGtAMDjlTj9eQ">
+              <children xsi:type="notation:DecorationNode" xmi:id="_-bfvgHNzEeGtAMDjlTj9eQ" type="RegionName">
+                <styles xsi:type="notation:ShapeStyle" xmi:id="_-bfvgXNzEeGtAMDjlTj9eQ"/>
+                <layoutConstraint xsi:type="notation:Location" xmi:id="_-bfvgnNzEeGtAMDjlTj9eQ"/>
+              </children>
+              <children xsi:type="notation:Shape" xmi:id="_-bgWkHNzEeGtAMDjlTj9eQ" type="RegionCompartment" fontName="Verdana" lineColor="4210752">
+                <children xmi:id="_EUY1gHN0EeGtAMDjlTj9eQ" type="State" element="_EUXAUHN0EeGtAMDjlTj9eQ">
+                  <children xsi:type="notation:DecorationNode" xmi:id="_EUaDoHN0EeGtAMDjlTj9eQ" type="StateName">
+                    <styles xsi:type="notation:ShapeStyle" xmi:id="_EUaDoXN0EeGtAMDjlTj9eQ"/>
+                    <layoutConstraint xsi:type="notation:Location" xmi:id="_EUaqsHN0EeGtAMDjlTj9eQ"/>
+                  </children>
+                  <children xsi:type="notation:Compartment" xmi:id="_EUaqsXN0EeGtAMDjlTj9eQ" type="StateTextCompartment">
+                    <children xsi:type="notation:Shape" xmi:id="_EUaqsnN0EeGtAMDjlTj9eQ" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
+                      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_EUaqs3N0EeGtAMDjlTj9eQ"/>
+                    </children>
+                  </children>
+                  <children xsi:type="notation:Compartment" xmi:id="_EUb40HN0EeGtAMDjlTj9eQ" type="StateFigureCompartment"/>
+                  <styles xsi:type="notation:ShapeStyle" xmi:id="_EUY1gXN0EeGtAMDjlTj9eQ" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
+                  <styles xsi:type="notation:FontStyle" xmi:id="_EUY1gnN0EeGtAMDjlTj9eQ"/>
+                  <styles xsi:type="notation:BooleanValueStyle" xmi:id="_EUb40XN0EeGtAMDjlTj9eQ"/>
+                  <layoutConstraint xsi:type="notation:Bounds" xmi:id="_EUY1g3N0EeGtAMDjlTj9eQ" x="133" y="33"/>
+                </children>
+                <children xmi:id="_Fq_cEHN0EeGtAMDjlTj9eQ" type="Entry" element="_Fq8_0HN0EeGtAMDjlTj9eQ">
+                  <children xmi:id="_FrAqMHN0EeGtAMDjlTj9eQ" type="BorderItemLabelContainer">
+                    <children xsi:type="notation:DecorationNode" xmi:id="_FrB4UHN0EeGtAMDjlTj9eQ" type="BorderItemLabel">
+                      <styles xsi:type="notation:ShapeStyle" xmi:id="_FrB4UXN0EeGtAMDjlTj9eQ"/>
+                      <layoutConstraint xsi:type="notation:Location" xmi:id="_FrB4UnN0EeGtAMDjlTj9eQ"/>
+                    </children>
+                    <styles xsi:type="notation:ShapeStyle" xmi:id="_FrAqMXN0EeGtAMDjlTj9eQ" fontName="Verdana" lineColor="4210752"/>
+                    <layoutConstraint xsi:type="notation:Bounds" xmi:id="_FrAqMnN0EeGtAMDjlTj9eQ"/>
+                  </children>
+                  <styles xsi:type="notation:ShapeStyle" xmi:id="_Fq_cEXN0EeGtAMDjlTj9eQ" fontName="Verdana" lineColor="4210752"/>
+                  <layoutConstraint xsi:type="notation:Bounds" xmi:id="_Fq_cEnN0EeGtAMDjlTj9eQ" x="26" y="51"/>
+                </children>
+                <layoutConstraint xsi:type="notation:Bounds" xmi:id="_-bgWkXNzEeGtAMDjlTj9eQ"/>
+              </children>
+              <styles xsi:type="notation:ShapeStyle" xmi:id="_-behYXNzEeGtAMDjlTj9eQ" fontName="Verdana" fillColor="15790320" lineColor="12632256"/>
+              <layoutConstraint xsi:type="notation:Bounds" xmi:id="_-behYnNzEeGtAMDjlTj9eQ"/>
+            </children>
+          </children>
+          <styles xsi:type="notation:ShapeStyle" xmi:id="_8Yof4XNzEeGtAMDjlTj9eQ" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
+          <styles xsi:type="notation:FontStyle" xmi:id="_8Yof4nNzEeGtAMDjlTj9eQ"/>
+          <styles xsi:type="notation:BooleanValueStyle" xmi:id="_8Yq8IXNzEeGtAMDjlTj9eQ"/>
+          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_8Yof43NzEeGtAMDjlTj9eQ" x="229" y="20" width="246" height="236"/>
+        </children>
+        <layoutConstraint xsi:type="notation:Bounds" xmi:id="_7ta_sXNzEeGtAMDjlTj9eQ"/>
+      </children>
+      <styles xsi:type="notation:ShapeStyle" xmi:id="_7tYjdHNzEeGtAMDjlTj9eQ" fontName="Verdana" fillColor="15790320" lineColor="12632256"/>
+      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_7tbmwHNzEeGtAMDjlTj9eQ" x="220" y="10" width="521" height="306"/>
+    </children>
+    <children xsi:type="notation:Shape" xmi:id="_7tkJoHNzEeGtAMDjlTj9eQ" type="StatechartText" fontName="Verdana" lineColor="4210752">
+      <children xsi:type="notation:DecorationNode" xmi:id="_7tkwsHNzEeGtAMDjlTj9eQ" type="StatechartName">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_7tkwsXNzEeGtAMDjlTj9eQ"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_7tlXwHNzEeGtAMDjlTj9eQ"/>
+      </children>
+      <children xsi:type="notation:Shape" xmi:id="_7tlXwXNzEeGtAMDjlTj9eQ" type="StatechartTextExpression" fontName="Verdana" lineColor="4210752">
+        <layoutConstraint xsi:type="notation:Bounds" xmi:id="_7tlXwnNzEeGtAMDjlTj9eQ"/>
+      </children>
+      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_7tl-0HNzEeGtAMDjlTj9eQ" x="10" y="10" width="200" height="306"/>
+    </children>
+    <styles xsi:type="notation:DiagramStyle" xmi:id="_7tYjcXNzEeGtAMDjlTj9eQ"/>
+    <edges xmi:id="_7ti7gHNzEeGtAMDjlTj9eQ" type="Transition" element="_7tiUcXNzEeGtAMDjlTj9eQ" source="_7tcN0HNzEeGtAMDjlTj9eQ" target="_7tfRIHNzEeGtAMDjlTj9eQ">
+      <children xsi:type="notation:DecorationNode" xmi:id="_7tjikXNzEeGtAMDjlTj9eQ" type="TransitionExpression">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_7tjiknNzEeGtAMDjlTj9eQ"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_7tjik3NzEeGtAMDjlTj9eQ" y="10"/>
+      </children>
+      <styles xsi:type="notation:ConnectorStyle" xmi:id="_7ti7gXNzEeGtAMDjlTj9eQ" lineColor="4210752"/>
+      <styles xsi:type="notation:FontStyle" xmi:id="_7tjikHNzEeGtAMDjlTj9eQ" fontName="Verdana"/>
+      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_7ti7gnNzEeGtAMDjlTj9eQ" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
+    </edges>
+    <edges xmi:id="_9loegHNzEeGtAMDjlTj9eQ" type="Transition" element="_9lmCQHNzEeGtAMDjlTj9eQ" source="_7tfRIHNzEeGtAMDjlTj9eQ" target="_8Yof4HNzEeGtAMDjlTj9eQ">
+      <children xsi:type="notation:DecorationNode" xmi:id="_9lpsoHNzEeGtAMDjlTj9eQ" type="TransitionExpression">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_9lpsoXNzEeGtAMDjlTj9eQ"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_9lpsonNzEeGtAMDjlTj9eQ" y="10"/>
+      </children>
+      <styles xsi:type="notation:ConnectorStyle" xmi:id="_9loegXNzEeGtAMDjlTj9eQ" lineColor="4210752"/>
+      <styles xsi:type="notation:FontStyle" xmi:id="_9lpFkHNzEeGtAMDjlTj9eQ" fontName="Verdana"/>
+      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_9loegnNzEeGtAMDjlTj9eQ" points="[60, 1, -74, -6]$[131, -18, -3, -25]"/>
+      <sourceAnchor xsi:type="notation:IdentityAnchor" xmi:id="_9m1_cHNzEeGtAMDjlTj9eQ" id="(0.9357142857142857,0.41739130434782606)"/>
+    </edges>
+    <edges xmi:id="_GE7mEHN0EeGtAMDjlTj9eQ" type="Transition" element="_GE5J0HN0EeGtAMDjlTj9eQ" source="_Fq_cEHN0EeGtAMDjlTj9eQ" target="_EUY1gHN0EeGtAMDjlTj9eQ">
+      <children xsi:type="notation:DecorationNode" xmi:id="_GE80MHN0EeGtAMDjlTj9eQ" type="TransitionExpression">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_GE80MXN0EeGtAMDjlTj9eQ"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_GE80MnN0EeGtAMDjlTj9eQ" y="10"/>
+      </children>
+      <styles xsi:type="notation:ConnectorStyle" xmi:id="_GE7mEXN0EeGtAMDjlTj9eQ" lineColor="4210752"/>
+      <styles xsi:type="notation:FontStyle" xmi:id="_GE8NIHN0EeGtAMDjlTj9eQ" fontName="Verdana"/>
+      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_GE7mEnN0EeGtAMDjlTj9eQ" points="[7, 0, -97, 5]$[106, -15, 2, -10]"/>
+      <targetAnchor xsi:type="notation:IdentityAnchor" xmi:id="_GGGDsHN0EeGtAMDjlTj9eQ" id="(0.1,0.4642857142857143)"/>
+    </edges>
+  </notation:Diagram>
+</xmi:XMI>

+ 185 - 0
test-plugins/org.yakindu.sct.test.models/testmodels/StateIsActive.sct

@@ -0,0 +1,185 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:sgraph="http://www.yakindu.org/sct/sgraph/2.0.0">
+  <sgraph:Statechart xmi:id="_lq1DEXjVEeGKl8JlHfi_Yg" specification="internal:&#xD;&#xA;event Event1 : integer" name="StateIsActiveTest">
+    <regions xmi:id="_lsG1cHjVEeGKl8JlHfi_Yg" name="R1">
+      <vertices xsi:type="sgraph:Entry" xmi:id="_lsyx8HjVEeGKl8JlHfi_Yg">
+        <outgoingTransitions xmi:id="_ltBbcHjVEeGKl8JlHfi_Yg" target="_ls2cUHjVEeGKl8JlHfi_Yg"/>
+      </vertices>
+      <vertices xsi:type="sgraph:State" xmi:id="_ls2cUHjVEeGKl8JlHfi_Yg" name="R1A" incomingTransitions="_ltBbcHjVEeGKl8JlHfi_Yg">
+        <outgoingTransitions xmi:id="_6nFakHjVEeGKl8JlHfi_Yg" specification="[active(StateIsActiveTest.R2.R2B)]" target="_41ycEHjVEeGKl8JlHfi_Yg"/>
+      </vertices>
+      <vertices xsi:type="sgraph:State" xmi:id="_41ycEHjVEeGKl8JlHfi_Yg" name="R1B" incomingTransitions="_6nFakHjVEeGKl8JlHfi_Yg"/>
+    </regions>
+    <regions xmi:id="_EF8hsHjWEeGKl8JlHfi_Yg" name="R2">
+      <vertices xsi:type="sgraph:Entry" xmi:id="_E-U7MHjWEeGKl8JlHfi_Yg">
+        <outgoingTransitions xmi:id="_F1MRwHjWEeGKl8JlHfi_Yg" specification="" target="_FVbzoHjWEeGKl8JlHfi_Yg"/>
+      </vertices>
+      <vertices xsi:type="sgraph:State" xmi:id="_FVbzoHjWEeGKl8JlHfi_Yg" name="R2A" incomingTransitions="_F1MRwHjWEeGKl8JlHfi_Yg">
+        <outgoingTransitions xmi:id="_KwaOkHjWEeGKl8JlHfi_Yg" specification="Event1" target="_Jk9IEHjWEeGKl8JlHfi_Yg"/>
+      </vertices>
+      <vertices xsi:type="sgraph:State" xmi:id="_Jk9IEHjWEeGKl8JlHfi_Yg" name="R2B" incomingTransitions="_KwaOkHjWEeGKl8JlHfi_Yg"/>
+    </regions>
+  </sgraph:Statechart>
+  <notation:Diagram xmi:id="_lsFAQHjVEeGKl8JlHfi_Yg" type="org.yakindu.sct.ui.editor.editor.StatechartDiagramEditor" element="_lq1DEXjVEeGKl8JlHfi_Yg" measurementUnit="Pixel">
+    <children xmi:id="_lsRNgHjVEeGKl8JlHfi_Yg" type="Region" element="_lsG1cHjVEeGKl8JlHfi_Yg">
+      <children xsi:type="notation:DecorationNode" xmi:id="_lstSYHjVEeGKl8JlHfi_Yg" type="RegionName">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_lstSYXjVEeGKl8JlHfi_Yg"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_lst5cHjVEeGKl8JlHfi_Yg"/>
+      </children>
+      <children xsi:type="notation:Shape" xmi:id="_lsvuoHjVEeGKl8JlHfi_Yg" type="RegionCompartment" fontName="Verdana" lineColor="4210752">
+        <children xmi:id="_lszZAHjVEeGKl8JlHfi_Yg" type="Entry" element="_lsyx8HjVEeGKl8JlHfi_Yg">
+          <children xmi:id="_ls0AEHjVEeGKl8JlHfi_Yg" type="BorderItemLabelContainer">
+            <children xsi:type="notation:DecorationNode" xmi:id="_ls0nIHjVEeGKl8JlHfi_Yg" type="BorderItemLabel">
+              <styles xsi:type="notation:ShapeStyle" xmi:id="_ls0nIXjVEeGKl8JlHfi_Yg"/>
+              <layoutConstraint xsi:type="notation:Location" xmi:id="_ls0nInjVEeGKl8JlHfi_Yg"/>
+            </children>
+            <styles xsi:type="notation:ShapeStyle" xmi:id="_ls0AEXjVEeGKl8JlHfi_Yg" fontName="Verdana" lineColor="4210752"/>
+            <layoutConstraint xsi:type="notation:Bounds" xmi:id="_ls0AEnjVEeGKl8JlHfi_Yg"/>
+          </children>
+          <styles xsi:type="notation:ShapeStyle" xmi:id="_lszZAXjVEeGKl8JlHfi_Yg" fontName="Verdana" lineColor="4210752"/>
+          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_ls0nI3jVEeGKl8JlHfi_Yg" x="57" y="9"/>
+        </children>
+        <children xmi:id="_ls6twHjVEeGKl8JlHfi_Yg" type="State" element="_ls2cUHjVEeGKl8JlHfi_Yg">
+          <children xsi:type="notation:DecorationNode" xmi:id="_ls7U0HjVEeGKl8JlHfi_Yg" type="StateName">
+            <styles xsi:type="notation:ShapeStyle" xmi:id="_ls7U0XjVEeGKl8JlHfi_Yg"/>
+            <layoutConstraint xsi:type="notation:Location" xmi:id="_ls7U0njVEeGKl8JlHfi_Yg"/>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_ls9xEHjVEeGKl8JlHfi_Yg" type="StateTextCompartment">
+            <children xsi:type="notation:Shape" xmi:id="_ls9xEXjVEeGKl8JlHfi_Yg" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
+              <layoutConstraint xsi:type="notation:Bounds" xmi:id="_ls-YIHjVEeGKl8JlHfi_Yg"/>
+            </children>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_ls-YIXjVEeGKl8JlHfi_Yg" type="StateFigureCompartment"/>
+          <styles xsi:type="notation:ShapeStyle" xmi:id="_ls6twXjVEeGKl8JlHfi_Yg" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
+          <styles xsi:type="notation:FontStyle" xmi:id="_ls6twnjVEeGKl8JlHfi_Yg"/>
+          <styles xsi:type="notation:BooleanValueStyle" xmi:id="_ls_mQHjVEeGKl8JlHfi_Yg"/>
+          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_ltANUHjVEeGKl8JlHfi_Yg" x="34" y="44" width="66"/>
+        </children>
+        <children xmi:id="_42FXAHjVEeGKl8JlHfi_Yg" type="State" element="_41ycEHjVEeGKl8JlHfi_Yg">
+          <children xsi:type="notation:DecorationNode" xmi:id="_42GlIHjVEeGKl8JlHfi_Yg" type="StateName">
+            <styles xsi:type="notation:ShapeStyle" xmi:id="_42GlIXjVEeGKl8JlHfi_Yg"/>
+            <layoutConstraint xsi:type="notation:Location" xmi:id="_42HMMHjVEeGKl8JlHfi_Yg"/>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_42HMMXjVEeGKl8JlHfi_Yg" type="StateTextCompartment">
+            <children xsi:type="notation:Shape" xmi:id="_42HzQHjVEeGKl8JlHfi_Yg" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
+              <layoutConstraint xsi:type="notation:Bounds" xmi:id="_42HzQXjVEeGKl8JlHfi_Yg"/>
+            </children>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_42IaUHjVEeGKl8JlHfi_Yg" type="StateFigureCompartment"/>
+          <styles xsi:type="notation:ShapeStyle" xmi:id="_42FXAXjVEeGKl8JlHfi_Yg" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
+          <styles xsi:type="notation:FontStyle" xmi:id="_42FXAnjVEeGKl8JlHfi_Yg"/>
+          <styles xsi:type="notation:BooleanValueStyle" xmi:id="_42IaUXjVEeGKl8JlHfi_Yg"/>
+          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_42FXA3jVEeGKl8JlHfi_Yg" x="169" y="44" width="63"/>
+        </children>
+        <layoutConstraint xsi:type="notation:Bounds" xmi:id="_lsvuoXjVEeGKl8JlHfi_Yg"/>
+      </children>
+      <styles xsi:type="notation:ShapeStyle" xmi:id="_lsRNgXjVEeGKl8JlHfi_Yg" fontName="Verdana" fillColor="15790320" lineColor="12632256"/>
+      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_lsw8wHjVEeGKl8JlHfi_Yg" x="220" y="10" width="276" height="156"/>
+    </children>
+    <children xsi:type="notation:Shape" xmi:id="_ltdgUHjVEeGKl8JlHfi_Yg" type="StatechartText" fontName="Verdana" lineColor="4210752">
+      <children xsi:type="notation:DecorationNode" xmi:id="_lteucHjVEeGKl8JlHfi_Yg" type="StatechartName">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_lteucXjVEeGKl8JlHfi_Yg"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_lteucnjVEeGKl8JlHfi_Yg"/>
+      </children>
+      <children xsi:type="notation:Shape" xmi:id="_lteuc3jVEeGKl8JlHfi_Yg" type="StatechartTextExpression" fontName="Verdana" lineColor="4210752">
+        <layoutConstraint xsi:type="notation:Bounds" xmi:id="_lteudHjVEeGKl8JlHfi_Yg"/>
+      </children>
+      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_ltfVgHjVEeGKl8JlHfi_Yg" x="10" y="10" width="211" height="156"/>
+    </children>
+    <children xmi:id="_EGCBQHjWEeGKl8JlHfi_Yg" type="Region" element="_EF8hsHjWEeGKl8JlHfi_Yg">
+      <children xsi:type="notation:DecorationNode" xmi:id="_EGDPYHjWEeGKl8JlHfi_Yg" type="RegionName">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_EGDPYXjWEeGKl8JlHfi_Yg"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_EGDPYnjWEeGKl8JlHfi_Yg"/>
+      </children>
+      <children xsi:type="notation:Shape" xmi:id="_EGEdgHjWEeGKl8JlHfi_Yg" type="RegionCompartment" fontName="Verdana" lineColor="4210752">
+        <children xmi:id="_E-ky0HjWEeGKl8JlHfi_Yg" type="Entry" element="_E-U7MHjWEeGKl8JlHfi_Yg">
+          <children xmi:id="_E-mA8HjWEeGKl8JlHfi_Yg" type="BorderItemLabelContainer">
+            <children xsi:type="notation:DecorationNode" xmi:id="_E-moAHjWEeGKl8JlHfi_Yg" type="BorderItemLabel">
+              <styles xsi:type="notation:ShapeStyle" xmi:id="_E-moAXjWEeGKl8JlHfi_Yg"/>
+              <layoutConstraint xsi:type="notation:Location" xmi:id="_E-moAnjWEeGKl8JlHfi_Yg"/>
+            </children>
+            <styles xsi:type="notation:ShapeStyle" xmi:id="_E-mA8XjWEeGKl8JlHfi_Yg" fontName="Verdana" lineColor="4210752"/>
+            <layoutConstraint xsi:type="notation:Bounds" xmi:id="_E-mA8njWEeGKl8JlHfi_Yg"/>
+          </children>
+          <styles xsi:type="notation:ShapeStyle" xmi:id="_E-ky0XjWEeGKl8JlHfi_Yg" fontName="Verdana" lineColor="4210752"/>
+          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_E-ky0njWEeGKl8JlHfi_Yg" x="53" y="9"/>
+        </children>
+        <children xmi:id="_FVyY8HjWEeGKl8JlHfi_Yg" type="State" element="_FVbzoHjWEeGKl8JlHfi_Yg">
+          <children xsi:type="notation:DecorationNode" xmi:id="_FVznEHjWEeGKl8JlHfi_Yg" type="StateName">
+            <styles xsi:type="notation:ShapeStyle" xmi:id="_FVznEXjWEeGKl8JlHfi_Yg"/>
+            <layoutConstraint xsi:type="notation:Location" xmi:id="_FV0OIHjWEeGKl8JlHfi_Yg"/>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_FV0OIXjWEeGKl8JlHfi_Yg" type="StateTextCompartment">
+            <children xsi:type="notation:Shape" xmi:id="_FV01MHjWEeGKl8JlHfi_Yg" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
+              <layoutConstraint xsi:type="notation:Bounds" xmi:id="_FV01MXjWEeGKl8JlHfi_Yg"/>
+            </children>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_FV1cQHjWEeGKl8JlHfi_Yg" type="StateFigureCompartment"/>
+          <styles xsi:type="notation:ShapeStyle" xmi:id="_FVyY8XjWEeGKl8JlHfi_Yg" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
+          <styles xsi:type="notation:FontStyle" xmi:id="_FVyY8njWEeGKl8JlHfi_Yg"/>
+          <styles xsi:type="notation:BooleanValueStyle" xmi:id="_FV1cQXjWEeGKl8JlHfi_Yg"/>
+          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_FVyY83jWEeGKl8JlHfi_Yg" x="29" y="52" width="69"/>
+        </children>
+        <children xmi:id="_JlON0HjWEeGKl8JlHfi_Yg" type="State" element="_Jk9IEHjWEeGKl8JlHfi_Yg">
+          <children xsi:type="notation:DecorationNode" xmi:id="_JlPb8HjWEeGKl8JlHfi_Yg" type="StateName">
+            <styles xsi:type="notation:ShapeStyle" xmi:id="_JlPb8XjWEeGKl8JlHfi_Yg"/>
+            <layoutConstraint xsi:type="notation:Location" xmi:id="_JlPb8njWEeGKl8JlHfi_Yg"/>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_JlPb83jWEeGKl8JlHfi_Yg" type="StateTextCompartment">
+            <children xsi:type="notation:Shape" xmi:id="_JlQDAHjWEeGKl8JlHfi_Yg" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
+              <layoutConstraint xsi:type="notation:Bounds" xmi:id="_JlQDAXjWEeGKl8JlHfi_Yg"/>
+            </children>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_JlQqEHjWEeGKl8JlHfi_Yg" type="StateFigureCompartment"/>
+          <styles xsi:type="notation:ShapeStyle" xmi:id="_JlON0XjWEeGKl8JlHfi_Yg" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
+          <styles xsi:type="notation:FontStyle" xmi:id="_JlON0njWEeGKl8JlHfi_Yg"/>
+          <styles xsi:type="notation:BooleanValueStyle" xmi:id="_JlRRIHjWEeGKl8JlHfi_Yg"/>
+          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_JlON03jWEeGKl8JlHfi_Yg" x="149" y="52" width="70"/>
+        </children>
+        <layoutConstraint xsi:type="notation:Bounds" xmi:id="_EGEdgXjWEeGKl8JlHfi_Yg"/>
+      </children>
+      <styles xsi:type="notation:ShapeStyle" xmi:id="_EGCBQXjWEeGKl8JlHfi_Yg" fontName="Verdana" fillColor="15790320" lineColor="12632256"/>
+      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_EGCBQnjWEeGKl8JlHfi_Yg" x="495" y="10" width="276" height="156"/>
+    </children>
+    <styles xsi:type="notation:DiagramStyle" xmi:id="_lsFnUHjVEeGKl8JlHfi_Yg"/>
+    <edges xmi:id="_ltLzgHjVEeGKl8JlHfi_Yg" type="Transition" element="_ltBbcHjVEeGKl8JlHfi_Yg" source="_lszZAHjVEeGKl8JlHfi_Yg" target="_ls6twHjVEeGKl8JlHfi_Yg">
+      <children xsi:type="notation:DecorationNode" xmi:id="_ltNBoHjVEeGKl8JlHfi_Yg" type="TransitionExpression">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_ltNBoXjVEeGKl8JlHfi_Yg"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_ltNBonjVEeGKl8JlHfi_Yg" y="10"/>
+      </children>
+      <styles xsi:type="notation:ConnectorStyle" xmi:id="_ltLzgXjVEeGKl8JlHfi_Yg" lineColor="4210752"/>
+      <styles xsi:type="notation:FontStyle" xmi:id="_ltMakHjVEeGKl8JlHfi_Yg" fontName="Verdana"/>
+      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_ltLzgnjVEeGKl8JlHfi_Yg" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
+    </edges>
+    <edges xmi:id="_6nMvUHjVEeGKl8JlHfi_Yg" type="Transition" element="_6nFakHjVEeGKl8JlHfi_Yg" source="_ls6twHjVEeGKl8JlHfi_Yg" target="_42FXAHjVEeGKl8JlHfi_Yg">
+      <children xsi:type="notation:DecorationNode" xmi:id="_6nNWYXjVEeGKl8JlHfi_Yg" type="TransitionExpression">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_6nNWYnjVEeGKl8JlHfi_Yg"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_6nN9cHjVEeGKl8JlHfi_Yg" x="-5" y="21"/>
+      </children>
+      <styles xsi:type="notation:ConnectorStyle" xmi:id="_6nMvUXjVEeGKl8JlHfi_Yg" lineColor="4210752"/>
+      <styles xsi:type="notation:FontStyle" xmi:id="_6nNWYHjVEeGKl8JlHfi_Yg" fontName="Verdana"/>
+      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_6nMvUnjVEeGKl8JlHfi_Yg" points="[18, -1, -111, 3]$[130, -25, 1, -21]"/>
+      <sourceAnchor xsi:type="notation:IdentityAnchor" xmi:id="_VHIKwHjWEeGKl8JlHfi_Yg" id="(0.9242424242424242,0.8032786885245902)"/>
+      <targetAnchor xsi:type="notation:IdentityAnchor" xmi:id="_6ncm8HjVEeGKl8JlHfi_Yg" id="(0.09523809523809523,0.8360655737704918)"/>
+    </edges>
+    <edges xmi:id="_F1ZGEHjWEeGKl8JlHfi_Yg" type="Transition" element="_F1MRwHjWEeGKl8JlHfi_Yg" source="_E-ky0HjWEeGKl8JlHfi_Yg" target="_FVyY8HjWEeGKl8JlHfi_Yg">
+      <children xsi:type="notation:DecorationNode" xmi:id="_F1ZtIHjWEeGKl8JlHfi_Yg" type="TransitionExpression">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_F1ZtIXjWEeGKl8JlHfi_Yg"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_F1ZtInjWEeGKl8JlHfi_Yg" y="10"/>
+      </children>
+      <styles xsi:type="notation:ConnectorStyle" xmi:id="_F1ZGEXjWEeGKl8JlHfi_Yg" lineColor="4210752"/>
+      <styles xsi:type="notation:FontStyle" xmi:id="_F1ZGE3jWEeGKl8JlHfi_Yg" fontName="Verdana"/>
+      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_F1ZGEnjWEeGKl8JlHfi_Yg" points="[1, 7, -2, -98]$[13, 80, 10, -25]"/>
+    </edges>
+    <edges xmi:id="_KwjYgHjWEeGKl8JlHfi_Yg" type="Transition" element="_KwaOkHjWEeGKl8JlHfi_Yg" source="_FVyY8HjWEeGKl8JlHfi_Yg" target="_JlON0HjWEeGKl8JlHfi_Yg">
+      <children xsi:type="notation:DecorationNode" xmi:id="_Kwj_kXjWEeGKl8JlHfi_Yg" type="TransitionExpression">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_Kwj_knjWEeGKl8JlHfi_Yg"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_KwkmoHjWEeGKl8JlHfi_Yg" y="10"/>
+      </children>
+      <styles xsi:type="notation:ConnectorStyle" xmi:id="_KwjYgXjWEeGKl8JlHfi_Yg" lineColor="4210752"/>
+      <styles xsi:type="notation:FontStyle" xmi:id="_Kwj_kHjWEeGKl8JlHfi_Yg" fontName="Verdana"/>
+      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_KwjYgnjWEeGKl8JlHfi_Yg" points="[32, -9, -76, 2]$[109, -26, 1, -15]"/>
+      <targetAnchor xsi:type="notation:IdentityAnchor" xmi:id="_Kw1FUHjWEeGKl8JlHfi_Yg" id="(0.15,0.30357142857142855)"/>
+    </edges>
+  </notation:Diagram>
+</xmi:XMI>

+ 167 - 0
test-plugins/org.yakindu.sct.test.models/testmodels/StatechartLocalReactions.sct

@@ -0,0 +1,167 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:sgraph="http://www.yakindu.org/sct/sgraph/2.0.0">
+  <sgraph:Statechart xmi:id="_RFTg0In9EeGKqoh-gt8EXQ" specification="internal:&#xD;&#xA;var myInt : integer&#xD;&#xA;oncycle / myInt+=1&#xD;&#xA;" name="StatechartLocalReactions">
+    <regions xmi:id="_RFWkIon9EeGKqoh-gt8EXQ" name="main region">
+      <vertices xsi:type="sgraph:Entry" xmi:id="_RGUNcIn9EeGKqoh-gt8EXQ">
+        <outgoingTransitions xmi:id="_RGfMkYn9EeGKqoh-gt8EXQ" target="_RGZtAYn9EeGKqoh-gt8EXQ"/>
+      </vertices>
+      <vertices xsi:type="sgraph:State" xmi:id="_RGZtAYn9EeGKqoh-gt8EXQ" name="S1" incomingTransitions="_RGfMkYn9EeGKqoh-gt8EXQ _UvZM8In9EeGKqoh-gt8EXQ">
+        <outgoingTransitions xmi:id="_TsF84In9EeGKqoh-gt8EXQ" specification="" target="_TB-B0In9EeGKqoh-gt8EXQ"/>
+      </vertices>
+      <vertices xsi:type="sgraph:State" xmi:id="_TB-B0In9EeGKqoh-gt8EXQ" name="S2" incomingTransitions="_TsF84In9EeGKqoh-gt8EXQ">
+        <outgoingTransitions xmi:id="_UvZM8In9EeGKqoh-gt8EXQ" specification="" target="_RGZtAYn9EeGKqoh-gt8EXQ"/>
+      </vertices>
+    </regions>
+    <regions xmi:id="_RZW2oI1dEeGmRdyimotffQ" name="region2">
+      <vertices xsi:type="sgraph:Entry" xmi:id="_S0APsI1dEeGmRdyimotffQ">
+        <outgoingTransitions xmi:id="_UVq2wI1dEeGmRdyimotffQ" specification="" target="_TOHY0I1dEeGmRdyimotffQ"/>
+      </vertices>
+      <vertices xsi:type="sgraph:State" xmi:id="_TOHY0I1dEeGmRdyimotffQ" name="a" incomingTransitions="_UVq2wI1dEeGmRdyimotffQ"/>
+    </regions>
+  </sgraph:Statechart>
+  <notation:Diagram xmi:id="_RFWkIIn9EeGKqoh-gt8EXQ" type="org.yakindu.sct.ui.editor.editor.StatechartDiagramEditor" element="_RFTg0In9EeGKqoh-gt8EXQ" measurementUnit="Pixel">
+    <children xmi:id="_RFixYIn9EeGKqoh-gt8EXQ" type="Region" element="_RFWkIon9EeGKqoh-gt8EXQ">
+      <children xsi:type="notation:DecorationNode" xmi:id="_RGQjEIn9EeGKqoh-gt8EXQ" type="RegionName">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_RGQjEYn9EeGKqoh-gt8EXQ"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_RGQjEon9EeGKqoh-gt8EXQ"/>
+      </children>
+      <children xsi:type="notation:Shape" xmi:id="_RGRKIIn9EeGKqoh-gt8EXQ" type="RegionCompartment" fontName="Verdana" lineColor="4210752">
+        <children xmi:id="_RGWCoIn9EeGKqoh-gt8EXQ" type="Entry" element="_RGUNcIn9EeGKqoh-gt8EXQ">
+          <children xmi:id="_RGYe4In9EeGKqoh-gt8EXQ" type="BorderItemLabelContainer">
+            <children xsi:type="notation:DecorationNode" xmi:id="_RGZF8In9EeGKqoh-gt8EXQ" type="BorderItemLabel">
+              <styles xsi:type="notation:ShapeStyle" xmi:id="_RGZF8Yn9EeGKqoh-gt8EXQ"/>
+              <layoutConstraint xsi:type="notation:Location" xmi:id="_RGZF8on9EeGKqoh-gt8EXQ"/>
+            </children>
+            <styles xsi:type="notation:ShapeStyle" xmi:id="_RGYe4Yn9EeGKqoh-gt8EXQ" fontName="Verdana" lineColor="4210752"/>
+            <layoutConstraint xsi:type="notation:Bounds" xmi:id="_RGYe4on9EeGKqoh-gt8EXQ"/>
+          </children>
+          <styles xsi:type="notation:ShapeStyle" xmi:id="_RGWCoYn9EeGKqoh-gt8EXQ" fontName="Verdana" lineColor="4210752"/>
+          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_RGZtAIn9EeGKqoh-gt8EXQ" x="70" y="20"/>
+        </children>
+        <children xmi:id="_RGbiMIn9EeGKqoh-gt8EXQ" type="State" element="_RGZtAYn9EeGKqoh-gt8EXQ">
+          <children xsi:type="notation:DecorationNode" xmi:id="_RGcJQIn9EeGKqoh-gt8EXQ" type="StateName">
+            <styles xsi:type="notation:ShapeStyle" xmi:id="_RGcJQYn9EeGKqoh-gt8EXQ"/>
+            <layoutConstraint xsi:type="notation:Location" xmi:id="_RGcJQon9EeGKqoh-gt8EXQ"/>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_RGdXYIn9EeGKqoh-gt8EXQ" type="StateTextCompartment">
+            <children xsi:type="notation:Shape" xmi:id="_RGdXYYn9EeGKqoh-gt8EXQ" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
+              <layoutConstraint xsi:type="notation:Bounds" xmi:id="_RGd-cIn9EeGKqoh-gt8EXQ"/>
+            </children>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_RGd-cYn9EeGKqoh-gt8EXQ" type="StateFigureCompartment"/>
+          <styles xsi:type="notation:ShapeStyle" xmi:id="_RGbiMYn9EeGKqoh-gt8EXQ" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
+          <styles xsi:type="notation:FontStyle" xmi:id="_RGbiMon9EeGKqoh-gt8EXQ"/>
+          <styles xsi:type="notation:BooleanValueStyle" xmi:id="_RGelgIn9EeGKqoh-gt8EXQ"/>
+          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_RGfMkIn9EeGKqoh-gt8EXQ" x="60" y="79"/>
+        </children>
+        <children xmi:id="_TCY4kIn9EeGKqoh-gt8EXQ" type="State" element="_TB-B0In9EeGKqoh-gt8EXQ">
+          <children xsi:type="notation:DecorationNode" xmi:id="_TCaGsIn9EeGKqoh-gt8EXQ" type="StateName">
+            <styles xsi:type="notation:ShapeStyle" xmi:id="_TCaGsYn9EeGKqoh-gt8EXQ"/>
+            <layoutConstraint xsi:type="notation:Location" xmi:id="_TCaGson9EeGKqoh-gt8EXQ"/>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_TCaGs4n9EeGKqoh-gt8EXQ" type="StateTextCompartment">
+            <children xsi:type="notation:Shape" xmi:id="_TCatwIn9EeGKqoh-gt8EXQ" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
+              <layoutConstraint xsi:type="notation:Bounds" xmi:id="_TCatwYn9EeGKqoh-gt8EXQ"/>
+            </children>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_TCbU0In9EeGKqoh-gt8EXQ" type="StateFigureCompartment"/>
+          <styles xsi:type="notation:ShapeStyle" xmi:id="_TCY4kYn9EeGKqoh-gt8EXQ" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
+          <styles xsi:type="notation:FontStyle" xmi:id="_TCY4kon9EeGKqoh-gt8EXQ"/>
+          <styles xsi:type="notation:BooleanValueStyle" xmi:id="_TCbU0Yn9EeGKqoh-gt8EXQ"/>
+          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_TCY4k4n9EeGKqoh-gt8EXQ" x="247" y="87"/>
+        </children>
+        <layoutConstraint xsi:type="notation:Bounds" xmi:id="_RGRKIYn9EeGKqoh-gt8EXQ"/>
+      </children>
+      <styles xsi:type="notation:ShapeStyle" xmi:id="_RFixYYn9EeGKqoh-gt8EXQ" fontName="Verdana" fillColor="15790320" lineColor="12632256"/>
+      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_RGTmYIn9EeGKqoh-gt8EXQ" x="220" y="10" width="400" height="196"/>
+    </children>
+    <children xsi:type="notation:Shape" xmi:id="_RGkFEIn9EeGKqoh-gt8EXQ" type="StatechartText" fontName="Verdana" lineColor="4210752">
+      <children xsi:type="notation:DecorationNode" xmi:id="_RGksIIn9EeGKqoh-gt8EXQ" type="StatechartName">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_RGksIYn9EeGKqoh-gt8EXQ"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_RGksIon9EeGKqoh-gt8EXQ"/>
+      </children>
+      <children xsi:type="notation:Shape" xmi:id="_RGlTMIn9EeGKqoh-gt8EXQ" type="StatechartTextExpression" fontName="Verdana" lineColor="4210752">
+        <layoutConstraint xsi:type="notation:Bounds" xmi:id="_RGlTMYn9EeGKqoh-gt8EXQ"/>
+      </children>
+      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_RGl6QIn9EeGKqoh-gt8EXQ" x="10" y="10" width="200" height="201"/>
+    </children>
+    <children xmi:id="_RZtb8I1dEeGmRdyimotffQ" type="Region" element="_RZW2oI1dEeGmRdyimotffQ">
+      <children xsi:type="notation:DecorationNode" xmi:id="_RZyUcI1dEeGmRdyimotffQ" type="RegionName">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_RZyUcY1dEeGmRdyimotffQ"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_RZyUco1dEeGmRdyimotffQ"/>
+      </children>
+      <children xsi:type="notation:Shape" xmi:id="_RZy7gI1dEeGmRdyimotffQ" type="RegionCompartment" fontName="Verdana" lineColor="4210752">
+        <children xmi:id="_S00IAI1dEeGmRdyimotffQ" type="Entry" element="_S0APsI1dEeGmRdyimotffQ">
+          <children xmi:id="_S01WII1dEeGmRdyimotffQ" type="BorderItemLabelContainer">
+            <children xsi:type="notation:DecorationNode" xmi:id="_S019MI1dEeGmRdyimotffQ" type="BorderItemLabel">
+              <styles xsi:type="notation:ShapeStyle" xmi:id="_S019MY1dEeGmRdyimotffQ"/>
+              <layoutConstraint xsi:type="notation:Location" xmi:id="_S019Mo1dEeGmRdyimotffQ"/>
+            </children>
+            <styles xsi:type="notation:ShapeStyle" xmi:id="_S01WIY1dEeGmRdyimotffQ" fontName="Verdana" lineColor="4210752"/>
+            <layoutConstraint xsi:type="notation:Bounds" xmi:id="_S01WIo1dEeGmRdyimotffQ"/>
+          </children>
+          <styles xsi:type="notation:ShapeStyle" xmi:id="_S00IAY1dEeGmRdyimotffQ" fontName="Verdana" lineColor="4210752"/>
+          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_S00IAo1dEeGmRdyimotffQ" x="26" y="15"/>
+        </children>
+        <children xmi:id="_TOmhAI1dEeGmRdyimotffQ" type="State" element="_TOHY0I1dEeGmRdyimotffQ">
+          <children xsi:type="notation:DecorationNode" xmi:id="_TOnvII1dEeGmRdyimotffQ" type="StateName">
+            <styles xsi:type="notation:ShapeStyle" xmi:id="_TOnvIY1dEeGmRdyimotffQ"/>
+            <layoutConstraint xsi:type="notation:Location" xmi:id="_TOnvIo1dEeGmRdyimotffQ"/>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_TOo9QI1dEeGmRdyimotffQ" type="StateTextCompartment">
+            <children xsi:type="notation:Shape" xmi:id="_TOo9QY1dEeGmRdyimotffQ" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
+              <layoutConstraint xsi:type="notation:Bounds" xmi:id="_TOo9Qo1dEeGmRdyimotffQ"/>
+            </children>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_TOqLYI1dEeGmRdyimotffQ" type="StateFigureCompartment"/>
+          <styles xsi:type="notation:ShapeStyle" xmi:id="_TOmhAY1dEeGmRdyimotffQ" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
+          <styles xsi:type="notation:FontStyle" xmi:id="_TOmhAo1dEeGmRdyimotffQ"/>
+          <styles xsi:type="notation:BooleanValueStyle" xmi:id="_TOqLYY1dEeGmRdyimotffQ"/>
+          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_TOmhA41dEeGmRdyimotffQ" x="131" y="32"/>
+        </children>
+        <layoutConstraint xsi:type="notation:Bounds" xmi:id="_RZzikI1dEeGmRdyimotffQ"/>
+      </children>
+      <styles xsi:type="notation:ShapeStyle" xmi:id="_RZtb8Y1dEeGmRdyimotffQ" fontName="Verdana" fillColor="15790320" lineColor="12632256"/>
+      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_RZtb8o1dEeGmRdyimotffQ" x="220" y="210" width="400" height="196"/>
+    </children>
+    <styles xsi:type="notation:DiagramStyle" xmi:id="_RFWkIYn9EeGKqoh-gt8EXQ"/>
+    <edges xmi:id="_RGho0In9EeGKqoh-gt8EXQ" type="Transition" element="_RGfMkYn9EeGKqoh-gt8EXQ" source="_RGWCoIn9EeGKqoh-gt8EXQ" target="_RGbiMIn9EeGKqoh-gt8EXQ">
+      <children xsi:type="notation:DecorationNode" xmi:id="_RGi28Yn9EeGKqoh-gt8EXQ" type="TransitionExpression">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_RGi28on9EeGKqoh-gt8EXQ"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_RGjeAIn9EeGKqoh-gt8EXQ" y="10"/>
+      </children>
+      <styles xsi:type="notation:ConnectorStyle" xmi:id="_RGho0Yn9EeGKqoh-gt8EXQ" lineColor="4210752"/>
+      <styles xsi:type="notation:FontStyle" xmi:id="_RGi28In9EeGKqoh-gt8EXQ" fontName="Verdana"/>
+      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_RGho0on9EeGKqoh-gt8EXQ" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
+    </edges>
+    <edges xmi:id="_TsKOUIn9EeGKqoh-gt8EXQ" type="Transition" element="_TsF84In9EeGKqoh-gt8EXQ" source="_RGbiMIn9EeGKqoh-gt8EXQ" target="_TCY4kIn9EeGKqoh-gt8EXQ">
+      <children xsi:type="notation:DecorationNode" xmi:id="_TsK1YIn9EeGKqoh-gt8EXQ" type="TransitionExpression">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_TsK1YYn9EeGKqoh-gt8EXQ"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_TsK1Yon9EeGKqoh-gt8EXQ" y="10"/>
+      </children>
+      <styles xsi:type="notation:ConnectorStyle" xmi:id="_TsKOUYn9EeGKqoh-gt8EXQ" lineColor="4210752"/>
+      <styles xsi:type="notation:FontStyle" xmi:id="_TsKOU4n9EeGKqoh-gt8EXQ" fontName="Verdana"/>
+      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_TsKOUon9EeGKqoh-gt8EXQ" points="[18, 1, -162, -19]$[177, -5, -3, -25]"/>
+    </edges>
+    <edges xmi:id="_UvfTkIn9EeGKqoh-gt8EXQ" type="Transition" element="_UvZM8In9EeGKqoh-gt8EXQ" source="_TCY4kIn9EeGKqoh-gt8EXQ" target="_RGbiMIn9EeGKqoh-gt8EXQ">
+      <children xsi:type="notation:DecorationNode" xmi:id="_Uvf6oIn9EeGKqoh-gt8EXQ" type="TransitionExpression">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_Uvf6oYn9EeGKqoh-gt8EXQ"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_Uvf6oon9EeGKqoh-gt8EXQ" y="10"/>
+      </children>
+      <styles xsi:type="notation:ConnectorStyle" xmi:id="_UvfTkYn9EeGKqoh-gt8EXQ" lineColor="4210752"/>
+      <styles xsi:type="notation:FontStyle" xmi:id="_UvfTk4n9EeGKqoh-gt8EXQ" fontName="Verdana"/>
+      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_UvfTkon9EeGKqoh-gt8EXQ" points="[-19, -3, 176, 1]$[-193, -12, 2, -8]"/>
+      <sourceAnchor xsi:type="notation:IdentityAnchor" xmi:id="_UwYEYIn9EeGKqoh-gt8EXQ" id="(0.55,0.08928571428571429)"/>
+      <targetAnchor xsi:type="notation:IdentityAnchor" xmi:id="_UwYEYYn9EeGKqoh-gt8EXQ" id="(0.325,0.16071428571428573)"/>
+    </edges>
+    <edges xmi:id="_UV114I1dEeGmRdyimotffQ" type="Transition" element="_UVq2wI1dEeGmRdyimotffQ" source="_S00IAI1dEeGmRdyimotffQ" target="_TOmhAI1dEeGmRdyimotffQ">
+      <children xsi:type="notation:DecorationNode" xmi:id="_UV3EAY1dEeGmRdyimotffQ" type="TransitionExpression">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_UV3rEI1dEeGmRdyimotffQ"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_UV3rEY1dEeGmRdyimotffQ" y="10"/>
+      </children>
+      <styles xsi:type="notation:ConnectorStyle" xmi:id="_UV114Y1dEeGmRdyimotffQ" lineColor="4210752"/>
+      <styles xsi:type="notation:FontStyle" xmi:id="_UV3EAI1dEeGmRdyimotffQ" fontName="Verdana"/>
+      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_UV114o1dEeGmRdyimotffQ" points="[7, 1, -108, -34]$[113, 10, -2, -25]"/>
+    </edges>
+  </notation:Diagram>
+</xmi:XMI>

+ 157 - 0
test-plugins/org.yakindu.sct.test.models/testmodels/ValuedEvents.sct

@@ -0,0 +1,157 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:sgraph="http://www.yakindu.org/sct/sgraph/2.0.0">
+  <sgraph:Statechart xmi:id="_mYUJQHjXEeGKl8JlHfi_Yg" specification="interface:&#xD;&#xA;in event IntegerEvent : integer&#xD;&#xA;var myVar : integer" name="ValuedEvents">
+    <regions xmi:id="_mYUwUnjXEeGKl8JlHfi_Yg" name="main region">
+      <vertices xsi:type="sgraph:Entry" xmi:id="_mYXMkXjXEeGKl8JlHfi_Yg">
+        <outgoingTransitions xmi:id="_mYcsIXjXEeGKl8JlHfi_Yg" target="_mYZo0XjXEeGKl8JlHfi_Yg"/>
+      </vertices>
+      <vertices xsi:type="sgraph:State" xmi:id="_mYZo0XjXEeGKl8JlHfi_Yg" specification="entry / raise IntegerEvent : 2*21" name="A" incomingTransitions="_mYcsIXjXEeGKl8JlHfi_Yg"/>
+    </regions>
+    <regions xmi:id="_4BMZkHjZEeGKl8JlHfi_Yg">
+      <vertices xsi:type="sgraph:Entry" xmi:id="_4h2PkHjZEeGKl8JlHfi_Yg">
+        <outgoingTransitions xmi:id="_6753MHjZEeGKl8JlHfi_Yg" specification="" target="_48UlEHjZEeGKl8JlHfi_Yg"/>
+      </vertices>
+      <vertices xsi:type="sgraph:State" xmi:id="_48UlEHjZEeGKl8JlHfi_Yg" name="B" incomingTransitions="_6753MHjZEeGKl8JlHfi_Yg">
+        <outgoingTransitions xmi:id="_-hBjwHjZEeGKl8JlHfi_Yg" specification="IntegerEvent / myVar = valueof(IntegerEvent)" target="_9hO6sHjZEeGKl8JlHfi_Yg"/>
+      </vertices>
+      <vertices xsi:type="sgraph:State" xmi:id="_9hO6sHjZEeGKl8JlHfi_Yg" name="C" incomingTransitions="_-hBjwHjZEeGKl8JlHfi_Yg"/>
+    </regions>
+  </sgraph:Statechart>
+  <notation:Diagram xmi:id="_mYUwUHjXEeGKl8JlHfi_Yg" type="org.yakindu.sct.ui.editor.editor.StatechartDiagramEditor" element="_mYUJQHjXEeGKl8JlHfi_Yg" measurementUnit="Pixel">
+    <children xmi:id="_mYVXYHjXEeGKl8JlHfi_Yg" type="Region" element="_mYUwUnjXEeGKl8JlHfi_Yg">
+      <children xsi:type="notation:DecorationNode" xmi:id="_mYV-cHjXEeGKl8JlHfi_Yg" type="RegionName">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_mYV-cXjXEeGKl8JlHfi_Yg"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_mYV-cnjXEeGKl8JlHfi_Yg"/>
+      </children>
+      <children xsi:type="notation:Shape" xmi:id="_mYWlgHjXEeGKl8JlHfi_Yg" type="RegionCompartment" fontName="Verdana" lineColor="4210752">
+        <children xmi:id="_mYXMknjXEeGKl8JlHfi_Yg" type="Entry" element="_mYXMkXjXEeGKl8JlHfi_Yg">
+          <children xmi:id="_mYYasHjXEeGKl8JlHfi_Yg" type="BorderItemLabelContainer">
+            <children xsi:type="notation:DecorationNode" xmi:id="_mYZBwHjXEeGKl8JlHfi_Yg" type="BorderItemLabel">
+              <styles xsi:type="notation:ShapeStyle" xmi:id="_mYZBwXjXEeGKl8JlHfi_Yg"/>
+              <layoutConstraint xsi:type="notation:Location" xmi:id="_mYZBwnjXEeGKl8JlHfi_Yg"/>
+            </children>
+            <styles xsi:type="notation:ShapeStyle" xmi:id="_mYYasXjXEeGKl8JlHfi_Yg" fontName="Verdana" lineColor="4210752"/>
+            <layoutConstraint xsi:type="notation:Bounds" xmi:id="_mYYasnjXEeGKl8JlHfi_Yg"/>
+          </children>
+          <styles xsi:type="notation:ShapeStyle" xmi:id="_mYXMk3jXEeGKl8JlHfi_Yg" fontName="Verdana" lineColor="4210752"/>
+          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_mYZo0HjXEeGKl8JlHfi_Yg" x="70" y="20"/>
+        </children>
+        <children xmi:id="_mYaP4HjXEeGKl8JlHfi_Yg" type="State" element="_mYZo0XjXEeGKl8JlHfi_Yg">
+          <children xsi:type="notation:DecorationNode" xmi:id="_mYa28HjXEeGKl8JlHfi_Yg" type="StateName">
+            <styles xsi:type="notation:ShapeStyle" xmi:id="_mYa28XjXEeGKl8JlHfi_Yg"/>
+            <layoutConstraint xsi:type="notation:Location" xmi:id="_mYa28njXEeGKl8JlHfi_Yg"/>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_mYbeAHjXEeGKl8JlHfi_Yg" type="StateTextCompartment">
+            <children xsi:type="notation:Shape" xmi:id="_mYbeAXjXEeGKl8JlHfi_Yg" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
+              <layoutConstraint xsi:type="notation:Bounds" xmi:id="_mYbeAnjXEeGKl8JlHfi_Yg"/>
+            </children>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_mYcFEHjXEeGKl8JlHfi_Yg" type="StateFigureCompartment"/>
+          <styles xsi:type="notation:ShapeStyle" xmi:id="_mYaP4XjXEeGKl8JlHfi_Yg" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
+          <styles xsi:type="notation:FontStyle" xmi:id="_mYaP4njXEeGKl8JlHfi_Yg"/>
+          <styles xsi:type="notation:BooleanValueStyle" xmi:id="_mYcFEXjXEeGKl8JlHfi_Yg"/>
+          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_mYcsIHjXEeGKl8JlHfi_Yg" x="9" y="79" width="176" height="76"/>
+        </children>
+        <layoutConstraint xsi:type="notation:Bounds" xmi:id="_mYWlgXjXEeGKl8JlHfi_Yg"/>
+      </children>
+      <styles xsi:type="notation:ShapeStyle" xmi:id="_mYVXYXjXEeGKl8JlHfi_Yg" fontName="Verdana" fillColor="15790320" lineColor="12632256"/>
+      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_mYXMkHjXEeGKl8JlHfi_Yg" x="265" y="10" width="211" height="206"/>
+    </children>
+    <children xsi:type="notation:Shape" xmi:id="_mYehUHjXEeGKl8JlHfi_Yg" type="StatechartText" fontName="Verdana" lineColor="4210752">
+      <children xsi:type="notation:DecorationNode" xmi:id="_mYfIYHjXEeGKl8JlHfi_Yg" type="StatechartName">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_mYfIYXjXEeGKl8JlHfi_Yg"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_mYfIYnjXEeGKl8JlHfi_Yg"/>
+      </children>
+      <children xsi:type="notation:Shape" xmi:id="_mYfvcHjXEeGKl8JlHfi_Yg" type="StatechartTextExpression" fontName="Verdana" lineColor="4210752">
+        <layoutConstraint xsi:type="notation:Bounds" xmi:id="_mYfvcXjXEeGKl8JlHfi_Yg"/>
+      </children>
+      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_mYgWgHjXEeGKl8JlHfi_Yg" x="20" y="40" width="236" height="91"/>
+    </children>
+    <children xmi:id="_4BWxoHjZEeGKl8JlHfi_Yg" type="Region" element="_4BMZkHjZEeGKl8JlHfi_Yg">
+      <children xsi:type="notation:DecorationNode" xmi:id="_4BX_wHjZEeGKl8JlHfi_Yg" type="RegionName">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_4BX_wXjZEeGKl8JlHfi_Yg"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_4BX_wnjZEeGKl8JlHfi_Yg"/>
+      </children>
+      <children xsi:type="notation:Shape" xmi:id="_4BYm0HjZEeGKl8JlHfi_Yg" type="RegionCompartment" fontName="Verdana" lineColor="4210752">
+        <children xmi:id="_4iGHMHjZEeGKl8JlHfi_Yg" type="Entry" element="_4h2PkHjZEeGKl8JlHfi_Yg">
+          <children xmi:id="_4iHVUHjZEeGKl8JlHfi_Yg" type="BorderItemLabelContainer">
+            <children xsi:type="notation:DecorationNode" xmi:id="_4iH8YHjZEeGKl8JlHfi_Yg" type="BorderItemLabel">
+              <styles xsi:type="notation:ShapeStyle" xmi:id="_4iH8YXjZEeGKl8JlHfi_Yg"/>
+              <layoutConstraint xsi:type="notation:Location" xmi:id="_4iIjcHjZEeGKl8JlHfi_Yg"/>
+            </children>
+            <styles xsi:type="notation:ShapeStyle" xmi:id="_4iHVUXjZEeGKl8JlHfi_Yg" fontName="Verdana" lineColor="4210752"/>
+            <layoutConstraint xsi:type="notation:Bounds" xmi:id="_4iHVUnjZEeGKl8JlHfi_Yg"/>
+          </children>
+          <styles xsi:type="notation:ShapeStyle" xmi:id="_4iGHMXjZEeGKl8JlHfi_Yg" fontName="Verdana" lineColor="4210752"/>
+          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_4iGHMnjZEeGKl8JlHfi_Yg" x="93" y="14"/>
+        </children>
+        <children xmi:id="_48tmoHjZEeGKl8JlHfi_Yg" type="State" element="_48UlEHjZEeGKl8JlHfi_Yg">
+          <children xsi:type="notation:DecorationNode" xmi:id="_48wC4HjZEeGKl8JlHfi_Yg" type="StateName">
+            <styles xsi:type="notation:ShapeStyle" xmi:id="_48wC4XjZEeGKl8JlHfi_Yg"/>
+            <layoutConstraint xsi:type="notation:Location" xmi:id="_48wp8HjZEeGKl8JlHfi_Yg"/>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_48wp8XjZEeGKl8JlHfi_Yg" type="StateTextCompartment">
+            <children xsi:type="notation:Shape" xmi:id="_48xRAHjZEeGKl8JlHfi_Yg" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
+              <layoutConstraint xsi:type="notation:Bounds" xmi:id="_48xRAXjZEeGKl8JlHfi_Yg"/>
+            </children>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_48x4EHjZEeGKl8JlHfi_Yg" type="StateFigureCompartment"/>
+          <styles xsi:type="notation:ShapeStyle" xmi:id="_48tmoXjZEeGKl8JlHfi_Yg" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
+          <styles xsi:type="notation:FontStyle" xmi:id="_48tmonjZEeGKl8JlHfi_Yg"/>
+          <styles xsi:type="notation:BooleanValueStyle" xmi:id="_48yfIHjZEeGKl8JlHfi_Yg"/>
+          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_48tmo3jZEeGKl8JlHfi_Yg" x="107" y="74" width="111" height="66"/>
+        </children>
+        <children xmi:id="_9hmHEHjZEeGKl8JlHfi_Yg" type="State" element="_9hO6sHjZEeGKl8JlHfi_Yg">
+          <children xsi:type="notation:DecorationNode" xmi:id="_9hn8QHjZEeGKl8JlHfi_Yg" type="StateName">
+            <styles xsi:type="notation:ShapeStyle" xmi:id="_9hn8QXjZEeGKl8JlHfi_Yg"/>
+            <layoutConstraint xsi:type="notation:Location" xmi:id="_9hn8QnjZEeGKl8JlHfi_Yg"/>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_9hn8Q3jZEeGKl8JlHfi_Yg" type="StateTextCompartment">
+            <children xsi:type="notation:Shape" xmi:id="_9hojUHjZEeGKl8JlHfi_Yg" type="StateTextCompartmentExpression" fontName="Verdana" lineColor="4210752">
+              <layoutConstraint xsi:type="notation:Bounds" xmi:id="_9hojUXjZEeGKl8JlHfi_Yg"/>
+            </children>
+          </children>
+          <children xsi:type="notation:Compartment" xmi:id="_9hpKYHjZEeGKl8JlHfi_Yg" type="StateFigureCompartment"/>
+          <styles xsi:type="notation:ShapeStyle" xmi:id="_9hmuIHjZEeGKl8JlHfi_Yg" fontName="Verdana" fillColor="15981773" lineColor="12632256"/>
+          <styles xsi:type="notation:FontStyle" xmi:id="_9hmuIXjZEeGKl8JlHfi_Yg"/>
+          <styles xsi:type="notation:BooleanValueStyle" xmi:id="_9hpxcHjZEeGKl8JlHfi_Yg"/>
+          <layoutConstraint xsi:type="notation:Bounds" xmi:id="_9hmuInjZEeGKl8JlHfi_Yg" x="114" y="209" width="96" height="61"/>
+        </children>
+        <layoutConstraint xsi:type="notation:Bounds" xmi:id="_4BYm0XjZEeGKl8JlHfi_Yg"/>
+      </children>
+      <styles xsi:type="notation:ShapeStyle" xmi:id="_4BWxoXjZEeGKl8JlHfi_Yg" fontName="Verdana" fillColor="15790320" lineColor="12632256"/>
+      <layoutConstraint xsi:type="notation:Bounds" xmi:id="_4BWxonjZEeGKl8JlHfi_Yg" x="485" y="10" width="321" height="331"/>
+    </children>
+    <styles xsi:type="notation:DiagramStyle" xmi:id="_mYUwUXjXEeGKl8JlHfi_Yg"/>
+    <edges xmi:id="_mYdTMHjXEeGKl8JlHfi_Yg" type="Transition" element="_mYcsIXjXEeGKl8JlHfi_Yg" source="_mYXMknjXEeGKl8JlHfi_Yg" target="_mYaP4HjXEeGKl8JlHfi_Yg">
+      <children xsi:type="notation:DecorationNode" xmi:id="_mYd6QXjXEeGKl8JlHfi_Yg" type="TransitionExpression">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_mYd6QnjXEeGKl8JlHfi_Yg"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_mYd6Q3jXEeGKl8JlHfi_Yg" y="10"/>
+      </children>
+      <styles xsi:type="notation:ConnectorStyle" xmi:id="_mYdTMXjXEeGKl8JlHfi_Yg" lineColor="4210752"/>
+      <styles xsi:type="notation:FontStyle" xmi:id="_mYd6QHjXEeGKl8JlHfi_Yg" fontName="Verdana"/>
+      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_mYdTMnjXEeGKl8JlHfi_Yg" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/>
+    </edges>
+    <edges xmi:id="_68GrgHjZEeGKl8JlHfi_Yg" type="Transition" element="_6753MHjZEeGKl8JlHfi_Yg" source="_4iGHMHjZEeGKl8JlHfi_Yg" target="_48tmoHjZEeGKl8JlHfi_Yg">
+      <children xsi:type="notation:DecorationNode" xmi:id="_68H5oHjZEeGKl8JlHfi_Yg" type="TransitionExpression">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_68H5oXjZEeGKl8JlHfi_Yg"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_68H5onjZEeGKl8JlHfi_Yg" y="10"/>
+      </children>
+      <styles xsi:type="notation:ConnectorStyle" xmi:id="_68GrgXjZEeGKl8JlHfi_Yg" lineColor="4210752"/>
+      <styles xsi:type="notation:FontStyle" xmi:id="_68HSkHjZEeGKl8JlHfi_Yg" fontName="Verdana"/>
+      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_68GrgnjZEeGKl8JlHfi_Yg" points="[0, 8, 5, -44]$[0, 27, 5, -25]"/>
+      <targetAnchor xsi:type="notation:IdentityAnchor" xmi:id="_8mAokHjZEeGKl8JlHfi_Yg" id="(0.36036036036036034,0.07575757575757576)"/>
+    </edges>
+    <edges xmi:id="_-hO_IHjZEeGKl8JlHfi_Yg" type="Transition" element="_-hBjwHjZEeGKl8JlHfi_Yg" source="_48tmoHjZEeGKl8JlHfi_Yg" target="_9hmHEHjZEeGKl8JlHfi_Yg">
+      <children xsi:type="notation:DecorationNode" xmi:id="_-hQNQHjZEeGKl8JlHfi_Yg" type="TransitionExpression">
+        <styles xsi:type="notation:ShapeStyle" xmi:id="_-hQNQXjZEeGKl8JlHfi_Yg"/>
+        <layoutConstraint xsi:type="notation:Location" xmi:id="_-hQNQnjZEeGKl8JlHfi_Yg" x="2" y="-4"/>
+      </children>
+      <styles xsi:type="notation:ConnectorStyle" xmi:id="_-hO_IXjZEeGKl8JlHfi_Yg" lineColor="4210752"/>
+      <styles xsi:type="notation:FontStyle" xmi:id="_-hPmMHjZEeGKl8JlHfi_Yg" fontName="Verdana"/>
+      <bendpoints xsi:type="notation:RelativeBendpoints" xmi:id="_-hO_InjZEeGKl8JlHfi_Yg" points="[26, 3, -70, 2]$[97, -15, 1, -16]"/>
+      <sourceAnchor xsi:type="notation:IdentityAnchor" xmi:id="_-hrrEHjZEeGKl8JlHfi_Yg" id="(0.7567567567567568,0.30303030303030304)"/>
+      <targetAnchor xsi:type="notation:IdentityAnchor" xmi:id="_-hrrEXjZEeGKl8JlHfi_Yg" id="(0.17708333333333334,0.29508196721311475)"/>
+    </edges>
+  </notation:Diagram>
+</xmi:XMI>