PetriNet
LocatedElement
location
NamedElement
name
PetriNet
elements
arcs
Element
net
Place
incomingArc
outgoingArc
Transition
incomingArc
outgoingArc
Arc
weight
net
PlaceToTransition
from
to
TransitionToPlace
from
to
<?xml version="1.0" encoding="ASCII"?>
<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="http://com.petrinet" nsPrefix="com.petrinet">
  <eClassifiers xsi:type="ecore:EClass" name="LocatedElement" abstract="true">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="location" ordered="false"
        lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="NamedElement" abstract="true" eSuperTypes="#//LocatedElement">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" ordered="false" lowerBound="1"
        eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="PetriNet" eSuperTypes="#//NamedElement">
    <eStructuralFeatures xsi:type="ecore:EReference" name="elements" ordered="false"
        upperBound="-1" eType="#//Element" containment="true" eOpposite="#//Element/net"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="arcs" ordered="false" upperBound="-1"
        eType="#//Arc" containment="true" eOpposite="#//Arc/net"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Element" abstract="true" eSuperTypes="#//NamedElement">
    <eStructuralFeatures xsi:type="ecore:EReference" name="net" ordered="false" lowerBound="1"
        eType="#//PetriNet" eOpposite="#//PetriNet/elements"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Place" eSuperTypes="#//Element">
    <eStructuralFeatures xsi:type="ecore:EReference" name="incomingArc" ordered="false"
        upperBound="-1" eType="#//TransitionToPlace" eOpposite="#//TransitionToPlace/to"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="outgoingArc" ordered="false"
        upperBound="-1" eType="#//PlaceToTransition" eOpposite="#//PlaceToTransition/from"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Transition" eSuperTypes="#//Element">
    <eStructuralFeatures xsi:type="ecore:EReference" name="incomingArc" ordered="false"
        lowerBound="1" upperBound="-1" eType="#//PlaceToTransition" eOpposite="#//PlaceToTransition/to"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="outgoingArc" ordered="false"
        lowerBound="1" upperBound="-1" eType="#//TransitionToPlace" eOpposite="#//TransitionToPlace/from"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Arc" abstract="true" eSuperTypes="#//NamedElement">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="weight" ordered="false"
        lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="net" ordered="false" lowerBound="1"
        eType="#//PetriNet" eOpposite="#//PetriNet/arcs"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="PlaceToTransition" eSuperTypes="#//Arc">
    <eStructuralFeatures xsi:type="ecore:EReference" name="from" ordered="false" lowerBound="1"
        eType="#//Place" eOpposite="#//Place/outgoingArc"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="to" ordered="false" lowerBound="1"
        eType="#//Transition" eOpposite="#//Transition/incomingArc"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="TransitionToPlace" eSuperTypes="#//Arc">
    <eStructuralFeatures xsi:type="ecore:EReference" name="from" ordered="false" lowerBound="1"
        eType="#//Transition" eOpposite="#//Transition/outgoingArc"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="to" ordered="false" lowerBound="1"
        eType="#//Place" eOpposite="#//Place/incomingArc"/>
  </eClassifiers>
</ecore:EPackage>

