RepresentationGraph
Diagram
elements
EdgeElement
source
target
NodeElement
link
label
IconElement
filepath
path
Circle
radius
3
Rectangle
width
5
height
7
GraphicElement
color
blue
paletteName
palette
paletteIconPath
iconPath
ContainerElement
contains
Rhombus
width
5
height
5
<?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="RepresentationGraph" nsURI="http://mondo.dsl.org/mmPatterns/representationGraph"
    nsPrefix="repGraph">
  <eClassifiers xsi:type="ecore:EClass" name="Diagram">
    <eStructuralFeatures xsi:type="ecore:EReference" name="elements" upperBound="-1"
        eType="#//GraphicElement" containment="true"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="EdgeElement" eSuperTypes="#//GraphicElement">
    <eStructuralFeatures xsi:type="ecore:EReference" name="source" lowerBound="1"
        eType="#//NodeElement"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="target" lowerBound="1"
        eType="#//NodeElement"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="NodeElement" abstract="true" eSuperTypes="#//GraphicElement">
    <eStructuralFeatures xsi:type="ecore:EReference" name="link" upperBound="-1" eType="#//NodeElement"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="label" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="IconElement" eSuperTypes="#//NodeElement">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="filepath" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"
        defaultValueLiteral="path"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Circle" eSuperTypes="#//ContainerElement">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="radius" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFloatObject"
        defaultValueLiteral="3"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Rectangle" eSuperTypes="#//ContainerElement">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="width" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFloatObject"
        defaultValueLiteral="5"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="height" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFloatObject"
        defaultValueLiteral="7"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="GraphicElement" abstract="true">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="color" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"
        defaultValueLiteral="blue"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="paletteName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"
        defaultValueLiteral="palette"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="paletteIconPath" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"
        defaultValueLiteral="iconPath"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="ContainerElement" abstract="true" eSuperTypes="#//NodeElement">
    <eStructuralFeatures xsi:type="ecore:EReference" name="contains" upperBound="-1"
        eType="#//NodeElement" containment="true"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Rhombus" eSuperTypes="#//ContainerElement">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="width" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFloatObject"
        defaultValueLiteral="5"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="height" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFloatObject"
        defaultValueLiteral="5"/>
  </eClassifiers>
</ecore:EPackage>

