petriNetEMF
PetriNet
Places
Transitions
Arcs
Place
outgoingArcs
incomingArcs
Transition
outgoingArcs
incomingArcs
PlaceToTransitionArc
to
from
TransitionToPlaceArc
from
to
Identification
ID
name
Arc
<?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="petriNetEMF" nsURI="http://www.example.org/petriNetEMF" nsPrefix="petriNetEMF">
  <eClassifiers xsi:type="ecore:EClass" name="PetriNet" eSuperTypes="#//Identification">
    <eStructuralFeatures xsi:type="ecore:EReference" name="Places" upperBound="-1"
        eType="#//Place" containment="true"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="Transitions" upperBound="-1"
        eType="#//Transition" containment="true"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="Arcs" upperBound="-1" eType="#//Arc"
        containment="true"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Place" eSuperTypes="#//Identification">
    <eStructuralFeatures xsi:type="ecore:EReference" name="outgoingArcs" upperBound="-1"
        eType="#//PlaceToTransitionArc" eOpposite="#//PlaceToTransitionArc/from"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="incomingArcs" upperBound="-1"
        eType="#//TransitionToPlaceArc" eOpposite="#//TransitionToPlaceArc/to"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Transition" eSuperTypes="#//Identification">
    <eStructuralFeatures xsi:type="ecore:EReference" name="outgoingArcs" upperBound="-1"
        eType="#//TransitionToPlaceArc" eOpposite="#//TransitionToPlaceArc/from"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="incomingArcs" upperBound="-1"
        eType="#//PlaceToTransitionArc" eOpposite="#//PlaceToTransitionArc/to"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="PlaceToTransitionArc" eSuperTypes="#//Arc">
    <eStructuralFeatures xsi:type="ecore:EReference" name="to" lowerBound="1" eType="#//Transition"
        eOpposite="#//Transition/incomingArcs"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="from" lowerBound="1" eType="#//Place"
        eOpposite="#//Place/outgoingArcs"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="TransitionToPlaceArc" eSuperTypes="#//Arc">
    <eStructuralFeatures xsi:type="ecore:EReference" name="from" lowerBound="1" eType="#//Transition"
        eOpposite="#//Transition/outgoingArcs"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="to" lowerBound="1" eType="#//Place"
        eOpposite="#//Place/incomingArcs"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Identification" abstract="true" interface="true">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="ID" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"
        iD="true"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" ordered="false" unique="false"
        lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Arc" abstract="true" eSuperTypes="#//Identification"/>
</ecore:EPackage>

