OverlappingTree
Tree
root
children
NodeKind
tree
children
nodeChildren
Child
node
parent
<?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="OverlappingTree" nsURI="http://mondo.dsl.org/mmPatterns/overlappingTree"
    nsPrefix="overlappingTree">
  <eClassifiers xsi:type="ecore:EClass" name="Tree">
    <eStructuralFeatures xsi:type="ecore:EReference" name="root" lowerBound="1" eType="#//NodeKind"
        eOpposite="#//NodeKind/tree"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="children" upperBound="-1"
        eType="#//Child" containment="true"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="NodeKind">
    <eStructuralFeatures xsi:type="ecore:EReference" name="tree" upperBound="-1" eType="#//Tree"
        eOpposite="#//Tree/root"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="children" upperBound="-1"
        eType="#//Child" containment="true" eOpposite="#//Child/parent"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="nodeChildren" upperBound="-1"
        eType="#//Child" eOpposite="#//Child/node"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Child">
    <eStructuralFeatures xsi:type="ecore:EReference" name="node" lowerBound="1" eType="#//NodeKind"
        eOpposite="#//NodeKind/nodeChildren"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="parent" eType="#//NodeKind"
        eOpposite="#//NodeKind/children"/>
  </eClassifiers>
</ecore:EPackage>

{"directed":true,"nodes":[{"nsPrefix":"overlappingTree","nsURI":"http://mondo.dsl.org/mmPatterns/overlappingTree","name":"OverlappingTree","id":0,"eClass":"EPackage"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Tree","instanceClass":null,"abstract":false,"id":1,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"NodeKind","instanceClass":null,"abstract":false,"id":2,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Child","instanceClass":null,"abstract":false,"id":3,"interface":false,"eClass":"EClass"},{"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":"root","changeable":true,"resolveProxies":true,"lowerBound":1,"id":4,"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":"children","changeable":true,"resolveProxies":true,"lowerBound":0,"id":5,"derived":false},{"id":6,"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":"tree","changeable":true,"resolveProxies":true,"lowerBound":0,"id":7,"derived":false},{"id":8,"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":"children","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":false,"unsettable":false,"transient":false,"unique":true,"name":"nodeChildren","changeable":true,"resolveProxies":true,"lowerBound":0,"id":10,"derived":false},{"id":11,"eClass":"EGenericType"},{"id":12,"eClass":"EGenericType"},{"container":true,"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":false,"eClass":"EReference","defaultValueLiteral":null,"containment":false,"unsettable":false,"transient":false,"unique":true,"name":"parent","changeable":true,"resolveProxies":true,"lowerBound":0,"id":13,"derived":false},{"id":14,"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":"node","changeable":true,"resolveProxies":true,"lowerBound":1,"id":15,"derived":false},{"id":16,"eClass":"EGenericType"},{"id":17,"eClass":"EGenericType"}],"links":[{"source":0,"target":1},{"source":0,"target":2},{"source":0,"target":3},{"source":1,"target":0},{"source":1,"target":4},{"source":1,"target":5},{"source":4,"target":2},{"source":4,"target":6},{"source":4,"target":1},{"source":4,"target":7},{"source":6,"target":2},{"source":5,"target":3},{"source":5,"target":8},{"source":5,"target":1},{"source":8,"target":3},{"source":2,"target":0},{"source":2,"target":7},{"source":2,"target":9},{"source":2,"target":10},{"source":7,"target":1},{"source":7,"target":11},{"source":7,"target":2},{"source":7,"target":4},{"source":11,"target":1},{"source":9,"target":3},{"source":9,"target":12},{"source":9,"target":2},{"source":9,"target":13},{"source":12,"target":3},{"source":10,"target":3},{"source":10,"target":14},{"source":10,"target":2},{"source":10,"target":15},{"source":14,"target":3},{"source":3,"target":0},{"source":3,"target":15},{"source":3,"target":13},{"source":15,"target":2},{"source":15,"target":16},{"source":15,"target":3},{"source":15,"target":10},{"source":16,"target":2},{"source":13,"target":2},{"source":13,"target":17},{"source":13,"target":3},{"source":13,"target":9},{"source":17,"target":2}],"multigraph":true}