Jelajahi Sumber

Add a generated FTG description

Joeri Exelmans 2 tahun lalu
induk
melakukan
5438104f49

+ 36 - 0
examples/oml/SystemDesignOntology2Layers/src/oml/ua.be/sdo2l/description/artifacts/FTG_corr.oml

@@ -0,0 +1,36 @@
+// Warning: Generated Code! Do not edit!
+// This file contains the correspondence links between concrete syntax (Drawio) and abstract syntax (FTG).
+// Input file: /home/maestro/repos/drawio2oml/test/data/pm/MyFTGPM.drawio
+// Page: FTG
+// Generator: https://msdl.uantwerpen.be/git/jexelmans/drawio2oml
+
+description <http://ua.be/sdo2l/description/artifacts/FTG_corr#> as FTG_corr {
+
+  uses <http://ua.be/sdo2l/vocabulary/formalisms/cs_as#> as cs_as
+  uses <http://ua.be/sdo2l/vocabulary/formalisms/object_diagram#> as object_diagram
+
+  extends <http://ua.be/sdo2l/description/artifacts/FTG_drawio#> as my_drawio
+  extends <http://ua.be/sdo2l/description/artifacts/FTG_ftg#> as my_ftg
+
+  ci model : cs_as:CorrespondenceModel [
+    object_diagram:hasName "FTG_corr"
+  ]
+
+  ri trace_drawio_VtfaJCiFz_Gr-LFw8VM8-3_f_xopp : cs_as:CS_AS_Link [
+    from my_drawio:cell_VtfaJCiFz_Gr-LFw8VM8-3
+    to my_ftg:f_xopp
+    object_diagram:inModel model
+  ]
+
+  ri trace_drawio_VtfaJCiFz_Gr-LFw8VM8-1_t_Sketch : cs_as:CS_AS_Link [
+    from my_drawio:cell_VtfaJCiFz_Gr-LFw8VM8-1
+    to my_ftg:t_Sketch
+    object_diagram:inModel model
+  ]
+
+  ri trace_drawio_VtfaJCiFz_Gr-LFw8VM8-2_t_LookAtSketch : cs_as:CS_AS_Link [
+    from my_drawio:cell_VtfaJCiFz_Gr-LFw8VM8-2
+    to my_ftg:t_LookAtSketch
+    object_diagram:inModel model
+  ]
+}

+ 367 - 0
examples/oml/SystemDesignOntology2Layers/src/oml/ua.be/sdo2l/description/artifacts/FTG_drawio.oml

