PetriNet
Place
net
out
in
Transition
net
in
out
Net
place
transition
PTArc
dst
src
TPArc
src
dst
<?xml version="1.0" encoding="ISO-8859-1"?>
<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="PetriNet"
    nsURI="PetriNetV2" nsPrefix="PetriNet">
  <eClassifiers xsi:type="ecore:EClass" name="Place">
    <eStructuralFeatures xsi:type="ecore:EReference" name="net" ordered="false" lowerBound="1"
        eType="#//Net" eOpposite="#//Net/place"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="out" upperBound="-1" eType="#//PTArc"
        eOpposite="#//PTArc/src"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="in" upperBound="-1" eType="#//TPArc"
        eOpposite="#//TPArc/dst"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Transition">
    <eStructuralFeatures xsi:type="ecore:EReference" name="net" ordered="false" lowerBound="1"
        eType="#//Net" eOpposite="#//Net/transition"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="in" lowerBound="1" upperBound="-1"
        eType="#//PTArc" eOpposite="#//PTArc/dst"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="out" lowerBound="1" upperBound="-1"
        eType="#//TPArc" eOpposite="#//TPArc/src"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Net">
    <eStructuralFeatures xsi:type="ecore:EReference" name="place" lowerBound="1" upperBound="-1"
        eType="#//Place" containment="true" eOpposite="#//Place/net"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="transition" lowerBound="1"
        upperBound="-1" eType="#//Transition" containment="true" eOpposite="#//Transition/net"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="PTArc">
    <eStructuralFeatures xsi:type="ecore:EReference" name="dst" ordered="false" lowerBound="1"
        eType="#//Transition" eOpposite="#//Transition/in"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="src" ordered="false" lowerBound="1"
        eType="#//Place" eOpposite="#//Place/out"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="TPArc">
    <eStructuralFeatures xsi:type="ecore:EReference" name="src" ordered="false" lowerBound="1"
        eType="#//Transition" eOpposite="#//Transition/out"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="dst" ordered="false" lowerBound="1"
        eType="#//Place" eOpposite="#//Place/in"/>
  </eClassifiers>
</ecore:EPackage>

