petrinet
Place
net
outArcs
inArcs
tokens
Transition
net
inArcs
outArcs
Arc
weight
1
NamedElement
name
PetriNet
places
transitions
PTArc
source
target
TPArc
source
target
Token
place
<?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="petrinet" nsURI="http://inf.mit.bme.hu/petrinet/2014" nsPrefix="petrinet">
  <eClassifiers xsi:type="ecore:EClass" name="Place" eSuperTypes="#//NamedElement">
    <eStructuralFeatures xsi:type="ecore:EReference" name="net" lowerBound="1" eType="#//PetriNet"
        eOpposite="#//PetriNet/places"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="outArcs" upperBound="-1"
        eType="#//PTArc" containment="true" eOpposite="#//PTArc/source"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="inArcs" upperBound="-1"
        eType="#//TPArc" eOpposite="#//TPArc/target"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="tokens" upperBound="-1"
        eType="#//Token" containment="true" eOpposite="#//Token/place"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Transition" eSuperTypes="#//NamedElement">
    <eStructuralFeatures xsi:type="ecore:EReference" name="net" lowerBound="1" eType="#//PetriNet"
        eOpposite="#//PetriNet/transitions"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="inArcs" upperBound="-1"
        eType="#//PTArc" eOpposite="#//PTArc/target"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="outArcs" upperBound="-1"
        eType="#//TPArc" containment="true" eOpposite="#//TPArc/source"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Arc" abstract="true">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="weight" lowerBound="1"
        eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt" defaultValueLiteral="1"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="NamedElement">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="PetriNet">
    <eStructuralFeatures xsi:type="ecore:EReference" name="places" upperBound="-1"
        eType="#//Place" containment="true" eOpposite="#//Place/net"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="transitions" upperBound="-1"
        eType="#//Transition" containment="true" eOpposite="#//Transition/net"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="PTArc" eSuperTypes="#//Arc">
    <eStructuralFeatures xsi:type="ecore:EReference" name="source" lowerBound="1"
        eType="#//Place" eOpposite="#//Place/outArcs"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="target" lowerBound="1"
        eType="#//Transition" eOpposite="#//Transition/inArcs"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="TPArc" eSuperTypes="#//Arc">
    <eStructuralFeatures xsi:type="ecore:EReference" name="source" lowerBound="1"
        eType="#//Transition" eOpposite="#//Transition/outArcs"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="target" lowerBound="1"
        eType="#//Place" eOpposite="#//Place/inArcs"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Token">
    <eStructuralFeatures xsi:type="ecore:EReference" name="place" lowerBound="1" eType="#//Place"
        eOpposite="#//Place/tokens"/>
  </eClassifiers>
</ecore:EPackage>