@@ -0,0 +1,367 @@
+// Warning: Generated code! Do not edit!
+// Input: '/home/maestro/repos/drawio2oml/test/data/pm/MyFTGPM.drawio'
+// Page: 'FTG:ftg'
+// Generator: https://msdl.uantwerpen.be/git/jexelmans/drawio2oml/drawio2oml/oml_generator.py
+// Minimal mode enabled: Pgae/cell attributes, style, and geometries have been omitted (making the drawio-> OML conversion lossy).
+
+description <http://ua.be/sdo2l/description/artifacts/FTG_drawio#> as FTG_drawio {
+
+  uses <http://ua.be/sdo2l/vocabulary/formalisms/drawio#> as drawio
+  uses <http://ua.be/sdo2l/vocabulary/formalisms/object_diagram#> as object_diagram
+  uses <http://ua.be/sdo2l/vocabulary/formalisms/dict#> as dict
+
+  ci model : drawio:Model [
+    drawio:hasDrawioId "YVygtv9K43TlsMS-lPn0"
+    object_diagram:hasName "FTG:ftg_drawio"
+  ]
+
+  
+  ci cell_0 : drawio:Cell [
+    drawio:hasDrawioId "0"
+    drawio:isRootOf model
+    object_diagram:inModel model
+  ]
+  
+
+  
+  ci cell_1 : drawio:Cell [
+    drawio:hasDrawioId "1"
+    drawio:hasParent cell_0
+    object_diagram:inModel model
+  ]
+  
+
+  
+  ci cell_VtfaJCiFz_Gr-LFw8VM8-1 : drawio:Vertex [
+    drawio:hasDrawioId "VtfaJCiFz_Gr-LFw8VM8-1"
+    drawio:hasParent cell_1
+    object_diagram:inModel model
+  ]
+  
+  ci cell_VtfaJCiFz_Gr-LFw8VM8-1_prop_label : drawio:CellProperty [
+    dict:hasKey "label"
+    dict:hasValue "<span style=\"color: rgb(0 , 0 , 0)\">%name%<br></span>"
+    drawio:propertyOf cell_VtfaJCiFz_Gr-LFw8VM8-1
+    object_diagram:inModel model
+  ]
+  ci cell_VtfaJCiFz_Gr-LFw8VM8-1_prop_pmRole : drawio:CellProperty [
+    dict:hasKey "pmRole"
+    dict:hasValue "transformation"
+    drawio:propertyOf cell_VtfaJCiFz_Gr-LFw8VM8-1
+    object_diagram:inModel model
+  ]
+  ci cell_VtfaJCiFz_Gr-LFw8VM8-1_prop_name : drawio:CellProperty [
+    dict:hasKey "name"
+    dict:hasValue "Sketch"
+    drawio:propertyOf cell_VtfaJCiFz_Gr-LFw8VM8-1
+    object_diagram:inModel model
+  ]
+  ci cell_VtfaJCiFz_Gr-LFw8VM8-1_prop_placeholders : drawio:CellProperty [
+    dict:hasKey "placeholders"
+    dict:hasValue "1"
+    drawio:propertyOf cell_VtfaJCiFz_Gr-LFw8VM8-1
+    object_diagram:inModel model
+  ]
+
+  
+  ci cell_EqKHQVYl8EeoPwSADTUR-1 : drawio:Vertex [
+    drawio:hasDrawioId "EqKHQVYl8EeoPwSADTUR-1"
+    drawio:hasParent cell_VtfaJCiFz_Gr-LFw8VM8-1
+    object_diagram:inModel model
+  ]
+  
+  ci cell_EqKHQVYl8EeoPwSADTUR-1_prop_label : drawio:CellProperty [
+    dict:hasKey "label"
+    dict:hasValue "%portname%"
+    drawio:propertyOf cell_EqKHQVYl8EeoPwSADTUR-1
+    object_diagram:inModel model
+  ]
+  ci cell_EqKHQVYl8EeoPwSADTUR-1_prop_portname : drawio:CellProperty [
+    dict:hasKey "portname"
+    dict:hasValue "sketch"
+    drawio:propertyOf cell_EqKHQVYl8EeoPwSADTUR-1
+    object_diagram:inModel model
+  ]
+  ci cell_EqKHQVYl8EeoPwSADTUR-1_prop_placeholders : drawio:CellProperty [
+    dict:hasKey "placeholders"
+    dict:hasValue "1"
+    drawio:propertyOf cell_EqKHQVYl8EeoPwSADTUR-1
+    object_diagram:inModel model
+  ]
+  ci cell_EqKHQVYl8EeoPwSADTUR-1_prop_pmRole : drawio:CellProperty [
+    dict:hasKey "pmRole"
+    dict:hasValue "data_out"
+    drawio:propertyOf cell_EqKHQVYl8EeoPwSADTUR-1
+    object_diagram:inModel model
+  ]
+
+  
+  ci cell_U-WCfqdPIaIzBgybzCb9-1 : drawio:Vertex [
+    drawio:hasDrawioId "U-WCfqdPIaIzBgybzCb9-1"
+    drawio:hasParent cell_VtfaJCiFz_Gr-LFw8VM8-1
+    object_diagram:inModel model
+  ]
+  
+  ci cell_U-WCfqdPIaIzBgybzCb9-1_prop_label : drawio:CellProperty [
+    dict:hasKey "label"
+    dict:hasValue "%portname%"
+    drawio:propertyOf cell_U-WCfqdPIaIzBgybzCb9-1
+    object_diagram:inModel model
+  ]
+  ci cell_U-WCfqdPIaIzBgybzCb9-1_prop_portname : drawio:CellProperty [
+    dict:hasKey "portname"
+    dict:hasValue "cin"
+    drawio:propertyOf cell_U-WCfqdPIaIzBgybzCb9-1
+    object_diagram:inModel model
+  ]
+  ci cell_U-WCfqdPIaIzBgybzCb9-1_prop_placeholders : drawio:CellProperty [
+    dict:hasKey "placeholders"
+    dict:hasValue "1"
+    drawio:propertyOf cell_U-WCfqdPIaIzBgybzCb9-1
+    object_diagram:inModel model
+  ]
+  ci cell_U-WCfqdPIaIzBgybzCb9-1_prop_pmRole : drawio:CellProperty [
+    dict:hasKey "pmRole"
+    dict:hasValue "ctrl_in"
+    drawio:propertyOf cell_U-WCfqdPIaIzBgybzCb9-1
+    object_diagram:inModel model
+  ]
+
+  
+  ci cell_U-WCfqdPIaIzBgybzCb9-2 : drawio:Vertex [
+    drawio:hasDrawioId "U-WCfqdPIaIzBgybzCb9-2"
+    drawio:hasParent cell_VtfaJCiFz_Gr-LFw8VM8-1
+    object_diagram:inModel model
+  ]
+  
+  ci cell_U-WCfqdPIaIzBgybzCb9-2_prop_label : drawio:CellProperty [
+    dict:hasKey "label"
+    dict:hasValue "%portname%"
+    drawio:propertyOf cell_U-WCfqdPIaIzBgybzCb9-2
+    object_diagram:inModel model
+  ]
+  ci cell_U-WCfqdPIaIzBgybzCb9-2_prop_portname : drawio:CellProperty [
+    dict:hasKey "portname"
+    dict:hasValue "cout"
+    drawio:propertyOf cell_U-WCfqdPIaIzBgybzCb9-2
+    object_diagram:inModel model
+  ]
+  ci cell_U-WCfqdPIaIzBgybzCb9-2_prop_placeholders : drawio:CellProperty [
+    dict:hasKey "placeholders"
+    dict:hasValue "1"
+    drawio:propertyOf cell_U-WCfqdPIaIzBgybzCb9-2
+    object_diagram:inModel model
+  ]
+  ci cell_U-WCfqdPIaIzBgybzCb9-2_prop_pmRole : drawio:CellProperty [
+    dict:hasKey "pmRole"
+    dict:hasValue "ctrl_out"
+    drawio:propertyOf cell_U-WCfqdPIaIzBgybzCb9-2
+    object_diagram:inModel model
+  ]
+
+  
+  ci cell_VtfaJCiFz_Gr-LFw8VM8-2 : drawio:Vertex [
+    drawio:hasDrawioId "VtfaJCiFz_Gr-LFw8VM8-2"
+    drawio:hasParent cell_1
+    object_diagram:inModel model
+  ]
+  
+  ci cell_VtfaJCiFz_Gr-LFw8VM8-2_prop_label : drawio:CellProperty [
+    dict:hasKey "label"
+    dict:hasValue "<span style=\"color: rgb(0 , 0 , 0)\">%name%<br></span>"
+    drawio:propertyOf cell_VtfaJCiFz_Gr-LFw8VM8-2
+    object_diagram:inModel model
+  ]
+  ci cell_VtfaJCiFz_Gr-LFw8VM8-2_prop_pmRole : drawio:CellProperty [
+    dict:hasKey "pmRole"
+    dict:hasValue "transformation"
+    drawio:propertyOf cell_VtfaJCiFz_Gr-LFw8VM8-2
+    object_diagram:inModel model
+  ]
+  ci cell_VtfaJCiFz_Gr-LFw8VM8-2_prop_name : drawio:CellProperty [
+    dict:hasKey "name"
+    dict:hasValue "LookAtSketch"
+    drawio:propertyOf cell_VtfaJCiFz_Gr-LFw8VM8-2
+    object_diagram:inModel model
+  ]
+  ci cell_VtfaJCiFz_Gr-LFw8VM8-2_prop_placeholders : drawio:CellProperty [
+    dict:hasKey "placeholders"
+    dict:hasValue "1"
+    drawio:propertyOf cell_VtfaJCiFz_Gr-LFw8VM8-2
+    object_diagram:inModel model
+  ]
+
+  
+  ci cell_EqKHQVYl8EeoPwSADTUR-2 : drawio:Vertex [
+    drawio:hasDrawioId "EqKHQVYl8EeoPwSADTUR-2"
+    drawio:hasParent cell_VtfaJCiFz_Gr-LFw8VM8-2
+    object_diagram:inModel model
+  ]
+  
+  ci cell_EqKHQVYl8EeoPwSADTUR-2_prop_label : drawio:CellProperty [
+    dict:hasKey "label"
+    dict:hasValue "%portname%"
+    drawio:propertyOf cell_EqKHQVYl8EeoPwSADTUR-2
+    object_diagram:inModel model
+  ]
+  ci cell_EqKHQVYl8EeoPwSADTUR-2_prop_portname : drawio:CellProperty [
+    dict:hasKey "portname"
+    dict:hasValue "sketch"
+    drawio:propertyOf cell_EqKHQVYl8EeoPwSADTUR-2
+    object_diagram:inModel model
+  ]
+  ci cell_EqKHQVYl8EeoPwSADTUR-2_prop_placeholders : drawio:CellProperty [
+    dict:hasKey "placeholders"
+    dict:hasValue "1"
+    drawio:propertyOf cell_EqKHQVYl8EeoPwSADTUR-2
+    object_diagram:inModel model
+  ]
+  ci cell_EqKHQVYl8EeoPwSADTUR-2_prop_pmRole : drawio:CellProperty [
+    dict:hasKey "pmRole"
+    dict:hasValue "data_in"
+    drawio:propertyOf cell_EqKHQVYl8EeoPwSADTUR-2
+    object_diagram:inModel model
+  ]
+
+  
+  ci cell_oHMH89KefE3Ma0cPWZd5-1 : drawio:Vertex [
+    drawio:hasDrawioId "oHMH89KefE3Ma0cPWZd5-1"
+    drawio:hasParent cell_VtfaJCiFz_Gr-LFw8VM8-2
+    object_diagram:inModel model
+  ]
+  
+  ci cell_oHMH89KefE3Ma0cPWZd5-1_prop_label : drawio:CellProperty [
+    dict:hasKey "label"
+    dict:hasValue "%portname%"
+    drawio:propertyOf cell_oHMH89KefE3Ma0cPWZd5-1
+    object_diagram:inModel model
+  ]
+  ci cell_oHMH89KefE3Ma0cPWZd5-1_prop_portname : drawio:CellProperty [
+    dict:hasKey "portname"
+    dict:hasValue "cin"
+    drawio:propertyOf cell_oHMH89KefE3Ma0cPWZd5-1
+    object_diagram:inModel model
+  ]
+  ci cell_oHMH89KefE3Ma0cPWZd5-1_prop_placeholders : drawio:CellProperty [
+    dict:hasKey "placeholders"
+    dict:hasValue "1"
+    drawio:propertyOf cell_oHMH89KefE3Ma0cPWZd5-1
+    object_diagram:inModel model
+  ]
+  ci cell_oHMH89KefE3Ma0cPWZd5-1_prop_pmRole : drawio:CellProperty [
+    dict:hasKey "pmRole"
+    dict:hasValue "ctrl_in"
+    drawio:propertyOf cell_oHMH89KefE3Ma0cPWZd5-1
+    object_diagram:inModel model
+  ]
+
+  
+  ci cell_oHMH89KefE3Ma0cPWZd5-2 : drawio:Vertex [
+    drawio:hasDrawioId "oHMH89KefE3Ma0cPWZd5-2"
+    drawio:hasParent cell_VtfaJCiFz_Gr-LFw8VM8-2
+    object_diagram:inModel model
+  ]
+  
+  ci cell_oHMH89KefE3Ma0cPWZd5-2_prop_label : drawio:CellProperty [
+    dict:hasKey "label"
+    dict:hasValue "%portname%"
+    drawio:propertyOf cell_oHMH89KefE3Ma0cPWZd5-2
+    object_diagram:inModel model
+  ]
+  ci cell_oHMH89KefE3Ma0cPWZd5-2_prop_portname : drawio:CellProperty [
+    dict:hasKey "portname"
+    dict:hasValue "cout"
+    drawio:propertyOf cell_oHMH89KefE3Ma0cPWZd5-2
+    object_diagram:inModel model
+  ]
+  ci cell_oHMH89KefE3Ma0cPWZd5-2_prop_placeholders : drawio:CellProperty [
+    dict:hasKey "placeholders"
+    dict:hasValue "1"
+    drawio:propertyOf cell_oHMH89KefE3Ma0cPWZd5-2
+    object_diagram:inModel model
+  ]
+  ci cell_oHMH89KefE3Ma0cPWZd5-2_prop_pmRole : drawio:CellProperty [
+    dict:hasKey "pmRole"
+    dict:hasValue "ctrl_out"
+    drawio:propertyOf cell_oHMH89KefE3Ma0cPWZd5-2
+    object_diagram:inModel model
+  ]
+
+  
+  ci cell_EqKHQVYl8EeoPwSADTUR-4 : drawio:Edge [
+    drawio:hasDrawioId "EqKHQVYl8EeoPwSADTUR-4"
+    drawio:hasParent cell_1
+    object_diagram:inModel model
+    drawio:hasSource cell_VtfaJCiFz_Gr-LFw8VM8-3
+    drawio:hasTarget cell_EqKHQVYl8EeoPwSADTUR-2
+  ]
+  
+  ci cell_EqKHQVYl8EeoPwSADTUR-4_prop_label : drawio:CellProperty [
+    dict:hasKey "label"
+    dict:hasValue ""
+    drawio:propertyOf cell_EqKHQVYl8EeoPwSADTUR-4
+    object_diagram:inModel model
+  ]
+  ci cell_EqKHQVYl8EeoPwSADTUR-4_prop_pmRole : drawio:CellProperty [
+    dict:hasKey "pmRole"
+    dict:hasValue "data_flow"
+    drawio:propertyOf cell_EqKHQVYl8EeoPwSADTUR-4
+    object_diagram:inModel model
+  ]
+
+  
+  ci cell_VtfaJCiFz_Gr-LFw8VM8-3 : drawio:Vertex [
+    drawio:hasDrawioId "VtfaJCiFz_Gr-LFw8VM8-3"
+    drawio:hasParent cell_1
+    object_diagram:inModel model
+  ]
+  
+  ci cell_VtfaJCiFz_Gr-LFw8VM8-3_prop_label : drawio:CellProperty [
+    dict:hasKey "label"
+    dict:hasValue "%name%"
+    drawio:propertyOf cell_VtfaJCiFz_Gr-LFw8VM8-3
+    object_diagram:inModel model
+  ]
+  ci cell_VtfaJCiFz_Gr-LFw8VM8-3_prop_pmRole : drawio:CellProperty [
+    dict:hasKey "pmRole"
+    dict:hasValue "formalism"
+    drawio:propertyOf cell_VtfaJCiFz_Gr-LFw8VM8-3
+    object_diagram:inModel model
+  ]
+  ci cell_VtfaJCiFz_Gr-LFw8VM8-3_prop_name : drawio:CellProperty [
+    dict:hasKey "name"
+    dict:hasValue "xopp"
+    drawio:propertyOf cell_VtfaJCiFz_Gr-LFw8VM8-3
+    object_diagram:inModel model
+  ]
+  ci cell_VtfaJCiFz_Gr-LFw8VM8-3_prop_placeholders : drawio:CellProperty [
+    dict:hasKey "placeholders"
+    dict:hasValue "1"
+    drawio:propertyOf cell_VtfaJCiFz_Gr-LFw8VM8-3
+    object_diagram:inModel model
+  ]
+
+  
+  ci cell_EqKHQVYl8EeoPwSADTUR-3 : drawio:Edge [
+    drawio:hasDrawioId "EqKHQVYl8EeoPwSADTUR-3"
+    drawio:hasParent cell_1
+    object_diagram:inModel model
+    drawio:hasSource cell_EqKHQVYl8EeoPwSADTUR-1
+    drawio:hasTarget cell_VtfaJCiFz_Gr-LFw8VM8-3
+  ]
+  
+  ci cell_EqKHQVYl8EeoPwSADTUR-3_prop_label : drawio:CellProperty [
+    dict:hasKey "label"
+    dict:hasValue ""
+    drawio:propertyOf cell_EqKHQVYl8EeoPwSADTUR-3
+    object_diagram:inModel model
+  ]
+  ci cell_EqKHQVYl8EeoPwSADTUR-3_prop_pmRole : drawio:CellProperty [
+    dict:hasKey "pmRole"
+    dict:hasValue "data_flow"
+    drawio:propertyOf cell_EqKHQVYl8EeoPwSADTUR-3
+    object_diagram:inModel model
+  ]
+
+  
+}