{"directed":true,"nodes":[{"nsPrefix":"PetriNet","nsURI":"PetriNetV2","name":"PetriNet","id":0,"eClass":"EPackage"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Place","instanceClass":null,"abstract":false,"id":1,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Transition","instanceClass":null,"abstract":false,"id":2,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Net","instanceClass":null,"abstract":false,"id":3,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"PTArc","instanceClass":null,"abstract":false,"id":4,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"TPArc","instanceClass":null,"abstract":false,"id":5,"interface":false,"eClass":"EClass"},{"container":true,"ordered":false,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":true,"eClass":"EReference","defaultValueLiteral":null,"containment":false,"unsettable":false,"transient":false,"unique":true,"name":"net","changeable":true,"resolveProxies":true,"lowerBound":1,"id":6,"derived":false},{"container":false,"ordered":true,"upperBound":-1,"defaultValue":null,"volatile":false,"many":true,"required":false,"eClass":"EReference","defaultValueLiteral":null,"containment":false,"unsettable":false,"transient":false,"unique":true,"name":"out","changeable":true,"resolveProxies":true,"lowerBound":0,"id":7,"derived":false},{"container":false,"ordered":true,"upperBound":-1,"defaultValue":null,"volatile":false,"many":true,"required":false,"eClass":"EReference","defaultValueLiteral":null,"containment":false,"unsettable":false,"transient":false,"unique":true,"name":"in","changeable":true,"resolveProxies":true,"lowerBound":0,"id":8,"derived":false},{"id":9,"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":"place","changeable":true,"resolveProxies":true,"lowerBound":1,"id":10,"derived":false},{"id":11,"eClass":"EGenericType"},{"container":false,"ordered":false,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":true,"eClass":"EReference","defaultValueLiteral":null,"containment":false,"unsettable":false,"transient":false,"unique":true,"name":"src","changeable":true,"resolveProxies":true,"lowerBound":1,"id":12,"derived":false},{"id":13,"eClass":"EGenericType"},{"container":false,"ordered":false,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":true,"eClass":"EReference","defaultValueLiteral":null,"containment":false,"unsettable":false,"transient":false,"unique":true,"name":"dst","changeable":true,"resolveProxies":true,"lowerBound":1,"id":14,"derived":false},{"container":true,"ordered":false,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":true,"eClass":"EReference","defaultValueLiteral":null,"containment":false,"unsettable":false,"transient":false,"unique":true,"name":"net","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":false,"unsettable":false,"transient":false,"unique":true,"name":"in","changeable":true,"resolveProxies":true,"lowerBound":1,"id":16,"derived":false},{"container":false,"ordered":true,"upperBound":-1,"defaultValue":null,"volatile":false,"many":true,"required":true,"eClass":"EReference","defaultValueLiteral":null,"containment":false,"unsettable":false,"transient":false,"unique":true,"name":"out","changeable":true,"resolveProxies":true,"lowerBound":1,"id":17,"derived":false},{"id":18,"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":"transition","changeable":true,"resolveProxies":true,"lowerBound":1,"id":19,"derived":false},{"id":20,"eClass":"EGenericType"},{"container":false,"ordered":false,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":true,"eClass":"EReference","defaultValueLiteral":null,"containment":false,"unsettable":false,"transient":false,"unique":true,"name":"dst","changeable":true,"resolveProxies":true,"lowerBound":1,"id":21,"derived":false},{"id":22,"eClass":"EGenericType"},{"container":false,"ordered":false,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":true,"eClass":"EReference","defaultValueLiteral":null,"containment":false,"unsettable":false,"transient":false,"unique":true,"name":"src","changeable":true,"resolveProxies":true,"lowerBound":1,"id":23,"derived":false},{"id":24,"eClass":"EGenericType"},{"id":25,"eClass":"EGenericType"},{"id":26,"eClass":"EGenericType"},{"id":27,"eClass":"EGenericType"},{"id":28,"eClass":"EGenericType"},{"id":29,"eClass":"EGenericType"}],"links":[{"source":0,"target":1},{"source":0,"target":2},{"source":0,"target":3},{"source":0,"target":4},{"source":0,"target":5},{"source":1,"target":0},{"source":1,"target":6},{"source":1,"target":7},{"source":1,"target":8},{"source":6,"target":3},{"source":6,"target":9},{"source":6,"target":1},{"source":6,"target":10},{"source":9,"target":3},{"source":7,"target":4},{"source":7,"target":11},{"source":7,"target":1},{"source":7,"target":12},{"source":11,"target":4},{"source":8,"target":5},{"source":8,"target":13},{"source":8,"target":1},{"source":8,"target":14},{"source":13,"target":5},{"source":2,"target":0},{"source":2,"target":15},{"source":2,"target":16},{"source":2,"target":17},{"source":15,"target":3},{"source":15,"target":18},{"source":15,"target":2},{"source":15,"target":19},{"source":18,"target":3},{"source":16,"target":4},{"source":16,"target":20},{"source":16,"target":2},{"source":16,"target":21},{"source":20,"target":4},{"source":17,"target":5},{"source":17,"target":22},{"source":17,"target":2},{"source":17,"target":23},{"source":22,"target":5},{"source":3,"target":0},{"source":3,"target":10},{"source":3,"target":19},{"source":10,"target":1},{"source":10,"target":24},{"source":10,"target":3},{"source":10,"target":6},{"source":24,"target":1},{"source":19,"target":2},{"source":19,"target":25},{"source":19,"target":3},{"source":19,"target":15},{"source":25,"target":2},{"source":4,"target":0},{"source":4,"target":21},{"source":4,"target":12},{"source":21,"target":2},{"source":21,"target":26},{"source":21,"target":4},{"source":21,"target":16},{"source":26,"target":2},{"source":12,"target":1},{"source":12,"target":27},{"source":12,"target":4},{"source":12,"target":7},{"source":27,"target":1},{"source":5,"target":0},{"source":5,"target":23},{"source":5,"target":14},{"source":23,"target":2},{"source":23,"target":28},{"source":23,"target":5},{"source":23,"target":17},{"source":28,"target":2},{"source":14,"target":1},{"source":14,"target":29},{"source":14,"target":5},{"source":14,"target":8},{"source":29,"target":1}],"multigraph":true}