network
Network
statemachine
channel
Statemachine
state
initState
transition
State
Transition
source
target
Event
channel
Channel
Type
TypeOfChannel
Synchronous
Synchronous
Asynchronous
Asynchronous
Event
SEND
SEND
RECEIVE
RECEIVE
AbstractElement
name
<?xml version="1.0" encoding="UTF-8"?>
<ecore:EPackage xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="network" nsURI="http://www.example.org/network" nsPrefix="network">
  <eClassifiers xsi:type="ecore:EClass" name="Network" eSuperTypes="#//AbstractElement">
    <eStructuralFeatures xsi:type="ecore:EReference" name="statemachine" lowerBound="1"
        upperBound="-1" eType="#//Statemachine" containment="true"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="channel" lowerBound="1"
        upperBound="-1" eType="#//Channel" containment="true"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Statemachine" eSuperTypes="#//AbstractElement">
    <eStructuralFeatures xsi:type="ecore:EReference" name="state" lowerBound="1" upperBound="-1"
        eType="#//State" containment="true"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="initState" lowerBound="1"
        eType="#//State"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="transition" lowerBound="1"
        upperBound="-1" eType="#//Transition" containment="true"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="State" eSuperTypes="#//AbstractElement"/>
  <eClassifiers xsi:type="ecore:EClass" name="Transition">
    <eStructuralFeatures xsi:type="ecore:EReference" name="source" lowerBound="1"
        eType="#//State"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="target" lowerBound="1"
        eType="#//State"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="Event" eType="#//Event"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="channel" lowerBound="1"
        eType="#//Channel"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Channel" eSuperTypes="#//AbstractElement">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="Type" eType="#//TypeOfChannel"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EEnum" name="TypeOfChannel">
    <eLiterals name="Synchronous"/>
    <eLiterals name="Asynchronous" value="1"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EEnum" name="Event">
    <eLiterals name="SEND"/>
    <eLiterals name="RECEIVE" value="1"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="AbstractElement" abstract="true">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
  </eClassifiers>
</ecore:EPackage>