+ 36 - 0
examples/oml/SystemDesignOntology2Layers/src/oml/ua.be/sdo2l/description/artifacts/FTG_ftg.oml

@@ -0,0 +1,36 @@
+// Warning: Generated Code! Do not edit!
+// Input file: /home/maestro/repos/drawio2oml/test/data/pm/MyFTGPM.drawio
+// Page: FTG
+// Generator: https://msdl.uantwerpen.be/git/jexelmans/drawio2oml
+
+description <http://ua.be/sdo2l/description/artifacts/FTG_ftg#> as FTG_ftg {
+
+  uses <http://ua.be/sdo2l/vocabulary/base/ftg#> as ftg
+  uses <http://ua.be/sdo2l/vocabulary/base/base#> as base
+
+  ci f_xopp : ftg:Formalism [
+    base:hasGUID "xopp"
+  ]
+
+  ci t_Sketch : ftg:Transformation [
+    base:hasGUID "Sketch"
+    ftg:hasCtrlInput "cin"
+    ftg:hasCtrlOutput "cout"
+  ]
+  ri t_Sketch_output0 : ftg:HasOutput [
+    from t_Sketch
+    to f_xopp
+    ftg:hasName "sketch"
+  ]
+
+  ci t_LookAtSketch : ftg:Transformation [
+    base:hasGUID "LookAtSketch"
+    ftg:hasCtrlInput "cin"
+    ftg:hasCtrlOutput "cout"
+  ]
+  ri t_LookAtSketch_input0 : ftg:HasInput [
+    from t_LookAtSketch
+    to f_xopp
+    ftg:hasName "sketch"
+  ]
+}

