PetriNet
Element
PetriNet
places
transitions
arcs
Place
incoming
outgoing
net
Transition
incoming
outgoing
Arc
weight
PlaceToTransArc
source
target
TransToPlaceArc
source
target
WeightedArc
PrimitiveTypes
String
java.lang.Object
String
Integer
java.lang.Object
Integer
<?xml version="1.0" encoding="ASCII"?>
<xmi:XMI 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">
  <ecore:EPackage name="PetriNet" nsURI="http://cs.gssi.it/petrinet" nsPrefix="petrinet">
    <eClassifiers xsi:type="ecore:EClass" name="Element" abstract="true"/>
    <eClassifiers xsi:type="ecore:EClass" name="PetriNet" eSuperTypes="#/0/Element">
      <eStructuralFeatures xsi:type="ecore:EReference" name="places" ordered="false"
          lowerBound="1" upperBound="-1" eType="#/0/Place" containment="true" eOpposite="#/0/Place/net"/>
      <eStructuralFeatures xsi:type="ecore:EReference" name="transitions" ordered="false"
          upperBound="-1" eType="#/0/Transition" containment="true"/>
      <eStructuralFeatures xsi:type="ecore:EReference" name="arcs" ordered="false"
          upperBound="-1" eType="#/0/Arc" containment="true"/>
    </eClassifiers>
    <eClassifiers xsi:type="ecore:EClass" name="Place" eSuperTypes="#/0/Element">
      <eStructuralFeatures xsi:type="ecore:EReference" name="incoming" ordered="false"
          upperBound="-1" eType="#/0/TransToPlaceArc" eOpposite="#/0/TransToPlaceArc/target"/>
      <eStructuralFeatures xsi:type="ecore:EReference" name="outgoing" ordered="false"
          upperBound="-1" eType="#/0/PlaceToTransArc" eOpposite="#/0/PlaceToTransArc/source"/>
      <eStructuralFeatures xsi:type="ecore:EReference" name="net" lowerBound="1" eType="#/0/PetriNet"
          eOpposite="#/0/PetriNet/places"/>
    </eClassifiers>
    <eClassifiers xsi:type="ecore:EClass" name="Transition" eSuperTypes="#/0/Element">
      <eStructuralFeatures xsi:type="ecore:EReference" name="incoming" ordered="false"
          lowerBound="1" upperBound="-1" eType="#/0/PlaceToTransArc" eOpposite="#/0/PlaceToTransArc/target"/>
      <eStructuralFeatures xsi:type="ecore:EReference" name="outgoing" ordered="false"
          lowerBound="1" upperBound="-1" eType="#/0/TransToPlaceArc" eOpposite="#/0/TransToPlaceArc/source"/>
    </eClassifiers>
    <eClassifiers xsi:type="ecore:EClass" name="Arc">
      <eStructuralFeatures xsi:type="ecore:EAttribute" name="weight" ordered="false"
          lowerBound="1" eType="#/1/Integer"/>
    </eClassifiers>
    <eClassifiers xsi:type="ecore:EClass" name="PlaceToTransArc" eSuperTypes="#/0/Arc">
      <eStructuralFeatures xsi:type="ecore:EReference" name="source" ordered="false"
          lowerBound="1" eType="#/0/Place" eOpposite="#/0/Place/outgoing"/>
      <eStructuralFeatures xsi:type="ecore:EReference" name="target" ordered="false"
          lowerBound="1" eType="#/0/Transition" eOpposite="#/0/Transition/incoming"/>
    </eClassifiers>
    <eClassifiers xsi:type="ecore:EClass" name="TransToPlaceArc" eSuperTypes="#/0/Arc">
      <eStructuralFeatures xsi:type="ecore:EReference" name="source" ordered="false"
          lowerBound="1" eType="#/0/Transition" eOpposite="#/0/Transition/outgoing"/>
      <eStructuralFeatures xsi:type="ecore:EReference" name="target" ordered="false"
          lowerBound="1" eType="#/0/Place" eOpposite="#/0/Place/incoming"/>
    </eClassifiers>
    <eClassifiers xsi:type="ecore:EClass" name="WeightedArc" eSuperTypes="#/0/Arc"/>
  </ecore:EPackage>
  <ecore:EPackage name="PrimitiveTypes" nsURI="http://pt" nsPrefix="pt">
    <eClassifiers xsi:type="ecore:EDataType" name="String" instanceTypeName="String"/>
    <eClassifiers xsi:type="ecore:EDataType" name="Integer" instanceTypeName="Integer"/>
  </ecore:EPackage>
</xmi:XMI>