{"directed":true,"nodes":[{"nsPrefix":"network","nsURI":"http://www.example.org/network","name":"network","id":0,"eClass":"EPackage"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Network","instanceClass":null,"abstract":false,"id":1,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Statemachine","instanceClass":null,"abstract":false,"id":2,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"State","instanceClass":null,"abstract":false,"id":3,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Transition","instanceClass":null,"abstract":false,"id":4,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Channel","instanceClass":null,"abstract":false,"id":5,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"instanceClassName":null,"name":"TypeOfChannel","instanceClass":null,"id":6,"serializable":true,"eClass":"EEnum"},{"instanceTypeName":null,"instanceClassName":null,"name":"Event","instanceClass":null,"id":7,"serializable":true,"eClass":"EEnum"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"AbstractElement","instanceClass":null,"abstract":true,"id":8,"interface":false,"eClass":"EClass"},{"container":false,"ordered":true,"upperBound":-1,"defaultValue":null,"volatile":false,"many":true,"required":true,"eClass":"EReference","defaultValueLiteral":null,"containment":true,"unsettable":false,"transient":false,"unique":true,"name":"statemachine","changeable":true,"resolveProxies":true,"lowerBound":1,"id":9,"derived":false},{"container":false,"ordered":true,"upperBound":-1,"defaultValue":null,"volatile":false,"many":true,"required":true,"eClass":"EReference","defaultValueLiteral":null,"containment":true,"unsettable":false,"transient":false,"unique":true,"name":"channel","changeable":true,"resolveProxies":true,"lowerBound":1,"id":10,"derived":false},{"id":11,"eClass":"EGenericType"},{"id":12,"eClass":"EGenericType"},{"id":13,"eClass":"EGenericType"},{"container":false,"ordered":true,"upperBound":-1,"defaultValue":null,"volatile":false,"many":true,"required":true,"eClass":"EReference","defaultValueLiteral":null,"containment":true,"unsettable":false,"transient":false,"unique":true,"name":"state","changeable":true,"resolveProxies":true,"lowerBound":1,"id":14,"derived":false},{"container":false,"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":true,"eClass":"EReference","defaultValueLiteral":null,"containment":false,"unsettable":false,"transient":false,"unique":true,"name":"initState","changeable":true,"resolveProxies":true,"lowerBound":1,"id":15,"derived":false},{"container":false,"ordered":true,"upperBound":-1,"defaultValue":null,"volatile":false,"many":true,"required":true,"eClass":"EReference","defaultValueLiteral":null,"containment":true,"unsettable":false,"transient":false,"unique":true,"name":"transition","changeable":true,"resolveProxies":true,"lowerBound":1,"id":16,"derived":false},{"id":17,"eClass":"EGenericType"},{"id":18,"eClass":"EGenericType"},{"id":19,"eClass":"EGenericType"},{"id":20,"eClass":"EGenericType"},{"id":21,"eClass":"EGenericType"},{"container":false,"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":true,"eClass":"EReference","defaultValueLiteral":null,"containment":false,"unsettable":false,"transient":false,"unique":true,"name":"source","changeable":true,"resolveProxies":true,"lowerBound":1,"id":22,"derived":false},{"container":false,"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":true,"eClass":"EReference","defaultValueLiteral":null,"containment":false,"unsettable":false,"transient":false,"unique":true,"name":"target","changeable":true,"resolveProxies":true,"lowerBound":1,"id":23,"derived":false},{"ordered":true,"upperBound":1,"volatile":false,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"Event","changeable":true,"lowerBound":0,"iD":false,"id":24,"derived":false},{"container":false,"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":true,"eClass":"EReference","defaultValueLiteral":null,"containment":false,"unsettable":false,"transient":false,"unique":true,"name":"channel","changeable":true,"resolveProxies":true,"lowerBound":1,"id":25,"derived":false},{"id":26,"eClass":"EGenericType"},{"id":27,"eClass":"EGenericType"},{"id":28,"eClass":"EGenericType"},{"id":29,"eClass":"EGenericType"},{"ordered":true,"upperBound":1,"volatile":false,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"Type","changeable":true,"lowerBound":0,"iD":false,"id":30,"derived":false},{"id":31,"eClass":"EGenericType"},{"id":32,"eClass":"EGenericType"},{"name":"Synchronous","id":33,"value":0,"literal":"Synchronous","eClass":"EEnumLiteral"},{"name":"Asynchronous","id":34,"value":1,"literal":"Asynchronous","eClass":"EEnumLiteral"},{"name":"SEND","id":35,"value":0,"literal":"SEND","eClass":"EEnumLiteral"},{"name":"RECEIVE","id":36,"value":1,"literal":"RECEIVE","eClass":"EEnumLiteral"},{"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"name","changeable":true,"lowerBound":0,"iD":false,"id":37,"derived":false},{"id":38,"eClass":"EGenericType"}],"links":[{"source":0,"target":1},{"source":0,"target":2},{"source":0,"target":3},{"source":0,"target":4},{"source":0,"target":5},{"source":0,"target":6},{"source":0,"target":7},{"source":0,"target":8},{"source":1,"target":0},{"source":1,"target":8},{"source":1,"target":9},{"source":1,"target":10},{"source":1,"target":11},{"source":9,"target":2},{"source":9,"target":12},{"source":9,"target":1},{"source":12,"target":2},{"source":10,"target":5},{"source":10,"target":13},{"source":10,"target":1},{"source":13,"target":5},{"source":11,"target":8},{"source":2,"target":0},{"source":2,"target":8},{"source":2,"target":14},{"source":2,"target":15},{"source":2,"target":16},{"source":2,"target":17},{"source":14,"target":3},{"source":14,"target":18},{"source":14,"target":2},{"source":18,"target":3},{"source":15,"target":3},{"source":15,"target":19},{"source":15,"target":2},{"source":19,"target":3},{"source":16,"target":4},{"source":16,"target":20},{"source":16,"target":2},{"source":20,"target":4},{"source":17,"target":8},{"source":3,"target":0},{"source":3,"target":8},{"source":3,"target":21},{"source":21,"target":8},{"source":4,"target":0},{"source":4,"target":22},{"source":4,"target":23},{"source":4,"target":24},{"source":4,"target":25},{"source":22,"target":3},{"source":22,"target":26},{"source":22,"target":4},{"source":26,"target":3},{"source":23,"target":3},{"source":23,"target":27},{"source":23,"target":4},{"source":27,"target":3},{"source":24,"target":7},{"source":24,"target":28},{"source":24,"target":4},{"source":28,"target":7},{"source":25,"target":5},{"source":25,"target":29},{"source":25,"target":4},{"source":29,"target":5},{"source":5,"target":0},{"source":5,"target":8},{"source":5,"target":30},{"source":5,"target":31},{"source":30,"target":6},{"source":30,"target":32},{"source":30,"target":5},{"source":32,"target":6},{"source":31,"target":8},{"source":6,"target":0},{"source":6,"target":33},{"source":6,"target":34},{"source":33,"target":6},{"source":34,"target":6},{"source":7,"target":0},{"source":7,"target":35},{"source":7,"target":36},{"source":35,"target":7},{"source":36,"target":7},{"source":8,"target":0},{"source":8,"target":37},{"source":37,"target":38},{"source":37,"target":8}],"multigraph":true}