{"directed":true,"nodes":[{"nsPrefix":"petriNetEMF","nsURI":"http://www.example.org/petriNetEMF","name":"petriNetEMF","id":0,"eClass":"EPackage"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"PetriNet","instanceClass":null,"abstract":false,"id":1,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Place","instanceClass":null,"abstract":false,"id":2,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Transition","instanceClass":null,"abstract":false,"id":3,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"PlaceToTransitionArc","instanceClass":null,"abstract":false,"id":4,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"TransitionToPlaceArc","instanceClass":null,"abstract":false,"id":5,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Identification","instanceClass":null,"abstract":true,"id":6,"interface":true,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Arc","instanceClass":null,"abstract":true,"id":7,"interface":false,"eClass":"EClass"},{"container":false,"ordered":true,"upperBound":-1,"defaultValue":null,"volatile":false,"many":true,"required":false,"eClass":"EReference","defaultValueLiteral":null,"containment":true,"unsettable":false,"transient":false,"unique":true,"name":"Places","changeable":true,"resolveProxies":true,"lowerBound":0,"id":8,"derived":false},{"container":false,"ordered":true,"upperBound":-1,"defaultValue":null,"volatile":false,"many":true,"required":false,"eClass":"EReference","defaultValueLiteral":null,"containment":true,"unsettable":false,"transient":false,"unique":true,"name":"Transitions","changeable":true,"resolveProxies":true,"lowerBound":0,"id":9,"derived":false},{"container":false,"ordered":true,"upperBound":-1,"defaultValue":null,"volatile":false,"many":true,"required":false,"eClass":"EReference","defaultValueLiteral":null,"containment":true,"unsettable":false,"transient":false,"unique":true,"name":"Arcs","changeable":true,"resolveProxies":true,"lowerBound":0,"id":10,"derived":false},{"id":11,"eClass":"EGenericType"},{"id":12,"eClass":"EGenericType"},{"id":13,"eClass":"EGenericType"},{"id":14,"eClass":"EGenericType"},{"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":"outgoingArcs","changeable":true,"resolveProxies":true,"lowerBound":0,"id":15,"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":"incomingArcs","changeable":true,"resolveProxies":true,"lowerBound":0,"id":16,"derived":false},{"id":17,"eClass":"EGenericType"},{"id":18,"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":"from","changeable":true,"resolveProxies":true,"lowerBound":1,"id":19,"derived":false},{"id":20,"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":"to","changeable":true,"resolveProxies":true,"lowerBound":1,"id":21,"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":"outgoingArcs","changeable":true,"resolveProxies":true,"lowerBound":0,"id":22,"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":"incomingArcs","changeable":true,"resolveProxies":true,"lowerBound":0,"id":23,"derived":false},{"id":24,"eClass":"EGenericType"},{"id":25,"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":"from","changeable":true,"resolveProxies":true,"lowerBound":1,"id":26,"derived":false},{"id":27,"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":"to","changeable":true,"resolveProxies":true,"lowerBound":1,"id":28,"derived":false},{"id":29,"eClass":"EGenericType"},{"id":30,"eClass":"EGenericType"},{"id":31,"eClass":"EGenericType"},{"id":32,"eClass":"EGenericType"},{"id":33,"eClass":"EGenericType"},{"id":34,"eClass":"EGenericType"},{"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":true,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"ID","changeable":true,"lowerBound":1,"iD":true,"id":35,"derived":false},{"ordered":false,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":true,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":false,"name":"name","changeable":true,"lowerBound":1,"iD":false,"id":36,"derived":false},{"id":37,"eClass":"EGenericType"},{"id":38,"eClass":"EGenericType"},{"id":39,"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":1,"target":0},{"source":1,"target":6},{"source":1,"target":8},{"source":1,"target":9},{"source":1,"target":10},{"source":1,"target":11},{"source":8,"target":2},{"source":8,"target":12},{"source":8,"target":1},{"source":12,"target":2},{"source":9,"target":3},{"source":9,"target":13},{"source":9,"target":1},{"source":13,"target":3},{"source":10,"target":7},{"source":10,"target":14},{"source":10,"target":1},{"source":14,"target":7},{"source":11,"target":6},{"source":2,"target":0},{"source":2,"target":6},{"source":2,"target":15},{"source":2,"target":16},{"source":2,"target":17},{"source":15,"target":4},{"source":15,"target":18},{"source":15,"target":2},{"source":15,"target":19},{"source":18,"target":4},{"source":16,"target":5},{"source":16,"target":20},{"source":16,"target":2},{"source":16,"target":21},{"source":20,"target":5},{"source":17,"target":6},{"source":3,"target":0},{"source":3,"target":6},{"source":3,"target":22},{"source":3,"target":23},{"source":3,"target":24},{"source":22,"target":5},{"source":22,"target":25},{"source":22,"target":3},{"source":22,"target":26},{"source":25,"target":5},{"source":23,"target":4},{"source":23,"target":27},{"source":23,"target":3},{"source":23,"target":28},{"source":27,"target":4},{"source":24,"target":6},{"source":4,"target":0},{"source":4,"target":7},{"source":4,"target":28},{"source":4,"target":19},{"source":4,"target":29},{"source":28,"target":3},{"source":28,"target":30},{"source":28,"target":4},{"source":28,"target":23},{"source":30,"target":3},{"source":19,"target":2},{"source":19,"target":31},{"source":19,"target":4},{"source":19,"target":15},{"source":31,"target":2},{"source":29,"target":7},{"source":5,"target":0},{"source":5,"target":7},{"source":5,"target":26},{"source":5,"target":21},{"source":5,"target":32},{"source":26,"target":3},{"source":26,"target":33},{"source":26,"target":5},{"source":26,"target":22},{"source":33,"target":3},{"source":21,"target":2},{"source":21,"target":34},{"source":21,"target":5},{"source":21,"target":16},{"source":34,"target":2},{"source":32,"target":7},{"source":6,"target":0},{"source":6,"target":35},{"source":6,"target":36},{"source":35,"target":37},{"source":35,"target":6},{"source":36,"target":38},{"source":36,"target":6},{"source":7,"target":0},{"source":7,"target":6},{"source":7,"target":39},{"source":39,"target":6}],"multigraph":true}