{"directed":true,"nodes":[{"nsPrefix":"com.petrinet","nsURI":"http://com.petrinet","name":"PetriNet","id":0,"eClass":"EPackage"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"LocatedElement","instanceClass":null,"abstract":true,"id":1,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"NamedElement","instanceClass":null,"abstract":true,"id":2,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"PetriNet","instanceClass":null,"abstract":false,"id":3,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Element","instanceClass":null,"abstract":true,"id":4,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Place","instanceClass":null,"abstract":false,"id":5,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Transition","instanceClass":null,"abstract":false,"id":6,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Arc","instanceClass":null,"abstract":true,"id":7,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"PlaceToTransition","instanceClass":null,"abstract":false,"id":8,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"TransitionToPlace","instanceClass":null,"abstract":false,"id":9,"interface":false,"eClass":"EClass"},{"ordered":false,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":true,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"location","changeable":true,"lowerBound":1,"iD":false,"id":10,"derived":false},{"id":11,"eClass":"EGenericType"},{"ordered":false,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":true,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"name","changeable":true,"lowerBound":1,"iD":false,"id":12,"derived":false},{"id":13,"eClass":"EGenericType"},{"id":14,"eClass":"EGenericType"},{"container":false,"ordered":false,"upperBound":-1,"defaultValue":null,"volatile":false,"many":true,"required":false,"eClass":"EReference","defaultValueLiteral":null,"containment":true,"unsettable":false,"transient":false,"unique":true,"name":"elements","changeable":true,"resolveProxies":true,"lowerBound":0,"id":15,"derived":false},{"container":false,"ordered":false,"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":16,"derived":false},{"id":17,"eClass":"EGenericType"},{"id":18,"eClass":"EGenericType"},{"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":19,"derived":false},{"id":20,"eClass":"EGenericType"},{"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":21,"derived":false},{"id":22,"eClass":"EGenericType"},{"id":23,"eClass":"EGenericType"},{"container":false,"ordered":false,"upperBound":-1,"defaultValue":null,"volatile":false,"many":true,"required":false,"eClass":"EReference","defaultValueLiteral":null,"containment":false,"unsettable":false,"transient":false,"unique":true,"name":"incomingArc","changeable":true,"resolveProxies":true,"lowerBound":0,"id":24,"derived":false},{"container":false,"ordered":false,"upperBound":-1,"defaultValue":null,"volatile":false,"many":true,"required":false,"eClass":"EReference","defaultValueLiteral":null,"containment":false,"unsettable":false,"transient":false,"unique":true,"name":"outgoingArc","changeable":true,"resolveProxies":true,"lowerBound":0,"id":25,"derived":false},{"id":26,"eClass":"EGenericType"},{"id":27,"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":"to","changeable":true,"resolveProxies":true,"lowerBound":1,"id":28,"derived":false},{"id":29,"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":"from","changeable":true,"resolveProxies":true,"lowerBound":1,"id":30,"derived":false},{"container":false,"ordered":false,"upperBound":-1,"defaultValue":null,"volatile":false,"many":true,"required":true,"eClass":"EReference","defaultValueLiteral":null,"containment":false,"unsettable":false,"transient":false,"unique":true,"name":"incomingArc","changeable":true,"resolveProxies":true,"lowerBound":1,"id":31,"derived":false},{"container":false,"ordered":false,"upperBound":-1,"defaultValue":null,"volatile":false,"many":true,"required":true,"eClass":"EReference","defaultValueLiteral":null,"containment":false,"unsettable":false,"transient":false,"unique":true,"name":"outgoingArc","changeable":true,"resolveProxies":true,"lowerBound":1,"id":32,"derived":false},{"id":33,"eClass":"EGenericType"},{"id":34,"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":"to","changeable":true,"resolveProxies":true,"lowerBound":1,"id":35,"derived":false},{"id":36,"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":"from","changeable":true,"resolveProxies":true,"lowerBound":1,"id":37,"derived":false},{"ordered":false,"upperBound":1,"defaultValue":0,"volatile":false,"many":false,"required":true,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"weight","changeable":true,"lowerBound":1,"iD":false,"id":38,"derived":false},{"id":39,"eClass":"EGenericType"},{"id":40,"eClass":"EGenericType"},{"id":41,"eClass":"EGenericType"},{"id":42,"eClass":"EGenericType"},{"id":43,"eClass":"EGenericType"},{"id":44,"eClass":"EGenericType"},{"id":45,"eClass":"EGenericType"},{"id":46,"eClass":"EGenericType"},{"id":47,"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":0,"target":9},{"source":1,"target":0},{"source":1,"target":10},{"source":10,"target":11},{"source":10,"target":1},{"source":2,"target":0},{"source":2,"target":1},{"source":2,"target":12},{"source":2,"target":13},{"source":12,"target":14},{"source":12,"target":2},{"source":13,"target":1},{"source":3,"target":0},{"source":3,"target":2},{"source":3,"target":15},{"source":3,"target":16},{"source":3,"target":17},{"source":15,"target":4},{"source":15,"target":18},{"source":15,"target":3},{"source":15,"target":19},{"source":18,"target":4},{"source":16,"target":7},{"source":16,"target":20},{"source":16,"target":3},{"source":16,"target":21},{"source":20,"target":7},{"source":17,"target":2},{"source":4,"target":0},{"source":4,"target":2},{"source":4,"target":19},{"source":4,"target":22},{"source":19,"target":3},{"source":19,"target":23},{"source":19,"target":4},{"source":19,"target":15},{"source":23,"target":3},{"source":22,"target":2},{"source":5,"target":0},{"source":5,"target":4},{"source":5,"target":24},{"source":5,"target":25},{"source":5,"target":26},{"source":24,"target":9},{"source":24,"target":27},{"source":24,"target":5},{"source":24,"target":28},{"source":27,"target":9},{"source":25,"target":8},{"source":25,"target":29},{"source":25,"target":5},{"source":25,"target":30},{"source":29,"target":8},{"source":26,"target":4},{"source":6,"target":0},{"source":6,"target":4},{"source":6,"target":31},{"source":6,"target":32},{"source":6,"target":33},{"source":31,"target":8},{"source":31,"target":34},{"source":31,"target":6},{"source":31,"target":35},{"source":34,"target":8},{"source":32,"target":9},{"source":32,"target":36},{"source":32,"target":6},{"source":32,"target":37},{"source":36,"target":9},{"source":33,"target":4},{"source":7,"target":0},{"source":7,"target":2},{"source":7,"target":38},{"source":7,"target":21},{"source":7,"target":39},{"source":38,"target":40},{"source":38,"target":7},{"source":21,"target":3},{"source":21,"target":41},{"source":21,"target":7},{"source":21,"target":16},{"source":41,"target":3},{"source":39,"target":2},{"source":8,"target":0},{"source":8,"target":7},{"source":8,"target":30},{"source":8,"target":35},{"source":8,"target":42},{"source":30,"target":5},{"source":30,"target":43},{"source":30,"target":8},{"source":30,"target":25},{"source":43,"target":5},{"source":35,"target":6},{"source":35,"target":44},{"source":35,"target":8},{"source":35,"target":31},{"source":44,"target":6},{"source":42,"target":7},{"source":9,"target":0},{"source":9,"target":7},{"source":9,"target":37},{"source":9,"target":28},{"source":9,"target":45},{"source":37,"target":6},{"source":37,"target":46},{"source":37,"target":9},{"source":37,"target":32},{"source":46,"target":6},{"source":28,"target":5},{"source":28,"target":47},{"source":28,"target":9},{"source":28,"target":24},{"source":47,"target":5},{"source":45,"target":7}],"multigraph":true}