{"directed":true,"nodes":[{"nsPrefix":"petrinet","nsURI":"http://inf.mit.bme.hu/petrinet/2014","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":"Arc","instanceClass":null,"abstract":true,"id":3,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"NamedElement","instanceClass":null,"abstract":false,"id":4,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"PetriNet","instanceClass":null,"abstract":false,"id":5,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"PTArc","instanceClass":null,"abstract":false,"id":6,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"TPArc","instanceClass":null,"abstract":false,"id":7,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Token","instanceClass":null,"abstract":false,"id":8,"interface":false,"eClass":"EClass"},{"container":true,"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":"net","changeable":true,"resolveProxies":true,"lowerBound":1,"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":"outArcs","changeable":true,"resolveProxies":true,"lowerBound":0,"id":10,"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":"inArcs","changeable":true,"resolveProxies":true,"lowerBound":0,"id":11,"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":"tokens","changeable":true,"resolveProxies":true,"lowerBound":0,"id":12,"derived":false},{"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":true,"unsettable":false,"transient":false,"unique":true,"name":"places","changeable":true,"resolveProxies":true,"lowerBound":0,"id":15,"derived":false},{"id":16,"eClass":"EGenericType"},{"container":true,"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":17,"derived":false},{"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":"target","changeable":true,"resolveProxies":true,"lowerBound":1,"id":19,"derived":false},{"id":20,"eClass":"EGenericType"},{"container":true,"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":"place","changeable":true,"resolveProxies":true,"lowerBound":1,"id":21,"derived":false},{"container":true,"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":"net","changeable":true,"resolveProxies":true,"lowerBound":1,"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":"inArcs","changeable":true,"resolveProxies":true,"lowerBound":0,"id":23,"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":"outArcs","changeable":true,"resolveProxies":true,"lowerBound":0,"id":24,"derived":false},{"id":25,"eClass":"EGenericType"},{"id":26,"eClass":"EGenericType"},{"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":27,"derived":false},{"id":28,"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":"target","changeable":true,"resolveProxies":true,"lowerBound":1,"id":29,"derived":false},{"id":30,"eClass":"EGenericType"},{"container":true,"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":31,"derived":false},{"ordered":true,"upperBound":1,"defaultValue":1,"volatile":false,"many":false,"required":true,"eClass":"EAttribute","defaultValueLiteral":"1","unsettable":false,"transient":false,"unique":true,"name":"weight","changeable":true,"lowerBound":1,"iD":false,"id":32,"derived":false},{"id":33,"eClass":"EGenericType"},{"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":34,"derived":false},{"id":35,"eClass":"EGenericType"},{"id":36,"eClass":"EGenericType"},{"id":37,"eClass":"EGenericType"},{"id":38,"eClass":"EGenericType"},{"id":39,"eClass":"EGenericType"},{"id":40,"eClass":"EGenericType"},{"id":41,"eClass":"EGenericType"},{"id":42,"eClass":"EGenericType"},{"id":43,"eClass":"EGenericType"},{"id":44,"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":4},{"source":1,"target":9},{"source":1,"target":10},{"source":1,"target":11},{"source":1,"target":12},{"source":1,"target":13},{"source":9,"target":5},{"source":9,"target":14},{"source":9,"target":1},{"source":9,"target":15},{"source":14,"target":5},{"source":10,"target":6},{"source":10,"target":16},{"source":10,"target":1},{"source":10,"target":17},{"source":16,"target":6},{"source":11,"target":7},{"source":11,"target":18},{"source":11,"target":1},{"source":11,"target":19},{"source":18,"target":7},{"source":12,"target":8},{"source":12,"target":20},{"source":12,"target":1},{"source":12,"target":21},{"source":20,"target":8},{"source":13,"target":4},{"source":2,"target":0},{"source":2,"target":4},{"source":2,"target":22},{"source":2,"target":23},{"source":2,"target":24},{"source":2,"target":25},{"source":22,"target":5},{"source":22,"target":26},{"source":22,"target":2},{"source":22,"target":27},{"source":26,"target":5},{"source":23,"target":6},{"source":23,"target":28},{"source":23,"target":2},{"source":23,"target":29},{"source":28,"target":6},{"source":24,"target":7},{"source":24,"target":30},{"source":24,"target":2},{"source":24,"target":31},{"source":30,"target":7},{"source":25,"target":4},{"source":3,"target":0},{"source":3,"target":32},{"source":32,"target":33},{"source":32,"target":3},{"source":4,"target":0},{"source":4,"target":34},{"source":34,"target":35},{"source":34,"target":4},{"source":5,"target":0},{"source":5,"target":15},{"source":5,"target":27},{"source":15,"target":1},{"source":15,"target":36},{"source":15,"target":5},{"source":15,"target":9},{"source":36,"target":1},{"source":27,"target":2},{"source":27,"target":37},{"source":27,"target":5},{"source":27,"target":22},{"source":37,"target":2},{"source":6,"target":0},{"source":6,"target":3},{"source":6,"target":17},{"source":6,"target":29},{"source":6,"target":38},{"source":17,"target":1},{"source":17,"target":39},{"source":17,"target":6},{"source":17,"target":10},{"source":39,"target":1},{"source":29,"target":2},{"source":29,"target":40},{"source":29,"target":6},{"source":29,"target":23},{"source":40,"target":2},{"source":38,"target":3},{"source":7,"target":0},{"source":7,"target":3},{"source":7,"target":31},{"source":7,"target":19},{"source":7,"target":41},{"source":31,"target":2},{"source":31,"target":42},{"source":31,"target":7},{"source":31,"target":24},{"source":42,"target":2},{"source":19,"target":1},{"source":19,"target":43},{"source":19,"target":7},{"source":19,"target":11},{"source":43,"target":1},{"source":41,"target":3},{"source":8,"target":0},{"source":8,"target":21},{"source":21,"target":1},{"source":21,"target":44},{"source":21,"target":8},{"source":21,"target":12},{"source":44,"target":1}],"multigraph":true}