+ 1 - 1
examples/oml/SystemDesignOntology2Layers/src/oml/ua.be/sdo2l/description/artifacts/MyPM_corr.oml

@@ -1,6 +1,6 @@
 // Warning: Generated Code! Do not edit!
 // This file contains the correspondence links between concrete syntax (Drawio) and abstract syntax (Process Model).
-// Input file: /home/maestro/repos/drawio2oml/test/data/pm/MyFancyPM.drawio
+// Input file: /home/maestro/repos/drawio2oml/test/data/pm/MyFTGPM.drawio
 // Page: MyPM
 // Generator: https://msdl.uantwerpen.be/git/jexelmans/drawio2oml
 

+ 6 - 7
examples/oml/SystemDesignOntology2Layers/src/oml/ua.be/sdo2l/description/artifacts/MyPM_drawio.oml

@@ -1,6 +1,6 @@
 // Warning: Generated code! Do not edit!
-// Input: '/home/maestro/repos/drawio2oml/test/data/pm/MyFancyPM.drawio'
-// Page: 'MyPM'
+// Input: '/home/maestro/repos/drawio2oml/test/data/pm/MyFTGPM.drawio'
+// Page: 'MyPM:pm'
 // Generator: https://msdl.uantwerpen.be/git/jexelmans/drawio2oml/drawio2oml/oml_generator.py
 // Minimal mode enabled: Pgae/cell attributes, style, and geometries have been omitted (making the drawio-> OML conversion lossy).
 
