Move components to an actual resource folder (that will remain in jar)
[Mograsim.git] / net.mograsim.logic.model.editor / components / GUIfulladder.json
index dc4c616..8b41bd3 100644 (file)
@@ -1,4 +1,3 @@
-mograsim version: 0.1.3
 {
   "width": 35.0,
   "height": 30.0,
@@ -9,7 +8,8 @@ mograsim version: 0.1.3
         "y": 5.0
       },
       "name": "A",
-      "logicWidth": 1
+      "logicWidth": 1,
+      "usage": "INPUT"
     },
     {
       "location": {
@@ -17,7 +17,8 @@ mograsim version: 0.1.3
         "y": 15.0
       },
       "name": "B",
-      "logicWidth": 1
+      "logicWidth": 1,
+      "usage": "INPUT"
     },
     {
       "location": {
@@ -25,7 +26,8 @@ mograsim version: 0.1.3
         "y": 25.0
       },
       "name": "C",
-      "logicWidth": 1
+      "logicWidth": 1,
+      "usage": "INPUT"
     },
     {
       "location": {
@@ -33,7 +35,8 @@ mograsim version: 0.1.3
         "y": 5.0
       },
       "name": "Y",
-      "logicWidth": 1
+      "logicWidth": 1,
+      "usage": "OUTPUT"
     },
     {
       "location": {
@@ -41,39 +44,40 @@ mograsim version: 0.1.3
         "y": 15.0
       },
       "name": "Z",
-      "logicWidth": 1
+      "logicWidth": 1,
+      "usage": "OUTPUT"
     }
   ],
+  "innerScale": 0.4,
   "submodel": {
-    "innerScale": 0.4,
-    "subComps": [
+    "components": [
       {
+        "id": "GUINandGate",
+        "name": "GUINandGate#0",
         "pos": {
           "x": 57.5,
           "y": 40.0
         },
-        "id": "GUINandGate",
-        "name": "GUINandGate#0",
         "params": 1
       },
       {
+        "id": "GUIhalfadder",
+        "name": "GUIhalfadder#0",
         "pos": {
           "x": 5.0,
           "y": 40.0
-        },
-        "id": "GUIhalfadder",
-        "name": "GUIhalfadder#0"
+        }
       },
       {
+        "id": "GUIhalfadder",
+        "name": "GUIhalfadder#1",
         "pos": {
           "x": 45.0,
           "y": 7.5
-        },
-        "id": "GUIhalfadder",
-        "name": "GUIhalfadder#1"
+        }
       }
     ],
-    "innerWires": [
+    "wires": [
       {
         "pin1": {
           "compName": "_submodelinterface",
@@ -83,6 +87,7 @@ mograsim version: 0.1.3
           "compName": "GUIhalfadder#1",
           "pinName": "A"
         },
+        "name": "unnamedWire#0",
         "path": []
       },
       {
@@ -93,7 +98,8 @@ mograsim version: 0.1.3
         "pin2": {
           "compName": "GUIhalfadder#0",
           "pinName": "A"
-        }
+        },
+        "name": "unnamedWire#1"
       },
       {
         "pin1": {
@@ -103,7 +109,8 @@ mograsim version: 0.1.3
         "pin2": {
           "compName": "GUIhalfadder#0",
           "pinName": "B"
-        }
+        },
+        "name": "unnamedWire#2"
       },
       {
         "pin1": {
@@ -113,7 +120,8 @@ mograsim version: 0.1.3
         "pin2": {
           "compName": "GUIhalfadder#1",
           "pinName": "B"
-        }
+        },
+        "name": "unnamedWire#3"
       },
       {
         "pin1": {
@@ -124,6 +132,7 @@ mograsim version: 0.1.3
           "compName": "GUINandGate#0",
           "pinName": "B"
         },
+        "name": "unnamedWire#4",
         "path": []
       },
       {
@@ -135,6 +144,7 @@ mograsim version: 0.1.3
           "compName": "_submodelinterface",
           "pinName": "Y"
         },
+        "name": "unnamedWire#5",
         "path": []
       },
       {
@@ -146,6 +156,7 @@ mograsim version: 0.1.3
           "compName": "GUINandGate#0",
           "pinName": "A"
         },
+        "name": "unnamedWire#6",
         "path": [
           {
             "x": 82.5,
@@ -173,16 +184,21 @@ mograsim version: 0.1.3
         "pin2": {
           "compName": "_submodelinterface",
           "pinName": "Z"
-        }
+        },
+        "name": "unnamedWire#7"
       }
-    ]
+    ],
+    "version": "0.1.1"
   },
-  "symbolRendererSnippetID": "SimpleRectangularLikeSymbolRenderer",
+  "symbolRendererSnippetID": "simpleRectangularLike",
   "symbolRendererParams": {
     "centerText": "GUIfulladder",
-    "horizontalComponentCenter": 17.5,
     "centerTextHeight": 5.0,
+    "horizontalComponentCenter": 17.5,
     "pinLabelHeight": 3.5,
     "pinLabelMargin": 0.5
-  }
+  },
+  "outlineRendererSnippetID": "default",
+  "highLevelStateHandlerSnippetID": "default",
+  "version": "0.1.5"
 }
\ No newline at end of file