{"directed":true,"nodes":[{"nsPrefix":"repGraph","nsURI":"http://mondo.dsl.org/mmPatterns/representationGraph","name":"RepresentationGraph","id":0,"eClass":"EPackage"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Diagram","instanceClass":null,"abstract":false,"id":1,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"EdgeElement","instanceClass":null,"abstract":false,"id":2,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"NodeElement","instanceClass":null,"abstract":true,"id":3,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"IconElement","instanceClass":null,"abstract":false,"id":4,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Circle","instanceClass":null,"abstract":false,"id":5,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Rectangle","instanceClass":null,"abstract":false,"id":6,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"GraphicElement","instanceClass":null,"abstract":true,"id":7,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"ContainerElement","instanceClass":null,"abstract":true,"id":8,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Rhombus","instanceClass":null,"abstract":false,"id":9,"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":"elements","changeable":true,"resolveProxies":true,"lowerBound":0,"id":10,"derived":false},{"id":11,"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":"source","changeable":true,"resolveProxies":true,"lowerBound":1,"id":12,"derived":false},{"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":13,"derived":false},{"id":14,"eClass":"EGenericType"},{"id":15,"eClass":"EGenericType"},{"id":16,"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":"link","changeable":true,"resolveProxies":true,"lowerBound":0,"id":17,"derived":false},{"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"label","changeable":true,"lowerBound":0,"iD":false,"id":18,"derived":false},{"id":19,"eClass":"EGenericType"},{"id":20,"eClass":"EGenericType"},{"id":21,"eClass":"EGenericType"},{"ordered":true,"upperBound":1,"defaultValue":"path","volatile":false,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":"path","unsettable":false,"transient":false,"unique":true,"name":"filepath","changeable":true,"lowerBound":0,"iD":false,"id":22,"derived":false},{"id":23,"eClass":"EGenericType"},{"id":24,"eClass":"EGenericType"},{"ordered":true,"upperBound":1,"defaultValue":3.0,"volatile":false,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":"3","unsettable":false,"transient":false,"unique":true,"name":"radius","changeable":true,"lowerBound":0,"iD":false,"id":25,"derived":false},{"id":26,"eClass":"EGenericType"},{"id":27,"eClass":"EGenericType"},{"ordered":true,"upperBound":1,"defaultValue":5.0,"volatile":false,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":"5","unsettable":false,"transient":false,"unique":true,"name":"width","changeable":true,"lowerBound":0,"iD":false,"id":28,"derived":false},{"ordered":true,"upperBound":1,"defaultValue":7.0,"volatile":false,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":"7","unsettable":false,"transient":false,"unique":true,"name":"height","changeable":true,"lowerBound":0,"iD":false,"id":29,"derived":false},{"id":30,"eClass":"EGenericType"},{"id":31,"eClass":"EGenericType"},{"id":32,"eClass":"EGenericType"},{"ordered":true,"upperBound":1,"defaultValue":"blue","volatile":false,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":"blue","unsettable":false,"transient":false,"unique":true,"name":"color","changeable":true,"lowerBound":0,"iD":false,"id":33,"derived":false},{"ordered":true,"upperBound":1,"defaultValue":"palette","volatile":false,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":"palette","unsettable":false,"transient":false,"unique":true,"name":"paletteName","changeable":true,"lowerBound":0,"iD":false,"id":34,"derived":false},{"ordered":true,"upperBound":1,"defaultValue":"iconPath","volatile":false,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":"iconPath","unsettable":false,"transient":false,"unique":true,"name":"paletteIconPath","changeable":true,"lowerBound":0,"iD":false,"id":35,"derived":false},{"id":36,"eClass":"EGenericType"},{"id":37,"eClass":"EGenericType"},{"id":38,"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":"contains","changeable":true,"resolveProxies":true,"lowerBound":0,"id":39,"derived":false},{"id":40,"eClass":"EGenericType"},{"id":41,"eClass":"EGenericType"},{"ordered":true,"upperBound":1,"defaultValue":5.0,"volatile":false,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":"5","unsettable":false,"transient":false,"unique":true,"name":"width","changeable":true,"lowerBound":0,"iD":false,"id":42,"derived":false},{"ordered":true,"upperBound":1,"defaultValue":5.0,"volatile":false,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":"5","unsettable":false,"transient":false,"unique":true,"name":"height","changeable":true,"lowerBound":0,"iD":false,"id":43,"derived":false},{"id":44,"eClass":"EGenericType"},{"id":45,"eClass":"EGenericType"},{"id":46,"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":7},{"source":10,"target":11},{"source":10,"target":1},{"source":11,"target":7},{"source":2,"target":0},{"source":2,"target":7},{"source":2,"target":12},{"source":2,"target":13},{"source":2,"target":14},{"source":12,"target":3},{"source":12,"target":15},{"source":12,"target":2},{"source":15,"target":3},{"source":13,"target":3},{"source":13,"target":16},{"source":13,"target":2},{"source":16,"target":3},{"source":14,"target":7},{"source":3,"target":0},{"source":3,"target":7},{"source":3,"target":17},{"source":3,"target":18},{"source":3,"target":19},{"source":17,"target":3},{"source":17,"target":20},{"source":17,"target":3},{"source":20,"target":3},{"source":18,"target":21},{"source":18,"target":3},{"source":19,"target":7},{"source":4,"target":0},{"source":4,"target":3},{"source":4,"target":22},{"source":4,"target":23},{"source":22,"target":24},{"source":22,"target":4},{"source":23,"target":3},{"source":5,"target":0},{"source":5,"target":8},{"source":5,"target":25},{"source":5,"target":26},{"source":25,"target":27},{"source":25,"target":5},{"source":26,"target":8},{"source":6,"target":0},{"source":6,"target":8},{"source":6,"target":28},{"source":6,"target":29},{"source":6,"target":30},{"source":28,"target":31},{"source":28,"target":6},{"source":29,"target":32},{"source":29,"target":6},{"source":30,"target":8},{"source":7,"target":0},{"source":7,"target":33},{"source":7,"target":34},{"source":7,"target":35},{"source":33,"target":36},{"source":33,"target":7},{"source":34,"target":37},{"source":34,"target":7},{"source":35,"target":38},{"source":35,"target":7},{"source":8,"target":0},{"source":8,"target":3},{"source":8,"target":39},{"source":8,"target":40},{"source":39,"target":3},{"source":39,"target":41},{"source":39,"target":8},{"source":41,"target":3},{"source":40,"target":3},{"source":9,"target":0},{"source":9,"target":8},{"source":9,"target":42},{"source":9,"target":43},{"source":9,"target":44},{"source":42,"target":45},{"source":42,"target":9},{"source":43,"target":46},{"source":43,"target":9},{"source":44,"target":8}],"multigraph":true}