@@ -12,7 +12,7 @@ description <http://ua.be/sdo2l/description/artifacts/MyPM_drawio#> as MyPM_draw
 
   ci model : drawio:Model [
     drawio:hasDrawioId "prYNwPAbIUO19HUZXAOh"
-    object_diagram:hasName "MyPM_drawio"
+    object_diagram:hasName "MyPM:pm_drawio"
   ]
 
   
@@ -72,14 +72,13 @@ description <http://ua.be/sdo2l/description/artifacts/MyPM_drawio#> as MyPM_draw
   ]
   ci cell_CvR4PfVCJDiI6bvIUUvl-2_prop_name : drawio:CellProperty [
     dict:hasKey "name"
-    dict:hasValue "Sketch"
+    dict:hasValue "sketch"
     drawio:propertyOf cell_CvR4PfVCJDiI6bvIUUvl-2
     object_diagram:inModel model
   ]
   ci cell_CvR4PfVCJDiI6bvIUUvl-2_prop_type : drawio:CellProperty [
     dict:hasKey "type"
-    dict:hasValue "
-"
+    dict:hasValue "Sketch"
     drawio:propertyOf cell_CvR4PfVCJDiI6bvIUUvl-2
     object_diagram:inModel model
   ]
@@ -381,7 +380,7 @@ description <http://ua.be/sdo2l/description/artifacts/MyPM_drawio#> as MyPM_draw
   ]
   ci cell_1m2y2pvaED3J6VFvMTAg-2_prop_type : drawio:CellProperty [
     dict:hasKey "type"
-    dict:hasValue ""
+    dict:hasValue "LookAtSketch"
     drawio:propertyOf cell_1m2y2pvaED3J6VFvMTAg-2
     object_diagram:inModel model
   ]