{"directed":true,"nodes":[{"nsPrefix":"petrinet","nsURI":"http://cs.gssi.it/petrinet","name":"PetriNet","id":0,"eClass":"EPackage"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Element","instanceClass":null,"abstract":true,"id":1,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"PetriNet","instanceClass":null,"abstract":false,"id":2,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Place","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":"Arc","instanceClass":null,"abstract":false,"id":5,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"PlaceToTransArc","instanceClass":null,"abstract":false,"id":6,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"TransToPlaceArc","instanceClass":null,"abstract":false,"id":7,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"WeightedArc","instanceClass":null,"abstract":false,"id":8,"interface":false,"eClass":"EClass"},{"container":false,"ordered":false,"upperBound":-1,"defaultValue":null,"volatile":false,"many":true,"required":true,"eClass":"EReference","defaultValueLiteral":null,"containment":true,"unsettable":false,"transient":false,"unique":true,"name":"places","changeable":true,"resolveProxies":true,"lowerBound":1,"id":9,"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":"transitions","changeable":true,"resolveProxies":true,"lowerBound":0,"id":10,"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":11,"derived":false},{"id":12,"eClass":"EGenericType"},{"id":13,"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":"net","changeable":true,"resolveProxies":true,"lowerBound":1,"id":14,"derived":false},{"id":15,"eClass":"EGenericType"},{"id":16,"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":"incoming","changeable":true,"resolveProxies":true,"lowerBound":0,"id":17,"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":"outgoing","changeable":true,"resolveProxies":true,"lowerBound":0,"id":18,"derived":false},{"id":19,"eClass":"EGenericType"},{"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":"target","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":"source","changeable":true,"resolveProxies":true,"lowerBound":1,"id":23,"derived":false},{"id":24,"eClass":"EGenericType"},{"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":"incoming","changeable":true,"resolveProxies":true,"lowerBound":1,"id":25,"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":"outgoing","changeable":true,"resolveProxies":true,"lowerBound":1,"id":26,"derived":false},{"id":27,"eClass":"EGenericType"},{"id":28,"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":"target","changeable":true,"resolveProxies":true,"lowerBound":1,"id":29,"derived":false},{"id":30,"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":"source","changeable":true,"resolveProxies":true,"lowerBound":1,"id":31,"derived":false},{"ordered":false,"upperBound":1,"defaultValue":null,"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":32,"derived":false},{"instanceTypeName":"Integer","defaultValue":null,"instanceClassName":"java.lang.Object","name":"Integer","instanceClass":"java.lang.Object","id":33,"serializable":true,"eClass":"EDataType"},{"id":34,"eClass":"EGenericType"},{"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"},{"nsPrefix":"pt","nsURI":"http://pt","name":"PrimitiveTypes","id":42,"eClass":"EPackage"},{"instanceTypeName":"String","defaultValue":null,"instanceClassName":"java.lang.Object","name":"String","instanceClass":"java.lang.Object","id":43,"serializable":true,"eClass":"EDataType"}],"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":2,"target":0},{"source":2,"target":1},{"source":2,"target":9},{"source":2,"target":10},{"source":2,"target":11},{"source":2,"target":12},{"source":9,"target":3},{"source":9,"target":13},{"source":9,"target":2},{"source":9,"target":14},{"source":13,"target":3},{"source":10,"target":4},{"source":10,"target":15},{"source":10,"target":2},{"source":15,"target":4},{"source":11,"target":5},{"source":11,"target":16},{"source":11,"target":2},{"source":16,"target":5},{"source":12,"target":1},{"source":3,"target":0},{"source":3,"target":1},{"source":3,"target":17},{"source":3,"target":18},{"source":3,"target":14},{"source":3,"target":19},{"source":17,"target":7},{"source":17,"target":20},{"source":17,"target":3},{"source":17,"target":21},{"source":20,"target":7},{"source":18,"target":6},{"source":18,"target":22},{"source":18,"target":3},{"source":18,"target":23},{"source":22,"target":6},{"source":14,"target":2},{"source":14,"target":24},{"source":14,"target":3},{"source":14,"target":9},{"source":24,"target":2},{"source":19,"target":1},{"source":4,"target":0},{"source":4,"target":1},{"source":4,"target":25},{"source":4,"target":26},{"source":4,"target":27},{"source":25,"target":6},{"source":25,"target":28},{"source":25,"target":4},{"source":25,"target":29},{"source":28,"target":6},{"source":26,"target":7},{"source":26,"target":30},{"source":26,"target":4},{"source":26,"target":31},{"source":30,"target":7},{"source":27,"target":1},{"source":5,"target":0},{"source":5,"target":32},{"source":32,"target":33},{"source":32,"target":34},{"source":32,"target":5},{"source":34,"target":33},{"source":6,"target":0},{"source":6,"target":5},{"source":6,"target":23},{"source":6,"target":29},{"source":6,"target":35},{"source":23,"target":3},{"source":23,"target":36},{"source":23,"target":6},{"source":23,"target":18},{"source":36,"target":3},{"source":29,"target":4},{"source":29,"target":37},{"source":29,"target":6},{"source":29,"target":25},{"source":37,"target":4},{"source":35,"target":5},{"source":7,"target":0},{"source":7,"target":5},{"source":7,"target":31},{"source":7,"target":21},{"source":7,"target":38},{"source":31,"target":4},{"source":31,"target":39},{"source":31,"target":7},{"source":31,"target":26},{"source":39,"target":4},{"source":21,"target":3},{"source":21,"target":40},{"source":21,"target":7},{"source":21,"target":17},{"source":40,"target":3},{"source":38,"target":5},{"source":8,"target":0},{"source":8,"target":5},{"source":8,"target":41},{"source":41,"target":5},{"source":42,"target":43},{"source":42,"target":33},{"source":43,"target":42},{"source":33,"target":42}],"multigraph":true}