1 { 2 "graph": { 3 "cells": [ 4 { 5 "position": { 6 "x": 0, 7 "y": 0 8 }, 9 "size": { 10 "height": 10, 11 "width": 10 12 }, 13 "angle": 0, 14 "type": "Statechart", 15 "id": "78749915-0da0-40a2-862f-9e8d94c7c68e", 16 "linkable": false, 17 "z": 1, 18 "attrs": { 19 "name": { 20 "text": "My First Statechart Export" 21 }, 22 "specification": { 23 "text": "@EventDriven\n@SuperSteps(no)\n\ninterface: \n in event myEvent\n" 24 } 25 } 26 }, 27 { 28 "type": "State", 29 "position": { 30 "x": 375, 31 "y": 300 32 }, 33 "size": { 34 "height": 60, 35 "width": 60 36 }, 37 "angle": 0, 38 "fixedRatio": false, 39 "embedable": true, 40 "linkable": true, 41 "id": "db372094-acc6-467b-b44d-495606208445", 42 "z": 18, 43 "attrs": { 44 "name": { 45 "text": "StateB", 46 "fontSize": 12 47 } 48 } 49 }, 50 { 51 "type": "State", 52 "position": { 53 "x": 195, 54 "y": 225 55 }, 56 "size": { 57 "height": 60, 58 "width": 60 59 }, 60 "angle": 0, 61 "fixedRatio": false, 62 "embedable": true, 63 "linkable": true, 64 "id": "36b8548a-74b1-4925-ae23-291c03231ee6", 65 "z": 22, 66 "attrs": { 67 "name": { 68 "text": "StateA", 69 "fontSize": 12 70 } 71 } 72 }, 73 { 74 "type": "Transition", 75 "source": { 76 "id": "db372094-acc6-467b-b44d-495606208445" 77 }, 78 "target": { 79 "id": "36b8548a-74b1-4925-ae23-291c03231ee6" 80 }, 81 "router": { 82 "name": "orthogonal", 83 "args": { 84 "padding": 8 85 } 86 }, 87 "connector": { 88 "name": "rounded" 89 }, 90 "labels": [ 91 { 92 "attrs": { 93 "text": { 94 "text": "myEvent" 95 } 96 }, 97 "position": {} 98 }, 99 { 100 "attrs": { 101 "label": { 102 "text": "1" 103 } 104 } 105 }, 106 { 107 "attrs": {} 108 }, 109 { 110 "attrs": {} 111 } 112 ], 113 "id": "7197094a-c890-4098-9170-1701f27ac3cb", 114 "z": 23, 115 "attrs": {} 116 }, 117 { 118 "type": "Transition", 119 "source": { 120 "id": "36b8548a-74b1-4925-ae23-291c03231ee6" 121 }, 122 "target": { 123 "id": "db372094-acc6-467b-b44d-495606208445" 124 }, 125 "router": { 126 "name": "orthogonal", 127 "args": { 128 "padding": 8 129 } 130 }, 131 "connector": { 132 "name": "rounded" 133 }, 134 "labels": [ 135 { 136 "attrs": { 137 "text": { 138 "text": "after 1 s" 139 } 140 }, 141 "position": {} 142 }, 143 { 144 "attrs": { 145 "label": { 146 "text": "1" 147 } 148 } 149 }, 150 { 151 "attrs": {} 152 }, 153 { 154 "attrs": {} 155 } 156 ], 157 "id": "f4fdd1fd-fc69-42a9-a51b-34aeb2fd7fe4", 158 "z": 23, 159 "attrs": {} 160 }, 161 { 162 "type": "Entry", 163 "position": { 164 "x": 216, 165 "y": 180.00001525878906 166 }, 167 "size": { 168 "height": 18, 169 "width": 18 170 }, 171 "angle": 0, 172 "entryKind": "Initial", 173 "fixedRatio": true, 174 "embedable": false, 175 "linkable": true, 176 "id": "e2faf218-3172-407f-aed6-ef91e375650c", 177 "z": 24, 178 "embeds": [ 179 "056a5fb7-c573-4412-b94f-34900baba21c" 180 ], 181 "attrs": {} 182 }, 183 { 184 "type": "NodeLabel", 185 "label": true, 186 "size": { 187 "width": 15, 188 "height": 15 189 }, 190 "position": { 191 "x": 216, 192 "y": 195.00001525878906 193 }, 194 "id": "056a5fb7-c573-4412-b94f-34900baba21c", 195 "z": 25, 196 "parent": "e2faf218-3172-407f-aed6-ef91e375650c", 197 "attrs": { 198 "label": { 199 "refX": "50%", 200 "textAnchor": "middle", 201 "refY": "50%", 202 "textVerticalAnchor": "middle" 203 } 204 } 205 }, 206 { 207 "type": "Transition", 208 "source": { 209 "id": "e2faf218-3172-407f-aed6-ef91e375650c" 210 }, 211 "target": { 212 "id": "36b8548a-74b1-4925-ae23-291c03231ee6", 213 "anchor": { 214 "name": "topLeft", 215 "args": { 216 "dx": 30, 217 "dy": 6.4285736083984375, 218 "rotate": true 219 } 220 }, 221 "priority": true 222 }, 223 "router": { 224 "name": "orthogonal", 225 "args": { 226 "padding": 8 227 } 228 }, 229 "connector": { 230 "name": "rounded" 231 }, 232 "labels": [ 233 { 234 "attrs": {}, 235 "position": {} 236 }, 237 { 238 "attrs": { 239 "label": { 240 "text": "1" 241 } 242 } 243 }, 244 { 245 "attrs": {} 246 }, 247 { 248 "attrs": {} 249 } 250 ], 251 "id": "8fe76f20-ab76-45b5-b6da-2f97e7da2959", 252 "z": 26, 253 "attrs": {} 254 } 255 ] 256 }, 257 "genModel": { 258 "generator": { 259 "type": "create::c", 260 "features": { 261 "Outlet": { 262 "targetProject": "", 263 "targetFolder": "", 264 "libraryTargetFolder": "", 265 "skipLibraryFiles": "", 266 "apiTargetFolder": "" 267 }, 268 "LicenseHeader": { 269 "licenseText": "" 270 }, 271 "FunctionInlining": { 272 "inlineReactions": false, 273 "inlineEntryActions": false, 274 "inlineExitActions": false, 275 "inlineEnterSequences": false, 276 "inlineExitSequences": false, 277 "inlineChoices": false, 278 "inlineEnterRegion": false, 279 "inlineExitRegion": false, 280 "inlineEntries": false 281 }, 282 "OutEventAPI": { 283 "observables": false, 284 "getters": false 285 }, 286 "IdentifierSettings": { 287 "moduleName": "MyFirstStatechart", 288 "statemachinePrefix": "myFirstStatechart", 289 "separator": "_", 290 "headerFilenameExtension": "h", 291 "sourceFilenameExtension": "c" 292 }, 293 "Tracing": { 294 "enterState": false, 295 "exitState": false, 296 "generic": false 297 }, 298 "Includes": { 299 "useRelativePaths": false, 300 "generateAllSpecifiedIncludes": false 301 }, 302 "GeneratorOptions": { 303 "userAllocatedQueue": false, 304 "metaSource": false 305 }, 306 "GeneralFeatures": { 307 "timerService": false, 308 "timerServiceTimeType": "" 309 }, 310 "Debug": { 311 "dumpSexec": false 312 } 313 } 314 } 315 } 316 }