+ 2 - 2
examples/oml/SystemDesignOntology2Layers/src/oml/ua.be/sdo2l/description/artifacts/MyPM_pm.oml

@@ -1,5 +1,5 @@
 // Warning: Generated Code! Do not edit!
-// Input file: /home/maestro/repos/drawio2oml/test/data/pm/MyFancyPM.drawio
+// Input file: /home/maestro/repos/drawio2oml/test/data/pm/MyFTGPM.drawio
 // Page: MyPM
 // Generator: https://msdl.uantwerpen.be/git/jexelmans/drawio2oml
 
@@ -29,7 +29,7 @@ description <http://ua.be/sdo2l/description/artifacts/MyPM_pm#> as MyPM_pm {
   ]
 
   ci activity_0 : pm:Activity [
-    pm:hasName "Sketch"
+    pm:hasName "sketch"
     object_diagram:inModel model
   ]
 

+ 3 - 0
examples/oml/SystemDesignOntology2Layers/src/oml/ua.be/sdo2l/description/bundle.oml

@@ -1,5 +1,8 @@
 description bundle <http://ua.be/sdo2l/description/bundle#> as ^bundle {
 	uses <http://ua.be/sdo2l/vocabulary/bundle#>
+	includes <http://ua.be/sdo2l/description/artifacts/FTG_corr#>
+	includes <http://ua.be/sdo2l/description/artifacts/FTG_drawio#>
+	includes <http://ua.be/sdo2l/description/artifacts/FTG_ftg#>
 	includes <http://ua.be/sdo2l/description/artifacts/my_xopp_to_drawio#>
 	includes <http://ua.be/sdo2l/description/artifacts/my_xopp#>
 	includes <http://ua.be/sdo2l/description/artifacts/MyPM_corr#>

