tdse-tp1_01-my_first_statechart

Index Commits Files Refs
commit 0fe46a61ec1ad4a6c2a05e8163abbf06e73a1734
Author: Martin Kloeckner <mjkloeckner@gmail.com>
Date:   Sat, 13 Sep 2025 15:37:28 -0300

first commit

Diffstat:
AMy_First_Statechart_Export.scm | 317+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 317 insertions(+), 0 deletions(-)
diff --git a/My_First_Statechart_Export.scm b/My_First_Statechart_Export.scm
@@ -0,0 +1,316 @@
+{
+  "graph": {
+    "cells": [
+      {
+        "position": {
+          "x": 0,
+          "y": 0
+        },
+        "size": {
+          "height": 10,
+          "width": 10
+        },
+        "angle": 0,
+        "type": "Statechart",
+        "id": "78749915-0da0-40a2-862f-9e8d94c7c68e",
+        "linkable": false,
+        "z": 1,
+        "attrs": {
+          "name": {
+            "text": "My First Statechart Export"
+          },
+          "specification": {
+            "text": "@EventDriven\n@SuperSteps(no)\n\ninterface: \n    in event myEvent\n"
+          }
+        }
+      },
+      {
+        "type": "State",
+        "position": {
+          "x": 375,
+          "y": 300
+        },
+        "size": {
+          "height": 60,
+          "width": 60
+        },
+        "angle": 0,
+        "fixedRatio": false,
+        "embedable": true,
+        "linkable": true,
+        "id": "db372094-acc6-467b-b44d-495606208445",
+        "z": 18,
+        "attrs": {
+          "name": {
+            "text": "StateB",
+            "fontSize": 12
+          }
+        }
+      },
+      {
+        "type": "State",
+        "position": {
+          "x": 195,
+          "y": 225
+        },
+        "size": {
+          "height": 60,
+          "width": 60
+        },
+        "angle": 0,
+        "fixedRatio": false,
+        "embedable": true,
+        "linkable": true,
+        "id": "36b8548a-74b1-4925-ae23-291c03231ee6",
+        "z": 22,
+        "attrs": {
+          "name": {
+            "text": "StateA",
+            "fontSize": 12
+          }
+        }
+      },
+      {
+        "type": "Transition",
+        "source": {
+          "id": "db372094-acc6-467b-b44d-495606208445"
+        },
+        "target": {
+          "id": "36b8548a-74b1-4925-ae23-291c03231ee6"
+        },
+        "router": {
+          "name": "orthogonal",
+          "args": {
+            "padding": 8
+          }
+        },
+        "connector": {
+          "name": "rounded"
+        },
+        "labels": [
+          {
+            "attrs": {
+              "text": {
+                "text": "myEvent"
+              }
+            },
+            "position": {}
+          },
+          {
+            "attrs": {
+              "label": {
+                "text": "1"
+              }
+            }
+          },
+          {
+            "attrs": {}
+          },
+          {
+            "attrs": {}
+          }
+        ],
+        "id": "7197094a-c890-4098-9170-1701f27ac3cb",
+        "z": 23,
+        "attrs": {}
+      },
+      {
+        "type": "Transition",
+        "source": {
+          "id": "36b8548a-74b1-4925-ae23-291c03231ee6"
+        },
+        "target": {
+          "id": "db372094-acc6-467b-b44d-495606208445"
+        },
+        "router": {
+          "name": "orthogonal",
+          "args": {
+            "padding": 8
+          }
+        },
+        "connector": {
+          "name": "rounded"
+        },
+        "labels": [
+          {
+            "attrs": {
+              "text": {
+                "text": "after 1 s"
+              }
+            },
+            "position": {}
+          },
+          {
+            "attrs": {
+              "label": {
+                "text": "1"
+              }
+            }
+          },
+          {
+            "attrs": {}
+          },
+          {
+            "attrs": {}
+          }
+        ],
+        "id": "f4fdd1fd-fc69-42a9-a51b-34aeb2fd7fe4",
+        "z": 23,
+        "attrs": {}
+      },
+      {
+        "type": "Entry",
+        "position": {
+          "x": 216,
+          "y": 180.00001525878906
+        },
+        "size": {
+          "height": 18,
+          "width": 18
+        },
+        "angle": 0,
+        "entryKind": "Initial",
+        "fixedRatio": true,
+        "embedable": false,
+        "linkable": true,
+        "id": "e2faf218-3172-407f-aed6-ef91e375650c",
+        "z": 24,
+        "embeds": [
+          "056a5fb7-c573-4412-b94f-34900baba21c"
+        ],
+        "attrs": {}
+      },
+      {
+        "type": "NodeLabel",
+        "label": true,
+        "size": {
+          "width": 15,
+          "height": 15
+        },
+        "position": {
+          "x": 216,
+          "y": 195.00001525878906
+        },
+        "id": "056a5fb7-c573-4412-b94f-34900baba21c",
+        "z": 25,
+        "parent": "e2faf218-3172-407f-aed6-ef91e375650c",
+        "attrs": {
+          "label": {
+            "refX": "50%",
+            "textAnchor": "middle",
+            "refY": "50%",
+            "textVerticalAnchor": "middle"
+          }
+        }
+      },
+      {
+        "type": "Transition",
+        "source": {
+          "id": "e2faf218-3172-407f-aed6-ef91e375650c"
+        },
+        "target": {
+          "id": "36b8548a-74b1-4925-ae23-291c03231ee6",
+          "anchor": {
+            "name": "topLeft",
+            "args": {
+              "dx": 30,
+              "dy": 6.4285736083984375,
+              "rotate": true
+            }
+          },
+          "priority": true
+        },
+        "router": {
+          "name": "orthogonal",
+          "args": {
+            "padding": 8
+          }
+        },
+        "connector": {
+          "name": "rounded"
+        },
+        "labels": [
+          {
+            "attrs": {},
+            "position": {}
+          },
+          {
+            "attrs": {
+              "label": {
+                "text": "1"
+              }
+            }
+          },
+          {
+            "attrs": {}
+          },
+          {
+            "attrs": {}
+          }
+        ],
+        "id": "8fe76f20-ab76-45b5-b6da-2f97e7da2959",
+        "z": 26,
+        "attrs": {}
+      }
+    ]
+  },
+  "genModel": {
+    "generator": {
+      "type": "create::c",
+      "features": {
+        "Outlet": {
+          "targetProject": "",
+          "targetFolder": "",
+          "libraryTargetFolder": "",
+          "skipLibraryFiles": "",
+          "apiTargetFolder": ""
+        },
+        "LicenseHeader": {
+          "licenseText": ""
+        },
+        "FunctionInlining": {
+          "inlineReactions": false,
+          "inlineEntryActions": false,
+          "inlineExitActions": false,
+          "inlineEnterSequences": false,
+          "inlineExitSequences": false,
+          "inlineChoices": false,
+          "inlineEnterRegion": false,
+          "inlineExitRegion": false,
+          "inlineEntries": false
+        },
+        "OutEventAPI": {
+          "observables": false,
+          "getters": false
+        },
+        "IdentifierSettings": {
+          "moduleName": "MyFirstStatechart",
+          "statemachinePrefix": "myFirstStatechart",
+          "separator": "_",
+          "headerFilenameExtension": "h",
+          "sourceFilenameExtension": "c"
+        },
+        "Tracing": {
+          "enterState": false,
+          "exitState": false,
+          "generic": false
+        },
+        "Includes": {
+          "useRelativePaths": false,
+          "generateAllSpecifiedIncludes": false
+        },
+        "GeneratorOptions": {
+          "userAllocatedQueue": false,
+          "metaSource": false
+        },
+        "GeneralFeatures": {
+          "timerService": false,
+          "timerServiceTimeType": ""
+        },
+        "Debug": {
+          "dumpSexec": false
+        }
+      }
+    }
+  }
+}
+\ No newline at end of file