+ 0 - 2
examples/oml/SystemDesignOntology2Layers/src/oml/ua.be/sdo2l/description/traces/my_pt.oml

@@ -5,8 +5,6 @@ description <http://ua.be/sdo2l/description/traces/my_pt#> as my_pt {
 	uses <http://ua.be/sdo2l/vocabulary/base/processtraces#> as traces
 
 	extends <http://ua.be/sdo2l/description/artifacts/my_xopp#> as my_xopp
-
-	uses <http://ua.be/sdo2l/vocabulary/base/base#> as base
 	
 	ci start_trace_event : traces:StartTraceEvent [
 		traces:relatesTo my_pm:model

+ 23 - 9
examples/oml/SystemDesignOntology2Layers/src/oml/ua.be/sdo2l/vocabulary/base/ftg.oml

@@ -5,12 +5,26 @@ vocabulary <http://ua.be/sdo2l/vocabulary/base/ftg#> as ftg {
 
 	// Definitions for Activities
 	@rdfs:comment "The types of activities performed during the system design process. This concept should be used in the FTG."
-	concept Transformation :> base:ImmutableThing, base:DefinitionThing []
+	concept Transformation :> base:ImmutableThing, base:DefinitionThing [
+		restricts scalar property hasCtrlInput to min 1
+		restricts scalar property hasCtrlOutput to min 1
+	]
+	
+	// Ctrl inputs/outputs:
+	scalar property hasCtrlInput [
+		domain Transformation
+		range xsd:string
+	]
+	scalar property hasCtrlOutput [
+		domain Transformation
+		range xsd:string
+	]
 
 	// Definitions for Artifacts
 	@rdfs:comment "The types of artifacts generated during the system design process. This concept should be used in the FTG."
 	concept Formalism :> base:ImmutableThing, base:DefinitionThing []
 
+	// Data inputs/outputs are named:
 	aspect InputOrOutput [
 		restricts scalar property hasName to exactly 1
 	]
@@ -21,20 +35,20 @@ vocabulary <http://ua.be/sdo2l/vocabulary/base/ftg#> as ftg {
 		functional
 	]
 
-	relation entity Inputs :> InputOrOutput [
-		from Formalism
-		to Transformation
-		forward inputs
-		reverse isInputtedBy
+	relation entity HasInput :> InputOrOutput [
+		from Transformation
+		to Formalism
+		forward hasInput
+		reverse isInputOf
 		asymmetric
 		irreflexive
 	]
 
-	relation entity Outputs :> InputOrOutput [
+	relation entity HasOutput :> InputOrOutput [
 		from Transformation
 		to Formalism
-		forward outputs
-		reverse isOutputedBy
+		forward hasOutput
+		reverse isOutputOf
 		asymmetric
 		irreflexive
 	]