#include "omc_simulation_settings.h"
#include "GraphMLDumpTpl.h"
#define _OMC_LIT0_data "rectangle"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT0,9,_OMC_LIT0_data);
#define _OMC_LIT0 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT0)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT1,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT0}};
#define _OMC_LIT1 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT1)
#define _OMC_LIT2_data "roundrectangle"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT2,14,_OMC_LIT2_data);
#define _OMC_LIT2 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT2)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT3,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT2}};
#define _OMC_LIT3 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT3)
#define _OMC_LIT4_data "ellipse"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT4,7,_OMC_LIT4_data);
#define _OMC_LIT4 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT4)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT5,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT4}};
#define _OMC_LIT5 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT5)
#define _OMC_LIT6_data "parallelogram"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT6,13,_OMC_LIT6_data);
#define _OMC_LIT6 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT6)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT7,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT6}};
#define _OMC_LIT7 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT7)
#define _OMC_LIT8_data "hexagon"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT8,7,_OMC_LIT8_data);
#define _OMC_LIT8 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT8)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT9,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT8}};
#define _OMC_LIT9 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT9)
#define _OMC_LIT10_data "triangle"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT10,8,_OMC_LIT10_data);
#define _OMC_LIT10 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT10)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT11,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT10}};
#define _OMC_LIT11 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT11)
#define _OMC_LIT12_data "octagon"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT12,7,_OMC_LIT12_data);
#define _OMC_LIT12 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT12)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT13,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT12}};
#define _OMC_LIT13 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT13)
#define _OMC_LIT14_data "diamond"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT14,7,_OMC_LIT14_data);
#define _OMC_LIT14 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT14)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT15,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT14}};
#define _OMC_LIT15 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT15)
#define _OMC_LIT16_data "trapezoid"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT16,9,_OMC_LIT16_data);
#define _OMC_LIT16 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT16)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT17,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT16}};
#define _OMC_LIT17 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT17)
#define _OMC_LIT18_data "trapezoid2"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT18,10,_OMC_LIT18_data);
#define _OMC_LIT18 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT18)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT19,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT18}};
#define _OMC_LIT19 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT19)
#define _OMC_LIT20_data "standard"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT20,8,_OMC_LIT20_data);
#define _OMC_LIT20 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT20)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT21,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT20}};
#define _OMC_LIT21 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT21)
#define _OMC_LIT22_data "none"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT22,4,_OMC_LIT22_data);
#define _OMC_LIT22 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT22)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT23,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT22}};
#define _OMC_LIT23 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT23)
#define _OMC_LIT24_data "concave"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT24,7,_OMC_LIT24_data);
#define _OMC_LIT24 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT24)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT25,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT24}};
#define _OMC_LIT25 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT25)
#define _OMC_LIT26_data "line"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT26,4,_OMC_LIT26_data);
#define _OMC_LIT26 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT26)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT27,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT26}};
#define _OMC_LIT27 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT27)
#define _OMC_LIT28_data "dashed"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT28,6,_OMC_LIT28_data);
#define _OMC_LIT28 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT28)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT29,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT28}};
#define _OMC_LIT29 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT29)
#define _OMC_LIT30_data "dasheddotted"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT30,12,_OMC_LIT30_data);
#define _OMC_LIT30 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT30)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT31,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT30}};
#define _OMC_LIT31 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT31)
#define _OMC_LIT32_data "plain"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT32,5,_OMC_LIT32_data);
#define _OMC_LIT32 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT32)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT33,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT32}};
#define _OMC_LIT33 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT33)
#define _OMC_LIT34_data "bold"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT34,4,_OMC_LIT34_data);
#define _OMC_LIT34 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT34)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT35,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT34}};
#define _OMC_LIT35 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT35)
#define _OMC_LIT36_data "italic"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT36,6,_OMC_LIT36_data);
#define _OMC_LIT36 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT36)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT37,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT36}};
#define _OMC_LIT37 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT37)
#define _OMC_LIT38_data "bolditalic"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT38,10,_OMC_LIT38_data);
#define _OMC_LIT38 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT38)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT39,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT38}};
#define _OMC_LIT39 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT39)
#define _OMC_LIT40_data "backgroundColor=\"#"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT40,18,_OMC_LIT40_data);
#define _OMC_LIT40 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT40)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT41,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT40}};
#define _OMC_LIT41 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT41)
#define _OMC_LIT42_data "\""
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT42,1,_OMC_LIT42_data);
#define _OMC_LIT42 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT42)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT43,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT42}};
#define _OMC_LIT43 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT43)
#define _OMC_LIT44_data "directed"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT44,8,_OMC_LIT44_data);
#define _OMC_LIT44 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT44)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT45,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT44}};
#define _OMC_LIT45 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT45)
#define _OMC_LIT46_data "undirected"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT46,10,_OMC_LIT46_data);
#define _OMC_LIT46 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT46)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT47,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT46}};
#define _OMC_LIT47 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT47)
#define _OMC_LIT48_data "node"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT48,4,_OMC_LIT48_data);
#define _OMC_LIT48 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT48)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT49,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT48}};
#define _OMC_LIT49 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT49)
#define _OMC_LIT50_data "edge"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT50,4,_OMC_LIT50_data);
#define _OMC_LIT50 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT50)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT51,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT50}};
#define _OMC_LIT51 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT51)
#define _OMC_LIT52_data "graph"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT52,5,_OMC_LIT52_data);
#define _OMC_LIT52 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT52)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT53,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT52}};
#define _OMC_LIT53 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT53)
#define _OMC_LIT54_data "string"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT54,6,_OMC_LIT54_data);
#define _OMC_LIT54 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT54)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT55,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT54}};
#define _OMC_LIT55 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT55)
#define _OMC_LIT56_data "boolean"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT56,7,_OMC_LIT56_data);
#define _OMC_LIT56 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT56)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT57,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT56}};
#define _OMC_LIT57 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT57)
#define _OMC_LIT58_data "int"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT58,3,_OMC_LIT58_data);
#define _OMC_LIT58 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT58)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT59,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT58}};
#define _OMC_LIT59 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT59)
#define _OMC_LIT60_data "double"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT60,6,_OMC_LIT60_data);
#define _OMC_LIT60 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT60)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT61,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT60}};
#define _OMC_LIT61 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT61)
#define _OMC_LIT62_data "<key attr.name=\""
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT62,16,_OMC_LIT62_data);
#define _OMC_LIT62 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT62)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT63,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT62}};
#define _OMC_LIT63 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT63)
#define _OMC_LIT64_data "\" attr.type=\""
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT64,13,_OMC_LIT64_data);
#define _OMC_LIT64 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT64)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT65,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT64}};
#define _OMC_LIT65 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT65)
#define _OMC_LIT66_data "\" for=\""
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT66,7,_OMC_LIT66_data);
#define _OMC_LIT66 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT66)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT67,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT66}};
#define _OMC_LIT67 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT67)
#define _OMC_LIT68_data "\" id=\"cust"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT68,10,_OMC_LIT68_data);
#define _OMC_LIT68 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT68)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT69,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT68}};
#define _OMC_LIT69 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT69)
#define _OMC_LIT70_data "\">\n"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT70,3,_OMC_LIT70_data);
#define _OMC_LIT70 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT70)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT71,2,5) {&Tpl_StringToken_ST__LINE__desc,_OMC_LIT70}};
#define _OMC_LIT71 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT71)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT72,2,4) {&Tpl_BlockType_BT__INDENT__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(4))}};
#define _OMC_LIT72 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT72)
#define _OMC_LIT73_data "<default>"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT73,9,_OMC_LIT73_data);
#define _OMC_LIT73 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT73)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT74,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT73}};
#define _OMC_LIT74 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT74)
#define _OMC_LIT75_data "</default>\n"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT75,11,_OMC_LIT75_data);
#define _OMC_LIT75 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT75)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT76,2,5) {&Tpl_StringToken_ST__LINE__desc,_OMC_LIT75}};
#define _OMC_LIT76 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT76)
#define _OMC_LIT77_data "</key>"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT77,6,_OMC_LIT77_data);
#define _OMC_LIT77 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT77)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT78,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT77}};
#define _OMC_LIT78 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT78)
#define _OMC_LIT79_data "<data key=\"cust"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT79,15,_OMC_LIT79_data);
#define _OMC_LIT79 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT79)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT80,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT79}};
#define _OMC_LIT80 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT80)
#define _OMC_LIT81_data "\"><![CDATA["
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT81,11,_OMC_LIT81_data);
#define _OMC_LIT81 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT81)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT82,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT81}};
#define _OMC_LIT82 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT82)
#define _OMC_LIT83_data "]]></data>"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT83,10,_OMC_LIT83_data);
#define _OMC_LIT83 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT83)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT84,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT83}};
#define _OMC_LIT84 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT84)
#define _OMC_LIT85_data "\">"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT85,2,_OMC_LIT85_data);
#define _OMC_LIT85 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT85)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT86,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT85}};
#define _OMC_LIT86 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT86)
#define _OMC_LIT87_data "</data>"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT87,7,_OMC_LIT87_data);
#define _OMC_LIT87 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT87)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT88,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT87}};
#define _OMC_LIT88 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT88)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT89,3,3) {&Tpl_Text_MEM__TEXT__desc,MMC_REFSTRUCTLIT(mmc_nil),MMC_REFSTRUCTLIT(mmc_nil)}};
#define _OMC_LIT89 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT89)
#define _OMC_LIT90_data "<y:NodeLabel alignment=\"center\" autoSizePolicy=\"content\" "
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT90,57,_OMC_LIT90_data);
#define _OMC_LIT90 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT90)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT91,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT90}};
#define _OMC_LIT91 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT91)
#define _OMC_LIT92_data " fontFamily=\"Dialog\" fontSize=\"12\" fontStyle=\""
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT92,46,_OMC_LIT92_data);
#define _OMC_LIT92 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT92)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT93,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT92}};
#define _OMC_LIT93 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT93)
#define _OMC_LIT94_data "\" hasLineColor=\"false\" modelName=\"internal\" modelPosition=\"c\" textColor=\"#000000\" visible=\"true\">"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT94,97,_OMC_LIT94_data);
#define _OMC_LIT94 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT94)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT95,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT94}};
#define _OMC_LIT95 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT95)
#define _OMC_LIT96_data "</y:NodeLabel>"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT96,14,_OMC_LIT96_data);
#define _OMC_LIT96 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT96)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT97,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT96}};
#define _OMC_LIT97 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT97)
#define _OMC_LIT98_data "\" hasLineColor=\"false\" modelName=\"corners\" modelPosition=\""
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT98,58,_OMC_LIT98_data);
#define _OMC_LIT98 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT98)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT99,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT98}};
#define _OMC_LIT99 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT99)
#define _OMC_LIT100_data "\" textColor=\"#000000\" visible=\"true\">"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT100,37,_OMC_LIT100_data);
#define _OMC_LIT100 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT100)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT101,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT100}};
#define _OMC_LIT101 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT101)
#define _OMC_LIT102_data "<y:EdgeLabel alignment=\"center\" distance=\"2.0\" fontFamily=\"Dialog\" "
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT102,67,_OMC_LIT102_data);
#define _OMC_LIT102 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT102)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT103,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT102}};
#define _OMC_LIT103 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT103)
#define _OMC_LIT104_data " fontSize=\""
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT104,11,_OMC_LIT104_data);
#define _OMC_LIT104 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT104)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT105,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT104}};
#define _OMC_LIT105 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT105)
#define _OMC_LIT106_data "\" fontStyle=\"plain\" hasBackgroundColor=\"false\" hasLineColor=\"false\" modelName=\"side_slider\" preferredPlacement=\"anywhere\" visible=\"true\">"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT106,137,_OMC_LIT106_data);
#define _OMC_LIT106 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT106)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT107,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT106}};
#define _OMC_LIT107 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT107)
#define _OMC_LIT108_data "</y:EdgeLabel>"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT108,14,_OMC_LIT108_data);
#define _OMC_LIT108 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT108)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT109,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT108}};
#define _OMC_LIT109 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT109)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT110,1,3) {&Tpl_StringToken_ST__NEW__LINE__desc,}};
#define _OMC_LIT110 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT110)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT111,1,1) {_OMC_LIT110}};
#define _OMC_LIT111 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT111)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT112,9,3) {&Tpl_IterOptions_ITER__OPTIONS__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(0)),MMC_REFSTRUCTLIT(mmc_none),_OMC_LIT111,MMC_IMMEDIATE(MMC_TAGFIXNUM(0)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0)),_OMC_LIT110,MMC_IMMEDIATE(MMC_TAGFIXNUM(0)),_OMC_LIT110}};
#define _OMC_LIT112 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT112)
#define _OMC_LIT113_data "<edge id=\""
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT113,10,_OMC_LIT113_data);
#define _OMC_LIT113 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT113)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT114,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT113}};
#define _OMC_LIT114 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT114)
#define _OMC_LIT115_data "\" source=\""
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT115,10,_OMC_LIT115_data);
#define _OMC_LIT115 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT115)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT116,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT115}};
#define _OMC_LIT116 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT116)
#define _OMC_LIT117_data "\" target=\""
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT117,10,_OMC_LIT117_data);
#define _OMC_LIT117 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT117)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT118,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT117}};
#define _OMC_LIT118 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT118)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT119,2,4) {&Tpl_BlockType_BT__INDENT__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(2))}};
#define _OMC_LIT119 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT119)
#define _OMC_LIT120_data "<data key=\""
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT120,11,_OMC_LIT120_data);
#define _OMC_LIT120 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT120)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT121,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT120}};
#define _OMC_LIT121 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT121)
#define _OMC_LIT122_data "  <y:PolyLineEdge>\n"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT122,19,_OMC_LIT122_data);
#define _OMC_LIT122 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT122)
#define _OMC_LIT123_data "    <y:Path sx=\"0.0\" sy=\"0.0\" tx=\"0.0\" ty=\"0.0\"/>\n"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT123,50,_OMC_LIT123_data);
#define _OMC_LIT123 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT123)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT124,2,1) {_OMC_LIT123,MMC_REFSTRUCTLIT(mmc_nil)}};
#define _OMC_LIT124 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT124)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT125,2,1) {_OMC_LIT122,_OMC_LIT124}};
#define _OMC_LIT125 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT125)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT126,2,1) {_OMC_LIT70,_OMC_LIT125}};
#define _OMC_LIT126 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT126)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT127,3,6) {&Tpl_StringToken_ST__STRING__LIST__desc,_OMC_LIT126,MMC_IMMEDIATE(MMC_TAGFIXNUM(1 /* true */))}};
#define _OMC_LIT127 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT127)
#define _OMC_LIT128_data "<y:LineStyle color=\"#"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT128,21,_OMC_LIT128_data);
#define _OMC_LIT128 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT128)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT129,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT128}};
#define _OMC_LIT129 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT129)
#define _OMC_LIT130_data "\" type=\""
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT130,8,_OMC_LIT130_data);
#define _OMC_LIT130 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT130)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT131,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT130}};
#define _OMC_LIT131 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT131)
#define _OMC_LIT132_data "\" width=\""
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT132,9,_OMC_LIT132_data);
#define _OMC_LIT132 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT132)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT133,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT132}};
#define _OMC_LIT133 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT133)
#define _OMC_LIT134_data "\"/>\n"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT134,4,_OMC_LIT134_data);
#define _OMC_LIT134 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT134)
#define _OMC_LIT135_data "<y:Arrows source=\""
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT135,18,_OMC_LIT135_data);
#define _OMC_LIT135 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT135)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT136,2,1) {_OMC_LIT135,MMC_REFSTRUCTLIT(mmc_nil)}};
#define _OMC_LIT136 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT136)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT137,2,1) {_OMC_LIT134,_OMC_LIT136}};
#define _OMC_LIT137 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT137)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT138,3,6) {&Tpl_StringToken_ST__STRING__LIST__desc,_OMC_LIT137,MMC_IMMEDIATE(MMC_TAGFIXNUM(0 /* false */))}};
#define _OMC_LIT138 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT138)
#define _OMC_LIT139_data "<y:BendStyle smoothed=\""
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT139,23,_OMC_LIT139_data);
#define _OMC_LIT139 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT139)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT140,2,1) {_OMC_LIT139,MMC_REFSTRUCTLIT(mmc_nil)}};
#define _OMC_LIT140 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT140)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT141,2,1) {_OMC_LIT134,_OMC_LIT140}};
#define _OMC_LIT141 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT141)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT142,3,6) {&Tpl_StringToken_ST__STRING__LIST__desc,_OMC_LIT141,MMC_IMMEDIATE(MMC_TAGFIXNUM(0 /* false */))}};
#define _OMC_LIT142 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT142)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT143,2,5) {&Tpl_StringToken_ST__LINE__desc,_OMC_LIT134}};
#define _OMC_LIT143 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT143)
#define _OMC_LIT144_data "  </y:PolyLineEdge>\n"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT144,20,_OMC_LIT144_data);
#define _OMC_LIT144 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT144)
#define _OMC_LIT145_data "</data>\n"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT145,8,_OMC_LIT145_data);
#define _OMC_LIT145 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT145)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT146,2,1) {_OMC_LIT145,MMC_REFSTRUCTLIT(mmc_nil)}};
#define _OMC_LIT146 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT146)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT147,2,1) {_OMC_LIT144,_OMC_LIT146}};
#define _OMC_LIT147 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT147)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT148,3,6) {&Tpl_StringToken_ST__STRING__LIST__desc,_OMC_LIT147,MMC_IMMEDIATE(MMC_TAGFIXNUM(1 /* true */))}};
#define _OMC_LIT148 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT148)
#define _OMC_LIT149_data "</edge>"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT149,7,_OMC_LIT149_data);
#define _OMC_LIT149 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT149)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT150,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT149}};
#define _OMC_LIT150 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT150)
#define _OMC_LIT151_data "<node id=\""
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT151,10,_OMC_LIT151_data);
#define _OMC_LIT151 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT151)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT152,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT151}};
#define _OMC_LIT152 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT152)
#define _OMC_LIT153_data "<data key=\"ddesc\"><![CDATA["
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT153,27,_OMC_LIT153_data);
#define _OMC_LIT153 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT153)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT154,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT153}};
#define _OMC_LIT154 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT154)
#define _OMC_LIT155_data "]]></data>\n"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT155,11,_OMC_LIT155_data);
#define _OMC_LIT155 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT155)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT156,2,1) {_OMC_LIT120,MMC_REFSTRUCTLIT(mmc_nil)}};
#define _OMC_LIT156 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT156)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT157,2,1) {_OMC_LIT155,_OMC_LIT156}};
#define _OMC_LIT157 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT157)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT158,3,6) {&Tpl_StringToken_ST__STRING__LIST__desc,_OMC_LIT157,MMC_IMMEDIATE(MMC_TAGFIXNUM(0 /* false */))}};
#define _OMC_LIT158 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT158)
#define _OMC_LIT159_data "    <y:ShapeNode>\n"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT159,18,_OMC_LIT159_data);
#define _OMC_LIT159 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT159)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT160,2,1) {_OMC_LIT159,MMC_REFSTRUCTLIT(mmc_nil)}};
#define _OMC_LIT160 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT160)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT161,2,1) {_OMC_LIT70,_OMC_LIT160}};
#define _OMC_LIT161 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT161)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT162,3,6) {&Tpl_StringToken_ST__STRING__LIST__desc,_OMC_LIT161,MMC_IMMEDIATE(MMC_TAGFIXNUM(1 /* true */))}};
#define _OMC_LIT162 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT162)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT163,2,4) {&Tpl_BlockType_BT__INDENT__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(6))}};
#define _OMC_LIT163 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT163)
#define _OMC_LIT164_data "<y:Fill color=\"#"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT164,16,_OMC_LIT164_data);
#define _OMC_LIT164 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT164)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT165,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT164}};
#define _OMC_LIT165 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT165)
#define _OMC_LIT166_data "\" transparent=\"false\"/>\n"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT166,24,_OMC_LIT166_data);
#define _OMC_LIT166 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT166)
#define _OMC_LIT167_data "<y:BorderStyle color=\"#000000\" type=\"line\" width=\""
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT167,50,_OMC_LIT167_data);
#define _OMC_LIT167 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT167)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT168,2,1) {_OMC_LIT167,MMC_REFSTRUCTLIT(mmc_nil)}};
#define _OMC_LIT168 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT168)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT169,2,1) {_OMC_LIT166,_OMC_LIT168}};
#define _OMC_LIT169 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT169)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT170,3,6) {&Tpl_StringToken_ST__STRING__LIST__desc,_OMC_LIT169,MMC_IMMEDIATE(MMC_TAGFIXNUM(0 /* false */))}};
#define _OMC_LIT170 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT170)
#define _OMC_LIT171_data "<y:Shape type=\""
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT171,15,_OMC_LIT171_data);
#define _OMC_LIT171 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT171)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT172,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT171}};
#define _OMC_LIT172 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT172)
#define _OMC_LIT173_data "    </y:ShapeNode>\n"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT173,19,_OMC_LIT173_data);
#define _OMC_LIT173 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT173)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT174,2,1) {_OMC_LIT173,_OMC_LIT146}};
#define _OMC_LIT174 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT174)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT175,3,6) {&Tpl_StringToken_ST__STRING__LIST__desc,_OMC_LIT174,MMC_IMMEDIATE(MMC_TAGFIXNUM(1 /* true */))}};
#define _OMC_LIT175 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT175)
#define _OMC_LIT176_data "</node>"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT176,7,_OMC_LIT176_data);
#define _OMC_LIT176 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT176)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT177,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT176}};
#define _OMC_LIT177 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT177)
#define _OMC_LIT178_data "\" yfiles.foldertype=\""
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT178,21,_OMC_LIT178_data);
#define _OMC_LIT178 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT178)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT179,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT178}};
#define _OMC_LIT179 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT179)
#define _OMC_LIT180_data "  <y:ProxyAutoBoundsNode>\n"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT180,26,_OMC_LIT180_data);
#define _OMC_LIT180 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT180)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT181,2,1) {_OMC_LIT180,MMC_REFSTRUCTLIT(mmc_nil)}};
#define _OMC_LIT181 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT181)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT182,2,1) {_OMC_LIT70,_OMC_LIT181}};
#define _OMC_LIT182 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT182)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT183,3,6) {&Tpl_StringToken_ST__STRING__LIST__desc,_OMC_LIT182,MMC_IMMEDIATE(MMC_TAGFIXNUM(1 /* true */))}};
#define _OMC_LIT183 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT183)
#define _OMC_LIT184_data "<y:Realizers active=\""
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT184,21,_OMC_LIT184_data);
#define _OMC_LIT184 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT184)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT185,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT184}};
#define _OMC_LIT185 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT185)
#define _OMC_LIT186_data "  <y:GroupNode>\n"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT186,16,_OMC_LIT186_data);
#define _OMC_LIT186 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT186)
#define _OMC_LIT187_data "    <y:Fill color=\"#F5F5F5\" transparent=\"false\"/>\n"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT187,50,_OMC_LIT187_data);
#define _OMC_LIT187 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT187)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT188,2,1) {_OMC_LIT187,MMC_REFSTRUCTLIT(mmc_nil)}};
#define _OMC_LIT188 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT188)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT189,2,1) {_OMC_LIT186,_OMC_LIT188}};
#define _OMC_LIT189 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT189)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT190,2,1) {_OMC_LIT70,_OMC_LIT189}};
#define _OMC_LIT190 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT190)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT191,3,6) {&Tpl_StringToken_ST__STRING__LIST__desc,_OMC_LIT190,MMC_IMMEDIATE(MMC_TAGFIXNUM(1 /* true */))}};
#define _OMC_LIT191 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT191)
#define _OMC_LIT192_data "<y:NodeLabel alignment=\"right\" autoSizePolicy=\"node_width\" backgroundColor=\"#EBEBEB\" borderDistance=\"0.0\" fontFamily=\"Dialog\" fontSize=\"15\" fontStyle=\"plain\" hasLineColor=\"false\" modelName=\"internal\" modelPosition=\"t\" textColor=\"#000000\" visible=\"true\">"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT192,253,_OMC_LIT192_data);
#define _OMC_LIT192 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT192)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT193,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT192}};
#define _OMC_LIT193 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT193)
#define _OMC_LIT194_data "</y:NodeLabel>\n"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT194,15,_OMC_LIT194_data);
#define _OMC_LIT194 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT194)
#define _OMC_LIT195_data "<y:Shape type=\"roundrectangle\"/>\n"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT195,33,_OMC_LIT195_data);
#define _OMC_LIT195 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT195)
#define _OMC_LIT196_data "<y:State closed=\"false\" closedHeight=\"50.0\" closedWidth=\"50.0\" innerGraphDisplayEnabled=\"false\"/>\n"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT196,98,_OMC_LIT196_data);
#define _OMC_LIT196 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT196)
#define _OMC_LIT197_data "<y:Insets bottom=\"15\" bottomF=\"15.0\" left=\"15\" leftF=\"15.0\" right=\"15\" rightF=\"15.0\" top=\"15\" topF=\"15.0\"/>\n"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT197,108,_OMC_LIT197_data);
#define _OMC_LIT197 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT197)
#define _OMC_LIT198_data "<y:BorderInsets bottom=\"0\" bottomF=\"0.0\" left=\"0\" leftF=\"0.0\" right=\"0\" rightF=\"0.0\" top=\"0\" topF=\"0.0\"/>\n"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT198,106,_OMC_LIT198_data);
#define _OMC_LIT198 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT198)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT199,2,1) {_OMC_LIT198,MMC_REFSTRUCTLIT(mmc_nil)}};
#define _OMC_LIT199 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT199)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT200,2,1) {_OMC_LIT197,_OMC_LIT199}};
#define _OMC_LIT200 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT200)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT201,2,1) {_OMC_LIT196,_OMC_LIT200}};
#define _OMC_LIT201 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT201)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT202,2,1) {_OMC_LIT195,_OMC_LIT201}};
#define _OMC_LIT202 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT202)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT203,2,1) {_OMC_LIT194,_OMC_LIT202}};
#define _OMC_LIT203 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT203)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT204,3,6) {&Tpl_StringToken_ST__STRING__LIST__desc,_OMC_LIT203,MMC_IMMEDIATE(MMC_TAGFIXNUM(1 /* true */))}};
#define _OMC_LIT204 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT204)
#define _OMC_LIT205_data "  </y:GroupNode>\n"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT205,17,_OMC_LIT205_data);
#define _OMC_LIT205 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT205)
#define _OMC_LIT206_data "    <y:Geometry height=\"50.0\" width=\"50.0\" x=\"0.0\" y=\"60.0\"/>\n"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT206,62,_OMC_LIT206_data);
#define _OMC_LIT206 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT206)
#define _OMC_LIT207_data "    <y:BorderStyle color=\"#000000\" type=\"dashed\" width=\"1.0\"/>\n"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT207,63,_OMC_LIT207_data);
#define _OMC_LIT207 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT207)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT208,2,1) {_OMC_LIT207,MMC_REFSTRUCTLIT(mmc_nil)}};
#define _OMC_LIT208 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT208)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT209,2,1) {_OMC_LIT187,_OMC_LIT208}};
#define _OMC_LIT209 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT209)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT210,2,1) {_OMC_LIT206,_OMC_LIT209}};
#define _OMC_LIT210 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT210)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT211,2,1) {_OMC_LIT186,_OMC_LIT210}};
#define _OMC_LIT211 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT211)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT212,2,1) {_OMC_LIT205,_OMC_LIT211}};
#define _OMC_LIT212 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT212)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT213,3,6) {&Tpl_StringToken_ST__STRING__LIST__desc,_OMC_LIT212,MMC_IMMEDIATE(MMC_TAGFIXNUM(1 /* true */))}};
#define _OMC_LIT213 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT213)
#define _OMC_LIT214_data "<y:NodeLabel alignment=\"right\" autoSizePolicy=\"node_width\" backgroundColor=\"#EBEBEB\" borderDistance=\"0.0\" fontFamily=\"Dialog\" fontSize=\"15\" fontStyle=\"plain\" hasLineColor=\"false\" height=\"22.37646484375\" modelName=\"internal\" modelPosition=\"t\" textColor=\"#000000\" visible=\"true\">"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT214,277,_OMC_LIT214_data);
#define _OMC_LIT214 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT214)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT215,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT214}};
#define _OMC_LIT215 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT215)
#define _OMC_LIT216_data "<y:State closed=\"true\" closedHeight=\"50.0\" closedWidth=\"50.0\" innerGraphDisplayEnabled=\"false\"/>\n"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT216,97,_OMC_LIT216_data);
#define _OMC_LIT216 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT216)
#define _OMC_LIT217_data "<y:Insets bottom=\"5\" bottomF=\"5.0\" left=\"5\" leftF=\"5.0\" right=\"5\" rightF=\"5.0\" top=\"5\" topF=\"5.0\"/>\n"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT217,100,_OMC_LIT217_data);
#define _OMC_LIT217 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT217)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT218,2,1) {_OMC_LIT217,_OMC_LIT199}};
#define _OMC_LIT218 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT218)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT219,2,1) {_OMC_LIT216,_OMC_LIT218}};
#define _OMC_LIT219 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT219)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT220,2,1) {_OMC_LIT195,_OMC_LIT219}};
#define _OMC_LIT220 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT220)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT221,2,1) {_OMC_LIT194,_OMC_LIT220}};
#define _OMC_LIT221 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT221)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT222,3,6) {&Tpl_StringToken_ST__STRING__LIST__desc,_OMC_LIT221,MMC_IMMEDIATE(MMC_TAGFIXNUM(1 /* true */))}};
#define _OMC_LIT222 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT222)
#define _OMC_LIT223_data "</y:Realizers>\n"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT223,15,_OMC_LIT223_data);
#define _OMC_LIT223 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT223)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT224,2,1) {_OMC_LIT223,MMC_REFSTRUCTLIT(mmc_nil)}};
#define _OMC_LIT224 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT224)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT225,2,1) {_OMC_LIT205,_OMC_LIT224}};
#define _OMC_LIT225 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT225)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT226,3,6) {&Tpl_StringToken_ST__STRING__LIST__desc,_OMC_LIT225,MMC_IMMEDIATE(MMC_TAGFIXNUM(1 /* true */))}};
#define _OMC_LIT226 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT226)
#define _OMC_LIT227_data "  </y:ProxyAutoBoundsNode>\n"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT227,27,_OMC_LIT227_data);
#define _OMC_LIT227 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT227)
#define _OMC_LIT228_data "<!-- Graph Idx: "
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT228,16,_OMC_LIT228_data);
#define _OMC_LIT228 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT228)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT229,2,1) {_OMC_LIT228,MMC_REFSTRUCTLIT(mmc_nil)}};
#define _OMC_LIT229 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT229)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT230,2,1) {_OMC_LIT145,_OMC_LIT229}};
#define _OMC_LIT230 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT230)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT231,2,1) {_OMC_LIT227,_OMC_LIT230}};
#define _OMC_LIT231 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT231)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT232,3,6) {&Tpl_StringToken_ST__STRING__LIST__desc,_OMC_LIT231,MMC_IMMEDIATE(MMC_TAGFIXNUM(0 /* false */))}};
#define _OMC_LIT232 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT232)
#define _OMC_LIT233_data " -->\n"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT233,5,_OMC_LIT233_data);
#define _OMC_LIT233 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT233)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT234,2,5) {&Tpl_StringToken_ST__LINE__desc,_OMC_LIT233}};
#define _OMC_LIT234 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT234)
#define _OMC_LIT235_data ""
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT235,0,_OMC_LIT235_data);
#define _OMC_LIT235 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT235)
#define _OMC_LIT236_data "0"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT236,1,_OMC_LIT236_data);
#define _OMC_LIT236 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT236)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT237,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT236}};
#define _OMC_LIT237 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT237)
#define _OMC_LIT238_data "1"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT238,1,_OMC_LIT238_data);
#define _OMC_LIT238 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT238)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT239,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT238}};
#define _OMC_LIT239 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT239)
#define _OMC_LIT240_data "group"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT240,5,_OMC_LIT240_data);
#define _OMC_LIT240 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT240)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT241,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT240}};
#define _OMC_LIT241 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT241)
#define _OMC_LIT242_data "folder"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT242,6,_OMC_LIT242_data);
#define _OMC_LIT242 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT242)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT243,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT242}};
#define _OMC_LIT243 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT243)
#define _OMC_LIT244_data "<graph edgedefault=\""
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT244,20,_OMC_LIT244_data);
#define _OMC_LIT244 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT244)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT245,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT244}};
#define _OMC_LIT245 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT245)
#define _OMC_LIT246_data "\" id=\""
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT246,6,_OMC_LIT246_data);
#define _OMC_LIT246 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT246)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT247,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT246}};
#define _OMC_LIT247 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT247)
#define _OMC_LIT248_data "</graph>"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT248,8,_OMC_LIT248_data);
#define _OMC_LIT248 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT248)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT249,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT248}};
#define _OMC_LIT249 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT249)
#define _OMC_LIT250_data "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT250,55,_OMC_LIT250_data);
#define _OMC_LIT250 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT250)
#define _OMC_LIT251_data "<graphml xmlns=\"http://graphml.graphdrawing.org/xmlns\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:y=\"http://www.yworks.com/xml/graphml\" xmlns:yed=\"http://www.yworks.com/xml/yed/3\" xsi:schemaLocation=\"http://graphml.graphdrawing.org/xmlns http://www.yworks.com/xml/schema/graphml/1.1/ygraphml.xsd\">\n"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT251,315,_OMC_LIT251_data);
#define _OMC_LIT251 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT251)
#define _OMC_LIT252_data "\n"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT252,1,_OMC_LIT252_data);
#define _OMC_LIT252 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT252)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT253,2,1) {_OMC_LIT252,MMC_REFSTRUCTLIT(mmc_nil)}};
#define _OMC_LIT253 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT253)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT254,2,1) {_OMC_LIT251,_OMC_LIT253}};
#define _OMC_LIT254 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT254)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT255,2,1) {_OMC_LIT250,_OMC_LIT254}};
#define _OMC_LIT255 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT255)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT256,3,6) {&Tpl_StringToken_ST__STRING__LIST__desc,_OMC_LIT255,MMC_IMMEDIATE(MMC_TAGFIXNUM(1 /* true */))}};
#define _OMC_LIT256 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT256)
#define _OMC_LIT257_data "<key for=\"node\" id=\""
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT257,20,_OMC_LIT257_data);
#define _OMC_LIT257 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT257)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT258,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT257}};
#define _OMC_LIT258 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT258)
#define _OMC_LIT259_data "\" yfiles.type=\"nodegraphics\"/>\n"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT259,31,_OMC_LIT259_data);
#define _OMC_LIT259 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT259)
#define _OMC_LIT260_data "<key attr.name=\"description\" attr.type=\"string\" for=\"node\" id=\"ddesc\" />\n"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT260,73,_OMC_LIT260_data);
#define _OMC_LIT260 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT260)
#define _OMC_LIT261_data "<key for=\"edge\" id=\""
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT261,20,_OMC_LIT261_data);
#define _OMC_LIT261 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT261)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT262,2,1) {_OMC_LIT261,MMC_REFSTRUCTLIT(mmc_nil)}};
#define _OMC_LIT262 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT262)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT263,2,1) {_OMC_LIT260,_OMC_LIT262}};
#define _OMC_LIT263 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT263)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT264,2,1) {_OMC_LIT259,_OMC_LIT263}};
#define _OMC_LIT264 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT264)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT265,3,6) {&Tpl_StringToken_ST__STRING__LIST__desc,_OMC_LIT264,MMC_IMMEDIATE(MMC_TAGFIXNUM(0 /* false */))}};
#define _OMC_LIT265 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT265)
#define _OMC_LIT266_data "\" yfiles.type=\"edgegraphics\"/>\n"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT266,31,_OMC_LIT266_data);
#define _OMC_LIT266 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT266)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT267,2,1) {_OMC_LIT266,_OMC_LIT253}};
#define _OMC_LIT267 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT267)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT268,3,6) {&Tpl_StringToken_ST__STRING__LIST__desc,_OMC_LIT267,MMC_IMMEDIATE(MMC_TAGFIXNUM(1 /* true */))}};
#define _OMC_LIT268 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT268)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT269,2,1) {_OMC_LIT252,_OMC_LIT229}};
#define _OMC_LIT269 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT269)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT270,3,6) {&Tpl_StringToken_ST__STRING__LIST__desc,_OMC_LIT269,MMC_IMMEDIATE(MMC_TAGFIXNUM(0 /* false */))}};
#define _OMC_LIT270 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT270)
#define _OMC_LIT271_data "</graphml>"
static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT271,10,_OMC_LIT271_data);
#define _OMC_LIT271 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT271)
static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT272,2,4) {&Tpl_StringToken_ST__STRING__desc,_OMC_LIT271}};
#define _OMC_LIT272 MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT272)
#include "util/modelica.h"

#include "GraphMLDumpTpl_includes.h"


/* default, do not make protected functions static */
#if !defined(PROTECTED_FUNCTION_STATIC)
#define PROTECTED_FUNCTION_STATIC
#endif
PROTECTED_FUNCTION_STATIC modelica_metatype omc_GraphMLDumpTpl_fun__22(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_mArg, modelica_string _in_a_val, modelica_integer _in_a_idx);
PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_GraphMLDumpTpl_fun__22(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_mArg, modelica_metatype _in_a_val, modelica_metatype _in_a_idx);
static const MMC_DEFSTRUCTLIT(boxvar_lit_GraphMLDumpTpl_fun__22,2,0) {(void*) boxptr_GraphMLDumpTpl_fun__22,0}};
#define boxvar_GraphMLDumpTpl_fun__22 MMC_REFSTRUCTLIT(boxvar_lit_GraphMLDumpTpl_fun__22)
PROTECTED_FUNCTION_STATIC modelica_metatype omc_GraphMLDumpTpl_lm__18(threadData_t *threadData, modelica_metatype __omcQ_24in_5Ftxt, modelica_metatype _items, modelica_metatype _a_graphAttributes);
static const MMC_DEFSTRUCTLIT(boxvar_lit_GraphMLDumpTpl_lm__18,2,0) {(void*) boxptr_GraphMLDumpTpl_lm__18,0}};
#define boxvar_GraphMLDumpTpl_lm__18 MMC_REFSTRUCTLIT(boxvar_lit_GraphMLDumpTpl_lm__18)
PROTECTED_FUNCTION_STATIC modelica_metatype omc_GraphMLDumpTpl_lm__17(threadData_t *threadData, modelica_metatype __omcQ_24in_5Ftxt, modelica_metatype _items);
static const MMC_DEFSTRUCTLIT(boxvar_lit_GraphMLDumpTpl_lm__17,2,0) {(void*) boxptr_GraphMLDumpTpl_lm__17,0}};
#define boxvar_GraphMLDumpTpl_lm__17 MMC_REFSTRUCTLIT(boxvar_lit_GraphMLDumpTpl_lm__17)
PROTECTED_FUNCTION_STATIC modelica_metatype omc_GraphMLDumpTpl_fun__15(threadData_t *threadData, modelica_metatype _in_txt, modelica_boolean _in_a_isFolded);
PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_GraphMLDumpTpl_fun__15(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_isFolded);
static const MMC_DEFSTRUCTLIT(boxvar_lit_GraphMLDumpTpl_fun__15,2,0) {(void*) boxptr_GraphMLDumpTpl_fun__15,0}};
#define boxvar_GraphMLDumpTpl_fun__15 MMC_REFSTRUCTLIT(boxvar_lit_GraphMLDumpTpl_fun__15)
PROTECTED_FUNCTION_STATIC modelica_metatype omc_GraphMLDumpTpl_fun__14(threadData_t *threadData, modelica_metatype _in_txt, modelica_boolean _in_a_isFolded);
PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_GraphMLDumpTpl_fun__14(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_isFolded);
static const MMC_DEFSTRUCTLIT(boxvar_lit_GraphMLDumpTpl_fun__14,2,0) {(void*) boxptr_GraphMLDumpTpl_fun__14,0}};
#define boxvar_GraphMLDumpTpl_fun__14 MMC_REFSTRUCTLIT(boxvar_lit_GraphMLDumpTpl_fun__14)
PROTECTED_FUNCTION_STATIC modelica_metatype omc_GraphMLDumpTpl_fun__13(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_mArg);
static const MMC_DEFSTRUCTLIT(boxvar_lit_GraphMLDumpTpl_fun__13,2,0) {(void*) boxptr_GraphMLDumpTpl_fun__13,0}};
#define boxvar_GraphMLDumpTpl_fun__13 MMC_REFSTRUCTLIT(boxvar_lit_GraphMLDumpTpl_fun__13)
PROTECTED_FUNCTION_STATIC modelica_metatype omc_GraphMLDumpTpl_lm__12(threadData_t *threadData, modelica_metatype __omcQ_24in_5Ftxt, modelica_metatype _items, modelica_metatype _a_graphAttributes);
static const MMC_DEFSTRUCTLIT(boxvar_lit_GraphMLDumpTpl_lm__12,2,0) {(void*) boxptr_GraphMLDumpTpl_lm__12,0}};
#define boxvar_GraphMLDumpTpl_lm__12 MMC_REFSTRUCTLIT(boxvar_lit_GraphMLDumpTpl_lm__12)
PROTECTED_FUNCTION_STATIC modelica_metatype omc_GraphMLDumpTpl_lm__11(threadData_t *threadData, modelica_metatype __omcQ_24in_5Ftxt, modelica_metatype _items);
static const MMC_DEFSTRUCTLIT(boxvar_lit_GraphMLDumpTpl_lm__11,2,0) {(void*) boxptr_GraphMLDumpTpl_lm__11,0}};
#define boxvar_GraphMLDumpTpl_lm__11 MMC_REFSTRUCTLIT(boxvar_lit_GraphMLDumpTpl_lm__11)
PROTECTED_FUNCTION_STATIC modelica_metatype omc_GraphMLDumpTpl_lm__9(threadData_t *threadData, modelica_metatype __omcQ_24in_5Ftxt, modelica_metatype _items, modelica_metatype _a_graphAttributes);
static const MMC_DEFSTRUCTLIT(boxvar_lit_GraphMLDumpTpl_lm__9,2,0) {(void*) boxptr_GraphMLDumpTpl_lm__9,0}};
#define boxvar_GraphMLDumpTpl_lm__9 MMC_REFSTRUCTLIT(boxvar_lit_GraphMLDumpTpl_lm__9)
PROTECTED_FUNCTION_STATIC modelica_metatype omc_GraphMLDumpTpl_lm__8(threadData_t *threadData, modelica_metatype __omcQ_24in_5Ftxt, modelica_metatype _items, modelica_metatype _a_graphAttributes, modelica_string _a_graphNodeKey, modelica_metatype _a_allGraphs, modelica_metatype _a_allNodes);
static const MMC_DEFSTRUCTLIT(boxvar_lit_GraphMLDumpTpl_lm__8,2,0) {(void*) boxptr_GraphMLDumpTpl_lm__8,0}};
#define boxvar_GraphMLDumpTpl_lm__8 MMC_REFSTRUCTLIT(boxvar_lit_GraphMLDumpTpl_lm__8)
PROTECTED_FUNCTION_STATIC modelica_metatype omc_GraphMLDumpTpl_lm__6(threadData_t *threadData, modelica_metatype __omcQ_24in_5Ftxt, modelica_metatype _items, modelica_metatype _a_attributes, modelica_string _a_graphInfo_graphEdgeKey);
static const MMC_DEFSTRUCTLIT(boxvar_lit_GraphMLDumpTpl_lm__6,2,0) {(void*) boxptr_GraphMLDumpTpl_lm__6,0}};
#define boxvar_GraphMLDumpTpl_lm__6 MMC_REFSTRUCTLIT(boxvar_lit_GraphMLDumpTpl_lm__6)
PROTECTED_FUNCTION_STATIC modelica_metatype omc_GraphMLDumpTpl_lm__5(threadData_t *threadData, modelica_metatype __omcQ_24in_5Ftxt, modelica_metatype _items);
static const MMC_DEFSTRUCTLIT(boxvar_lit_GraphMLDumpTpl_lm__5,2,0) {(void*) boxptr_GraphMLDumpTpl_lm__5,0}};
#define boxvar_GraphMLDumpTpl_lm__5 MMC_REFSTRUCTLIT(boxvar_lit_GraphMLDumpTpl_lm__5)

DLLDirection
modelica_metatype omc_GraphMLDumpTpl_dumpShapeType(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_shape)
{
  modelica_metatype _out_txt = NULL;
  modelica_metatype tmpMeta1;
  MMC_SO();
  _tailrecursive: OMC_LABEL_UNUSED
  // _out_txt has no default value.
  { /* match expression */
    modelica_metatype tmp4_1;modelica_metatype tmp4_2;
    tmp4_1 = _in_txt;
    tmp4_2 = _in_a_shape;
    {
      modelica_metatype _txt = NULL;
      int tmp4;
      // _txt has no default value.
      {
        switch (MMC_SWITCH_CAST(valueConstructor(tmp4_2))) {
        case 3: {
          if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,0,0) == 0) goto tmp3_end;
          
          _txt = tmp4_1;
          /* Pattern matching succeeded */
          tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT1);
          goto tmp3_done;
        }
        case 4: {
          if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,1,0) == 0) goto tmp3_end;
          
          _txt = tmp4_1;
          /* Pattern matching succeeded */
          tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT3);
          goto tmp3_done;
        }
        case 5: {
          if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,2,0) == 0) goto tmp3_end;
          
          _txt = tmp4_1;
          /* Pattern matching succeeded */
          tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT5);
          goto tmp3_done;
        }
        case 6: {
          if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,3,0) == 0) goto tmp3_end;
          
          _txt = tmp4_1;
          /* Pattern matching succeeded */
          tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT7);
          goto tmp3_done;
        }
        case 7: {
          if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,4,0) == 0) goto tmp3_end;
          
          _txt = tmp4_1;
          /* Pattern matching succeeded */
          tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT9);
          goto tmp3_done;
        }
        case 8: {
          if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,5,0) == 0) goto tmp3_end;
          
          _txt = tmp4_1;
          /* Pattern matching succeeded */
          tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT11);
          goto tmp3_done;
        }
        case 9: {
          if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,6,0) == 0) goto tmp3_end;
          
          _txt = tmp4_1;
          /* Pattern matching succeeded */
          tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT13);
          goto tmp3_done;
        }
        case 10: {
          if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,7,0) == 0) goto tmp3_end;
          
          _txt = tmp4_1;
          /* Pattern matching succeeded */
          tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT15);
          goto tmp3_done;
        }
        case 11: {
          if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,8,0) == 0) goto tmp3_end;
          
          _txt = tmp4_1;
          /* Pattern matching succeeded */
          tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT17);
          goto tmp3_done;
        }
        case 12: {
          if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,9,0) == 0) goto tmp3_end;
          
          _txt = tmp4_1;
          /* Pattern matching succeeded */
          tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT19);
          goto tmp3_done;
        }
        default:
        tmp3_default: OMC_LABEL_UNUSED; {
          
          _txt = tmp4_1;
          /* Pattern matching succeeded */
          tmpMeta1 = _txt;
          goto tmp3_done;
        }
        }
        goto tmp3_end;
        tmp3_end: ;
      }
      goto goto_2;
      goto_2:;
      MMC_THROW_INTERNAL();
      goto tmp3_done;
      tmp3_done:;
    }
  }
  _out_txt = tmpMeta1;
  _return: OMC_LABEL_UNUSED
  return _out_txt;
}

DLLDirection
modelica_metatype omc_GraphMLDumpTpl_dumpArrowType(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_arrowType)
{
  modelica_metatype _out_txt = NULL;
  modelica_metatype tmpMeta1;
  MMC_SO();
  _tailrecursive: OMC_LABEL_UNUSED
  // _out_txt has no default value.
  { /* match expression */
    modelica_metatype tmp4_1;modelica_metatype tmp4_2;
    tmp4_1 = _in_txt;
    tmp4_2 = _in_a_arrowType;
    {
      modelica_metatype _txt = NULL;
      int tmp4;
      // _txt has no default value.
      {
        switch (MMC_SWITCH_CAST(valueConstructor(tmp4_2))) {
        case 3: {
          if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,0,0) == 0) goto tmp3_end;
          
          _txt = tmp4_1;
          /* Pattern matching succeeded */
          tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT21);
          goto tmp3_done;
        }
        case 4: {
          if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,1,0) == 0) goto tmp3_end;
          
          _txt = tmp4_1;
          /* Pattern matching succeeded */
          tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT23);
          goto tmp3_done;
        }
        case 5: {
          if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,2,0) == 0) goto tmp3_end;
          
          _txt = tmp4_1;
          /* Pattern matching succeeded */
          tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT25);
          goto tmp3_done;
        }
        default:
        tmp3_default: OMC_LABEL_UNUSED; {
          
          _txt = tmp4_1;
          /* Pattern matching succeeded */
          tmpMeta1 = _txt;
          goto tmp3_done;
        }
        }
        goto tmp3_end;
        tmp3_end: ;
      }
      goto goto_2;
      goto_2:;
      MMC_THROW_INTERNAL();
      goto tmp3_done;
      tmp3_done:;
    }
  }
  _out_txt = tmpMeta1;
  _return: OMC_LABEL_UNUSED
  return _out_txt;
}

DLLDirection
modelica_metatype omc_GraphMLDumpTpl_dumpLineType(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_lineType)
{
  modelica_metatype _out_txt = NULL;
  modelica_metatype tmpMeta1;
  MMC_SO();
  _tailrecursive: OMC_LABEL_UNUSED
  // _out_txt has no default value.
  { /* match expression */
    modelica_metatype tmp4_1;modelica_metatype tmp4_2;
    tmp4_1 = _in_txt;
    tmp4_2 = _in_a_lineType;
    {
      modelica_metatype _txt = NULL;
      int tmp4;
      // _txt has no default value.
      {
        switch (MMC_SWITCH_CAST(valueConstructor(tmp4_2))) {
        case 3: {
          if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,0,0) == 0) goto tmp3_end;
          
          _txt = tmp4_1;
          /* Pattern matching succeeded */
          tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT27);
          goto tmp3_done;
        }
        case 4: {
          if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,1,0) == 0) goto tmp3_end;
          
          _txt = tmp4_1;
          /* Pattern matching succeeded */
          tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT29);
          goto tmp3_done;
        }
        case 5: {
          if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,2,0) == 0) goto tmp3_end;
          
          _txt = tmp4_1;
          /* Pattern matching succeeded */
          tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT31);
          goto tmp3_done;
        }
        default:
        tmp3_default: OMC_LABEL_UNUSED; {
          
          _txt = tmp4_1;
          /* Pattern matching succeeded */
          tmpMeta1 = _txt;
          goto tmp3_done;
        }
        }
        goto tmp3_end;
        tmp3_end: ;
      }
      goto goto_2;
      goto_2:;
      MMC_THROW_INTERNAL();
      goto tmp3_done;
      tmp3_done:;
    }
  }
  _out_txt = tmpMeta1;
  _return: OMC_LABEL_UNUSED
  return _out_txt;
}

DLLDirection
modelica_metatype omc_GraphMLDumpTpl_dumpFontStyle(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_fontStyle)
{
  modelica_metatype _out_txt = NULL;
  modelica_metatype tmpMeta1;
  MMC_SO();
  _tailrecursive: OMC_LABEL_UNUSED
  // _out_txt has no default value.
  { /* match expression */
    modelica_metatype tmp4_1;modelica_metatype tmp4_2;
    tmp4_1 = _in_txt;
    tmp4_2 = _in_a_fontStyle;
    {
      modelica_metatype _txt = NULL;
      int tmp4;
      // _txt has no default value.
      {
        switch (MMC_SWITCH_CAST(valueConstructor(tmp4_2))) {
        case 3: {
          if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,0,0) == 0) goto tmp3_end;
          
          _txt = tmp4_1;
          /* Pattern matching succeeded */
          tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT33);
          goto tmp3_done;
        }
        case 4: {
          if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,1,0) == 0) goto tmp3_end;
          
          _txt = tmp4_1;
          /* Pattern matching succeeded */
          tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT35);
          goto tmp3_done;
        }
        case 5: {
          if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,2,0) == 0) goto tmp3_end;
          
          _txt = tmp4_1;
          /* Pattern matching succeeded */
          tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT37);
          goto tmp3_done;
        }
        case 6: {
          if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,3,0) == 0) goto tmp3_end;
          
          _txt = tmp4_1;
          /* Pattern matching succeeded */
          tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT39);
          goto tmp3_done;
        }
        default:
        tmp3_default: OMC_LABEL_UNUSED; {
          
          _txt = tmp4_1;
          /* Pattern matching succeeded */
          tmpMeta1 = _txt;
          goto tmp3_done;
        }
        }
        goto tmp3_end;
        tmp3_end: ;
      }
      goto goto_2;
      goto_2:;
      MMC_THROW_INTERNAL();
      goto tmp3_done;
      tmp3_done:;
    }
  }
  _out_txt = tmpMeta1;
  _return: OMC_LABEL_UNUSED
  return _out_txt;
}

DLLDirection
modelica_metatype omc_GraphMLDumpTpl_dumpColorOpt(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_colorOpt)
{
  modelica_metatype _out_txt = NULL;
  modelica_metatype tmpMeta1;
  MMC_SO();
  _tailrecursive: OMC_LABEL_UNUSED
  // _out_txt has no default value.
  { /* match expression */
    modelica_metatype tmp4_1;modelica_metatype tmp4_2;
    tmp4_1 = _in_txt;
    tmp4_2 = _in_a_colorOpt;
    {
      modelica_metatype _txt = NULL;
      modelica_string _i_col = NULL;
      volatile mmc_switch_type tmp4;
      int tmp5;
      // _txt has no default value.
      // _i_col has no default value.
      tmp4 = 0;
      for (; tmp4 < 2; tmp4++) {
        switch (MMC_SWITCH_CAST(tmp4)) {
        case 0: {
          modelica_metatype tmpMeta6;
          if (optionNone(tmp4_2)) goto tmp3_end;
          tmpMeta6 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 1));
          
          _i_col = tmpMeta6;
          _txt = tmp4_1;
          /* Pattern matching succeeded */
          _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT41);

          _txt = omc_Tpl_writeStr(threadData, _txt, _i_col);
          tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT43);
          goto tmp3_done;
        }
        case 1: {
          
          _txt = tmp4_1;
          /* Pattern matching succeeded */
          tmpMeta1 = _txt;
          goto tmp3_done;
        }
        }
        goto tmp3_end;
        tmp3_end: ;
      }
      goto goto_2;
      goto_2:;
      MMC_THROW_INTERNAL();
      goto tmp3_done;
      tmp3_done:;
    }
  }
  _out_txt = tmpMeta1;
  _return: OMC_LABEL_UNUSED
  return _out_txt;
}

DLLDirection
modelica_metatype omc_GraphMLDumpTpl_dumpDirected(threadData_t *threadData, modelica_metatype _in_txt, modelica_boolean _in_a_directed)
{
  modelica_metatype _out_txt = NULL;
  modelica_metatype tmpMeta1;
  MMC_SO();
  _tailrecursive: OMC_LABEL_UNUSED
  // _out_txt has no default value.
  { /* match expression */
    modelica_metatype tmp4_1;modelica_boolean tmp4_2;
    tmp4_1 = _in_txt;
    tmp4_2 = _in_a_directed;
    {
      modelica_metatype _txt = NULL;
      volatile mmc_switch_type tmp4;
      int tmp5;
      // _txt has no default value.
      tmp4 = 0;
      for (; tmp4 < 3; tmp4++) {
        switch (MMC_SWITCH_CAST(tmp4)) {
        case 0: {
          if (1 /* true */ != tmp4_2) goto tmp3_end;
          
          _txt = tmp4_1;
          /* Pattern matching succeeded */
          tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT45);
          goto tmp3_done;
        }
        case 1: {
          if (0 /* false */ != tmp4_2) goto tmp3_end;
          
          _txt = tmp4_1;
          /* Pattern matching succeeded */
          tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT47);
          goto tmp3_done;
        }
        case 2: {
          
          _txt = tmp4_1;
          /* Pattern matching succeeded */
          tmpMeta1 = _txt;
          goto tmp3_done;
        }
        }
        goto tmp3_end;
        tmp3_end: ;
      }
      goto goto_2;
      goto_2:;
      MMC_THROW_INTERNAL();
      goto tmp3_done;
      tmp3_done:;
    }
  }
  _out_txt = tmpMeta1;
  _return: OMC_LABEL_UNUSED
  return _out_txt;
}
modelica_metatype boxptr_GraphMLDumpTpl_dumpDirected(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_directed)
{
  modelica_integer tmp1;
  modelica_metatype _out_txt = NULL;
  tmp1 = mmc_unbox_integer(_in_a_directed);
  _out_txt = omc_GraphMLDumpTpl_dumpDirected(threadData, _in_txt, tmp1);
  /* skip box _out_txt; Tpl.Text */
  return _out_txt;
}

DLLDirection
modelica_metatype omc_GraphMLDumpTpl_dumpAttTarget(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_target)
{
  modelica_metatype _out_txt = NULL;
  modelica_metatype tmpMeta1;
  MMC_SO();
  _tailrecursive: OMC_LABEL_UNUSED
  // _out_txt has no default value.
  { /* match expression */
    modelica_metatype tmp4_1;modelica_metatype tmp4_2;
    tmp4_1 = _in_txt;
    tmp4_2 = _in_a_target;
    {
      modelica_metatype _txt = NULL;
      int tmp4;
      // _txt has no default value.
      {
        switch (MMC_SWITCH_CAST(valueConstructor(tmp4_2))) {
        case 3: {
          if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,0,0) == 0) goto tmp3_end;
          
          _txt = tmp4_1;
          /* Pattern matching succeeded */
          tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT49);
          goto tmp3_done;
        }
        case 4: {
          if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,1,0) == 0) goto tmp3_end;
          
          _txt = tmp4_1;
          /* Pattern matching succeeded */
          tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT51);
          goto tmp3_done;
        }
        case 5: {
          if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,2,0) == 0) goto tmp3_end;
          
          _txt = tmp4_1;
          /* Pattern matching succeeded */
          tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT53);
          goto tmp3_done;
        }
        default:
        tmp3_default: OMC_LABEL_UNUSED; {
          
          _txt = tmp4_1;
          /* Pattern matching succeeded */
          tmpMeta1 = _txt;
          goto tmp3_done;
        }
        }
        goto tmp3_end;
        tmp3_end: ;
      }
      goto goto_2;
      goto_2:;
      MMC_THROW_INTERNAL();
      goto tmp3_done;
      tmp3_done:;
    }
  }
  _out_txt = tmpMeta1;
  _return: OMC_LABEL_UNUSED
  return _out_txt;
}

DLLDirection
modelica_metatype omc_GraphMLDumpTpl_dumpAttType(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_type)
{
  modelica_metatype _out_txt = NULL;
  modelica_metatype tmpMeta1;
  MMC_SO();
  _tailrecursive: OMC_LABEL_UNUSED
  // _out_txt has no default value.
  { /* match expression */
    modelica_metatype tmp4_1;modelica_metatype tmp4_2;
    tmp4_1 = _in_txt;
    tmp4_2 = _in_a_type;
    {
      modelica_metatype _txt = NULL;
      int tmp4;
      // _txt has no default value.
      {
        switch (MMC_SWITCH_CAST(valueConstructor(tmp4_2))) {
        case 3: {
          if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,0,0) == 0) goto tmp3_end;
          
          _txt = tmp4_1;
          /* Pattern matching succeeded */
          tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT55);
          goto tmp3_done;
        }
        case 4: {
          if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,1,0) == 0) goto tmp3_end;
          
          _txt = tmp4_1;
          /* Pattern matching succeeded */
          tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT57);
          goto tmp3_done;
        }
        case 5: {
          if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,2,0) == 0) goto tmp3_end;
          
          _txt = tmp4_1;
          /* Pattern matching succeeded */
          tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT59);
          goto tmp3_done;
        }
        case 6: {
          if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,3,0) == 0) goto tmp3_end;
          
          _txt = tmp4_1;
          /* Pattern matching succeeded */
          tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT61);
          goto tmp3_done;
        }
        default:
        tmp3_default: OMC_LABEL_UNUSED; {
          
          _txt = tmp4_1;
          /* Pattern matching succeeded */
          tmpMeta1 = _txt;
          goto tmp3_done;
        }
        }
        goto tmp3_end;
        tmp3_end: ;
      }
      goto goto_2;
      goto_2:;
      MMC_THROW_INTERNAL();
      goto tmp3_done;
      tmp3_done:;
    }
  }
  _out_txt = tmpMeta1;
  _return: OMC_LABEL_UNUSED
  return _out_txt;
}

DLLDirection
modelica_metatype omc_GraphMLDumpTpl_dumpAttDef(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_attribute)
{
  modelica_metatype _out_txt = NULL;
  modelica_metatype tmpMeta1;
  MMC_SO();
  _tailrecursive: OMC_LABEL_UNUSED
  // _out_txt has no default value.
  { /* match expression */
    modelica_metatype tmp4_1;modelica_metatype tmp4_2;
    tmp4_1 = _in_txt;
    tmp4_2 = _in_a_attribute;
    {
      modelica_metatype _txt = NULL;
      modelica_string _i_defaultValue = NULL;
      modelica_integer _i_attIdx;
      modelica_metatype _i_attTarget = NULL;
      modelica_metatype _i_attType = NULL;
      modelica_string _i_name = NULL;
      volatile mmc_switch_type tmp4;
      int tmp5;
      // _txt has no default value.
      // _i_defaultValue has no default value.
      // _i_attIdx has no default value.
      // _i_attTarget has no default value.
      // _i_attType has no default value.
      // _i_name has no default value.
      tmp4 = 0;
      for (; tmp4 < 2; tmp4++) {
        switch (MMC_SWITCH_CAST(tmp4)) {
        case 0: {
          modelica_metatype tmpMeta6;
          modelica_integer tmp7;
          modelica_metatype tmpMeta8;
          modelica_metatype tmpMeta9;
          modelica_metatype tmpMeta10;
          modelica_metatype tmpMeta11;
          tmpMeta6 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
          tmp7 = mmc_unbox_integer(tmpMeta6);
          tmpMeta8 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3));
          tmpMeta9 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 4));
          tmpMeta10 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 5));
          tmpMeta11 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 6));
          _txt = tmp4_1;
          _i_attIdx = tmp7  /* pattern as ty=Integer */;
          _i_defaultValue = tmpMeta8;
          _i_name = tmpMeta9;
          _i_attType = tmpMeta10;
          _i_attTarget = tmpMeta11;
          /* Pattern matching succeeded */
          _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT63);

          _txt = omc_Tpl_writeStr(threadData, _txt, _i_name);

          _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT65);

          _txt = omc_GraphMLDumpTpl_dumpAttType(threadData, _txt, _i_attType);

          _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT67);

          _txt = omc_GraphMLDumpTpl_dumpAttTarget(threadData, _txt, _i_attTarget);

          _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT69);

          _txt = omc_Tpl_writeStr(threadData, _txt, intString(_i_attIdx));

          _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT71);

          _txt = omc_Tpl_pushBlock(threadData, _txt, _OMC_LIT72);

          _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT74);

          _txt = omc_Tpl_writeStr(threadData, _txt, _i_defaultValue);

          _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT76);

          _txt = omc_Tpl_popBlock(threadData, _txt);
          tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT78);
          goto tmp3_done;
        }
        case 1: {
          
          _txt = tmp4_1;
          /* Pattern matching succeeded */
          tmpMeta1 = _txt;
          goto tmp3_done;
        }
        }
        goto tmp3_end;
        tmp3_end: ;
      }
      goto goto_2;
      goto_2:;
      MMC_THROW_INTERNAL();
      goto tmp3_done;
      tmp3_done:;
    }
  }
  _out_txt = tmpMeta1;
  _return: OMC_LABEL_UNUSED
  return _out_txt;
}

DLLDirection
modelica_metatype omc_GraphMLDumpTpl_dumpAttKey(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_key, modelica_metatype _in_a_graphAttributes)
{
  modelica_metatype _out_txt = NULL;
  modelica_metatype tmpMeta1;
  MMC_SO();
  _tailrecursive: OMC_LABEL_UNUSED
  // _out_txt has no default value.
  { /* match expression */
    modelica_metatype tmp4_1;modelica_metatype tmp4_2;modelica_metatype tmp4_3;
    tmp4_1 = _in_txt;
    tmp4_2 = _in_a_key;
    tmp4_3 = _in_a_graphAttributes;
    {
      modelica_metatype _txt = NULL;
      modelica_metatype _a_graphAttributes = NULL;
      modelica_string _i_val = NULL;
      modelica_integer _i_idx;
      modelica_metatype _ret_0 = NULL;
      volatile mmc_switch_type tmp4;
      int tmp5;
      // _txt has no default value.
      // _a_graphAttributes has no default value.
      // _i_val has no default value.
      // _i_idx has no default value.
      // _ret_0 has no default value.
      tmp4 = 0;
      for (; tmp4 < 1; tmp4++) {
        switch (MMC_SWITCH_CAST(tmp4)) {
        case 0: {
          modelica_metatype tmpMeta6;
          modelica_integer tmp7;
          modelica_metatype tmpMeta8;
          tmpMeta6 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 1));
          tmp7 = mmc_unbox_integer(tmpMeta6);
          tmpMeta8 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
          
          _txt = tmp4_1;
          _i_idx = tmp7  /* pattern as ty=Integer */;
          _i_val = tmpMeta8;
          _a_graphAttributes = tmp4_3;
          /* Pattern matching succeeded */
          _ret_0 = arrayGet(_a_graphAttributes, _i_idx);
          tmpMeta1 = omc_GraphMLDumpTpl_fun__22(threadData, _txt, _ret_0, _i_val, _i_idx);
          goto tmp3_done;
        }
        }
        goto tmp3_end;
        tmp3_end: ;
      }
      goto goto_2;
      goto_2:;
      MMC_THROW_INTERNAL();
      goto tmp3_done;
      tmp3_done:;
    }
  }
  _out_txt = tmpMeta1;
  _return: OMC_LABEL_UNUSED
  return _out_txt;
}

PROTECTED_FUNCTION_STATIC modelica_metatype omc_GraphMLDumpTpl_fun__22(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_mArg, modelica_string _in_a_val, modelica_integer _in_a_idx)
{
  modelica_metatype _out_txt = NULL;
  modelica_metatype tmpMeta1;
  MMC_SO();
  _tailrecursive: OMC_LABEL_UNUSED
  // _out_txt has no default value.
  { /* match expression */
    modelica_metatype tmp4_1;modelica_metatype tmp4_2;modelica_string tmp4_3;modelica_integer tmp4_4;
    tmp4_1 = _in_txt;
    tmp4_2 = _in_mArg;
    tmp4_3 = _in_a_val;
    tmp4_4 = _in_a_idx;
    {
      modelica_metatype _txt = NULL;
      modelica_string _a_val = NULL;
      modelica_integer _a_idx;
      volatile mmc_switch_type tmp4;
      int tmp5;
      // _txt has no default value.
      // _a_val has no default value.
      // _a_idx has no default value.
      tmp4 = 0;
      for (; tmp4 < 2; tmp4++) {
        switch (MMC_SWITCH_CAST(tmp4)) {
        case 0: {
          modelica_metatype tmpMeta6;
          tmpMeta6 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 5));
          if (mmc__uniontype__metarecord__typedef__equal(tmpMeta6,0,0) == 0) goto tmp3_end;
          
          _txt = tmp4_1;
          _a_val = tmp4_3;
          _a_idx = tmp4_4;
          /* Pattern matching succeeded */
          _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT80);

          _txt = omc_Tpl_writeStr(threadData, _txt, intString(_a_idx));

          _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT82);

          _txt = omc_Tpl_writeStr(threadData, _txt, _a_val);
          tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT84);
          goto tmp3_done;
        }
        case 1: {
          
          _txt = tmp4_1;
          _a_val = tmp4_3;
          _a_idx = tmp4_4;
          /* Pattern matching succeeded */
          _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT80);

          _txt = omc_Tpl_writeStr(threadData, _txt, intString(_a_idx));

          _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT86);

          _txt = omc_Tpl_writeStr(threadData, _txt, _a_val);
          tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT88);
          goto tmp3_done;
        }
        }
        goto tmp3_end;
        tmp3_end: ;
      }
      goto goto_2;
      goto_2:;
      MMC_THROW_INTERNAL();
      goto tmp3_done;
      tmp3_done:;
    }
  }
  _out_txt = tmpMeta1;
  _return: OMC_LABEL_UNUSED
  return _out_txt;
}
PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_GraphMLDumpTpl_fun__22(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_mArg, modelica_metatype _in_a_val, modelica_metatype _in_a_idx)
{
  modelica_integer tmp1;
  modelica_metatype _out_txt = NULL;
  tmp1 = mmc_unbox_integer(_in_a_idx);
  _out_txt = omc_GraphMLDumpTpl_fun__22(threadData, _in_txt, _in_mArg, _in_a_val, tmp1);
  /* skip box _out_txt; Tpl.Text */
  return _out_txt;
}

DLLDirection
modelica_metatype omc_GraphMLDumpTpl_dumpNodeLabel(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_nodeLabel)
{
  modelica_metatype _out_txt = NULL;
  modelica_metatype tmpMeta1;
  MMC_SO();
  _tailrecursive: OMC_LABEL_UNUSED
  // _out_txt has no default value.
  { /* match expression */
    modelica_metatype tmp4_1;modelica_metatype tmp4_2;
    tmp4_1 = _in_txt;
    tmp4_2 = _in_a_nodeLabel;
    {
      modelica_metatype _txt = NULL;
      modelica_string _i_position = NULL;
      modelica_string _i_text = NULL;
      modelica_metatype _i_fontStyle = NULL;
      modelica_metatype _i_backgroundColor = NULL;
      modelica_metatype _l_bgColor = NULL;
      int tmp4;
      // _txt has no default value.
      // _i_position has no default value.
      // _i_text has no default value.
      // _i_fontStyle has no default value.
      // _i_backgroundColor has no default value.
      // _l_bgColor has no default value.
      {
        switch (MMC_SWITCH_CAST(valueConstructor(tmp4_2))) {
        case 3: {
          modelica_metatype tmpMeta5;
          modelica_metatype tmpMeta6;
          modelica_metatype tmpMeta7;
          if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,0,3) == 0) goto tmp3_end;
          tmpMeta5 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
          tmpMeta6 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3));
          tmpMeta7 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 4));
          
          _i_text = tmpMeta5;
          _i_backgroundColor = tmpMeta6;
          _i_fontStyle = tmpMeta7;
          _txt = tmp4_1;
          /* Pattern matching succeeded */
          _l_bgColor = omc_GraphMLDumpTpl_dumpColorOpt(threadData, _OMC_LIT89, _i_backgroundColor);

          _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT91);

          _txt = omc_Tpl_writeText(threadData, _txt, _l_bgColor);

          _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT93);

          _txt = omc_GraphMLDumpTpl_dumpFontStyle(threadData, _txt, _i_fontStyle);

          _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT95);

          _txt = omc_Tpl_writeStr(threadData, _txt, _i_text);
          tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT97);
          goto tmp3_done;
        }
        case 4: {
          modelica_metatype tmpMeta8;
          modelica_metatype tmpMeta9;
          modelica_metatype tmpMeta10;
          modelica_metatype tmpMeta11;
          if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,1,4) == 0) goto tmp3_end;
          tmpMeta8 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
          tmpMeta9 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3));
          tmpMeta10 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 4));
          tmpMeta11 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 5));
          
          _i_text = tmpMeta8;
          _i_backgroundColor = tmpMeta9;
          _i_fontStyle = tmpMeta10;
          _i_position = tmpMeta11;
          _txt = tmp4_1;
          /* Pattern matching succeeded */
          _l_bgColor = omc_GraphMLDumpTpl_dumpColorOpt(threadData, _OMC_LIT89, _i_backgroundColor);

          _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT91);

          _txt = omc_Tpl_writeText(threadData, _txt, _l_bgColor);

          _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT93);

          _txt = omc_GraphMLDumpTpl_dumpFontStyle(threadData, _txt, _i_fontStyle);

          _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT99);

          _txt = omc_Tpl_writeStr(threadData, _txt, _i_position);

          _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT101);

          _txt = omc_Tpl_writeStr(threadData, _txt, _i_text);
          tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT97);
          goto tmp3_done;
        }
        default:
        tmp3_default: OMC_LABEL_UNUSED; {
          
          _txt = tmp4_1;
          /* Pattern matching succeeded */
          tmpMeta1 = _txt;
          goto tmp3_done;
        }
        }
        goto tmp3_end;
        tmp3_end: ;
      }
      goto goto_2;
      goto_2:;
      MMC_THROW_INTERNAL();
      goto tmp3_done;
      tmp3_done:;
    }
  }
  _out_txt = tmpMeta1;
  _return: OMC_LABEL_UNUSED
  return _out_txt;
}

DLLDirection
modelica_metatype omc_GraphMLDumpTpl_dumpEdgeLabel(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_edgeLabel)
{
  modelica_metatype _out_txt = NULL;
  modelica_metatype tmpMeta1;
  MMC_SO();
  _tailrecursive: OMC_LABEL_UNUSED
  // _out_txt has no default value.
  { /* match expression */
    modelica_metatype tmp4_1;modelica_metatype tmp4_2;
    tmp4_1 = _in_txt;
    tmp4_2 = _in_a_edgeLabel;
    {
      modelica_metatype _txt = NULL;
      modelica_string _i_text = NULL;
      modelica_integer _i_fontSize;
      modelica_metatype _i_backgroundColor = NULL;
      modelica_metatype _l_bgColor = NULL;
      volatile mmc_switch_type tmp4;
      int tmp5;
      // _txt has no default value.
      // _i_text has no default value.
      // _i_fontSize has no default value.
      // _i_backgroundColor has no default value.
      // _l_bgColor has no default value.
      tmp4 = 0;
      for (; tmp4 < 2; tmp4++) {
        switch (MMC_SWITCH_CAST(tmp4)) {
        case 0: {
          modelica_metatype tmpMeta6;
          modelica_metatype tmpMeta7;
          modelica_metatype tmpMeta8;
          modelica_integer tmp9;
          tmpMeta6 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
          tmpMeta7 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3));
          tmpMeta8 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 4));
          tmp9 = mmc_unbox_integer(tmpMeta8);
          _txt = tmp4_1;
          _i_text = tmpMeta6;
          _i_backgroundColor = tmpMeta7;
          _i_fontSize = tmp9  /* pattern as ty=Integer */;
          /* Pattern matching succeeded */
          _l_bgColor = omc_GraphMLDumpTpl_dumpColorOpt(threadData, _OMC_LIT89, _i_backgroundColor);

          _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT103);

          _txt = omc_Tpl_writeText(threadData, _txt, _l_bgColor);

          _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT105);

          _txt = omc_Tpl_writeStr(threadData, _txt, intString(_i_fontSize));

          _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT107);

          _txt = omc_Tpl_writeStr(threadData, _txt, _i_text);
          tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT109);
          goto tmp3_done;
        }
        case 1: {
          
          _txt = tmp4_1;
          /* Pattern matching succeeded */
          tmpMeta1 = _txt;
          goto tmp3_done;
        }
        }
        goto tmp3_end;
        tmp3_end: ;
      }
      goto goto_2;
      goto_2:;
      MMC_THROW_INTERNAL();
      goto tmp3_done;
      tmp3_done:;
    }
  }
  _out_txt = tmpMeta1;
  _return: OMC_LABEL_UNUSED
  return _out_txt;
}

DLLDirection
modelica_metatype omc_GraphMLDumpTpl_dumpEdge(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_edge, modelica_string _in_a_graphEdgeKey, modelica_metatype _in_a_graphAttributes)
{
  modelica_metatype _out_txt = NULL;
  modelica_metatype tmpMeta1;
  MMC_SO();
  _tailrecursive: OMC_LABEL_UNUSED
  // _out_txt has no default value.
  { /* match expression */
    modelica_metatype tmp4_1;modelica_metatype tmp4_2;modelica_string tmp4_3;modelica_metatype tmp4_4;
    tmp4_1 = _in_txt;
    tmp4_2 = _in_a_edge;
    tmp4_3 = _in_a_graphEdgeKey;
    tmp4_4 = _in_a_graphAttributes;
    {
      modelica_metatype _txt = NULL;
      modelica_string _a_graphEdgeKey = NULL;
      modelica_metatype _a_graphAttributes = NULL;
      modelica_boolean _i_smooth;
      modelica_metatype _i_arrows = NULL;
      modelica_real _i_lineWidth;
      modelica_metatype _i_lineType = NULL;
      modelica_string _i_color = NULL;
      modelica_string _i_target = NULL;
      modelica_string _i_source = NULL;
      modelica_string _i_id = NULL;
      modelica_metatype _i_attValues = NULL;
      modelica_metatype _i_edgeLabels = NULL;
      modelica_metatype _ret_3 = NULL;
      modelica_metatype _ret_2 = NULL;
      modelica_metatype _l_attKeys = NULL;
      modelica_metatype _l_edgeLabelDump = NULL;
      volatile mmc_switch_type tmp4;
      int tmp5;
      // _txt has no default value.
      // _a_graphEdgeKey has no default value.
      // _a_graphAttributes has no default value.
      // _i_smooth has no default value.
      // _i_arrows has no default value.
      // _i_lineWidth has no default value.
      // _i_lineType has no default value.
      // _i_color has no default value.
      // _i_target has no default value.
      // _i_source has no default value.
      // _i_id has no default value.
      // _i_attValues has no default value.
      // _i_edgeLabels has no default value.
      // _ret_3 has no default value.
      // _ret_2 has no default value.
      // _l_attKeys has no default value.
      // _l_edgeLabelDump has no default value.
      tmp4 = 0;
      for (; tmp4 < 2; tmp4++) {
        switch (MMC_SWITCH_CAST(tmp4)) {
        case 0: {
          modelica_metatype tmpMeta6;
          modelica_metatype tmpMeta7;
          modelica_metatype tmpMeta8;
          modelica_metatype tmpMeta9;
          modelica_metatype tmpMeta10;
          modelica_metatype tmpMeta11;
          modelica_real tmp12;
          modelica_metatype tmpMeta13;
          modelica_integer tmp14;
          modelica_metatype tmpMeta15;
          modelica_metatype tmpMeta16;
          modelica_metatype tmpMeta17;
          tmpMeta6 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
          tmpMeta7 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3));
          tmpMeta8 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 4));
          tmpMeta9 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 5));
          tmpMeta10 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 6));
          tmpMeta11 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 7));
          tmp12 = mmc_unbox_real(tmpMeta11);
          tmpMeta13 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 8));
          tmp14 = mmc_unbox_integer(tmpMeta13);
          tmpMeta15 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 9));
          tmpMeta16 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 10));
          tmpMeta17 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 11));
          
          _txt = tmp4_1;
          _i_id = tmpMeta6;
          _i_target = tmpMeta7;
          _i_source = tmpMeta8;
          _i_color = tmpMeta9;
          _i_lineType = tmpMeta10;
          _i_lineWidth = tmp12  /* pattern as ty=Real */;
          _i_smooth = tmp14  /* pattern as ty=Boolean */;
          _i_edgeLabels = tmpMeta15;
          _i_arrows = tmpMeta16;
          _i_attValues = tmpMeta17;
          _a_graphEdgeKey = tmp4_3;
          _a_graphAttributes = tmp4_4;
          /* Pattern matching succeeded */
          _l_edgeLabelDump = omc_Tpl_pushIter(threadData, _OMC_LIT89, _OMC_LIT112);

          _l_edgeLabelDump = omc_GraphMLDumpTpl_lm__17(threadData, _l_edgeLabelDump, _i_edgeLabels);

          _l_edgeLabelDump = omc_Tpl_popIter(threadData, _l_edgeLabelDump);

          _l_attKeys = omc_Tpl_pushIter(threadData, _OMC_LIT89, _OMC_LIT112);

          _l_attKeys = omc_GraphMLDumpTpl_lm__18(threadData, _l_attKeys, _i_attValues, _a_graphAttributes);

          _l_attKeys = omc_Tpl_popIter(threadData, _l_attKeys);

          _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT114);

          _txt = omc_Tpl_writeStr(threadData, _txt, _i_id);

          _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT116);

          _txt = omc_Tpl_writeStr(threadData, _txt, _i_source);

          _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT118);

          _txt = omc_Tpl_writeStr(threadData, _txt, _i_target);

          _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT71);

          _txt = omc_Tpl_pushBlock(threadData, _txt, _OMC_LIT119);

          _txt = omc_Tpl_writeText(threadData, _txt, _l_attKeys);

          _txt = omc_Tpl_softNewLine(threadData, _txt);

          _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT121);

          _txt = omc_Tpl_writeStr(threadData, _txt, _a_graphEdgeKey);

          _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT127);

          _txt = omc_Tpl_pushBlock(threadData, _txt, _OMC_LIT72);

          _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT129);

          _txt = omc_Tpl_writeStr(threadData, _txt, _i_color);

          _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT131);

          _txt = omc_GraphMLDumpTpl_dumpLineType(threadData, _txt, _i_lineType);

          _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT133);

          _txt = omc_Tpl_writeStr(threadData, _txt, realString(_i_lineWidth));

          _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT138);

          _ret_2 = omc_Util_tuple21(threadData, _i_arrows);

          _txt = omc_GraphMLDumpTpl_dumpArrowType(threadData, _txt, _ret_2);

          _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT118);

          _ret_3 = omc_Util_tuple22(threadData, _i_arrows);

          _txt = omc_GraphMLDumpTpl_dumpArrowType(threadData, _txt, _ret_3);

          _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT142);

          _txt = omc_Tpl_writeStr(threadData, _txt, omc_Tpl_booleanString(threadData, _i_smooth));

          _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT143);

          _txt = omc_Tpl_writeText(threadData, _txt, _l_edgeLabelDump);

          _txt = omc_Tpl_softNewLine(threadData, _txt);

          _txt = omc_Tpl_popBlock(threadData, _txt);

          _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT148);

          _txt = omc_Tpl_popBlock(threadData, _txt);
          tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT150);
          goto tmp3_done;
        }
        case 1: {
          
          _txt = tmp4_1;
          /* Pattern matching succeeded */
          tmpMeta1 = _txt;
          goto tmp3_done;
        }
        }
        goto tmp3_end;
        tmp3_end: ;
      }
      goto goto_2;
      goto_2:;
      MMC_THROW_INTERNAL();
      goto tmp3_done;
      tmp3_done:;
    }
  }
  _out_txt = tmpMeta1;
  _return: OMC_LABEL_UNUSED
  return _out_txt;
}

PROTECTED_FUNCTION_STATIC modelica_metatype omc_GraphMLDumpTpl_lm__18(threadData_t *threadData, modelica_metatype __omcQ_24in_5Ftxt, modelica_metatype _items, modelica_metatype _a_graphAttributes)
{
  modelica_metatype _txt = NULL;
  modelica_metatype tmpMeta1;
  modelica_metatype tmpMeta2;
  modelica_metatype tmpMeta7;
  MMC_SO();
  _tailrecursive: OMC_LABEL_UNUSED
  _txt = __omcQ_24in_5Ftxt;
  {
    modelica_metatype _lstElt_18;
    for (tmpMeta1 = _items; !listEmpty(tmpMeta1); tmpMeta1=MMC_CDR(tmpMeta1))
    {
      _lstElt_18 = MMC_CAR(tmpMeta1);
      { /* match expression */
        modelica_metatype tmp5_1;
        tmp5_1 = _lstElt_18;
        {
          modelica_metatype _i_val = NULL;
          volatile mmc_switch_type tmp5;
          int tmp6;
          // _i_val has no default value.
          tmp5 = 0;
          for (; tmp5 < 1; tmp5++) {
            switch (MMC_SWITCH_CAST(tmp5)) {
            case 0: {
              
              _i_val = tmp5_1;
              /* Pattern matching succeeded */
              _txt = omc_GraphMLDumpTpl_dumpAttKey(threadData, _txt, _i_val, _a_graphAttributes);
              tmpMeta2 = omc_Tpl_nextIter(threadData, _txt);
              goto tmp4_done;
            }
            }
            goto tmp4_end;
            tmp4_end: ;
          }
          goto goto_3;
          goto_3:;
          MMC_THROW_INTERNAL();
          goto tmp4_done;
          tmp4_done:;
        }
      }
      _txt = tmpMeta2;
    }
  }
  _return: OMC_LABEL_UNUSED
  return _txt;
}

PROTECTED_FUNCTION_STATIC modelica_metatype omc_GraphMLDumpTpl_lm__17(threadData_t *threadData, modelica_metatype __omcQ_24in_5Ftxt, modelica_metatype _items)
{
  modelica_metatype _txt = NULL;
  modelica_metatype tmpMeta1;
  modelica_metatype tmpMeta2;
  modelica_metatype tmpMeta7;
  MMC_SO();
  _tailrecursive: OMC_LABEL_UNUSED
  _txt = __omcQ_24in_5Ftxt;
  {
    modelica_metatype _lstElt_17;
    for (tmpMeta1 = _items; !listEmpty(tmpMeta1); tmpMeta1=MMC_CDR(tmpMeta1))
    {
      _lstElt_17 = MMC_CAR(tmpMeta1);
      { /* match expression */
        modelica_metatype tmp5_1;
        tmp5_1 = _lstElt_17;
        {
          modelica_metatype _i_label = NULL;
          volatile mmc_switch_type tmp5;
          int tmp6;
          // _i_label has no default value.
          tmp5 = 0;
          for (; tmp5 < 1; tmp5++) {
            switch (MMC_SWITCH_CAST(tmp5)) {
            case 0: {
              
              _i_label = tmp5_1;
              /* Pattern matching succeeded */
              _txt = omc_GraphMLDumpTpl_dumpEdgeLabel(threadData, _txt, _i_label);
              tmpMeta2 = omc_Tpl_nextIter(threadData, _txt);
              goto tmp4_done;
            }
            }
            goto tmp4_end;
            tmp4_end: ;
          }
          goto goto_3;
          goto_3:;
          MMC_THROW_INTERNAL();
          goto tmp4_done;
          tmp4_done:;
        }
      }
      _txt = tmpMeta2;
    }
  }
  _return: OMC_LABEL_UNUSED
  return _txt;
}

DLLDirection
modelica_metatype omc_GraphMLDumpTpl_dumpNode(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_node, modelica_metatype _in_a_allGraphs, modelica_metatype _in_a_allNodes, modelica_string _in_a_graphNodeKey, modelica_metatype _in_a_graphAttributes)
{
  modelica_metatype _out_txt = NULL;
  modelica_metatype tmpMeta1;
  MMC_SO();
  _tailrecursive: OMC_LABEL_UNUSED
  // _out_txt has no default value.
  { /* match expression */
    modelica_metatype tmp4_1;modelica_metatype tmp4_2;modelica_metatype tmp4_3;modelica_metatype tmp4_4;modelica_string tmp4_5;modelica_metatype tmp4_6;
    tmp4_1 = _in_txt;
    tmp4_2 = _in_a_node;
    tmp4_3 = _in_a_allGraphs;
    tmp4_4 = _in_a_allNodes;
    tmp4_5 = _in_a_graphNodeKey;
    tmp4_6 = _in_a_graphAttributes;
    {
      modelica_metatype _txt = NULL;
      modelica_metatype _a_allGraphs = NULL;
      modelica_metatype _a_allNodes = NULL;
      modelica_string _a_graphNodeKey = NULL;
      modelica_metatype _a_graphAttributes = NULL;
      modelica_integer _i_internalGraphIdx;
      modelica_string _i_header = NULL;
      modelica_boolean _i_isFolded;
      modelica_metatype _i_shapeType = NULL;
      modelica_real _i_border;
      modelica_string _i_color = NULL;
      modelica_metatype _i_optDesc = NULL;
      modelica_string _i_id = NULL;
      modelica_metatype _i_attValues = NULL;
      modelica_metatype _i_nodeLabels = NULL;
      modelica_metatype _ret_10 = NULL;
      modelica_integer _ret_9;
      modelica_integer _ret_8;
      modelica_integer _ret_7;
      modelica_integer _ret_6;
      modelica_integer _ret_5;
      modelica_integer _ret_4;
      modelica_metatype _l_activeType = NULL;
      modelica_metatype _l_folderType = NULL;
      modelica_metatype _l_attKeys = NULL;
      modelica_metatype _l_nodeLabelDump = NULL;
      int tmp4;
      // _txt has no default value.
      // _a_allGraphs has no default value.
      // _a_allNodes has no default value.
      // _a_graphNodeKey has no default value.
      // _a_graphAttributes has no default value.
      // _i_internalGraphIdx has no default value.
      // _i_header has no default value.
      // _i_isFolded has no default value.
      // _i_shapeType has no default value.
      // _i_border has no default value.
      // _i_color has no default value.
      // _i_optDesc has no default value.
      // _i_id has no default value.
      // _i_attValues has no default value.
      // _i_nodeLabels has no default value.
      // _ret_10 has no default value.
      // _ret_9 has no default value.
      // _ret_8 has no default value.
      // _ret_7 has no default value.
      // _ret_6 has no default value.
      // _ret_5 has no default value.
      // _ret_4 has no default value.
      // _l_activeType has no default value.
      // _l_folderType has no default value.
      // _l_attKeys has no default value.
      // _l_nodeLabelDump has no default value.
      {
        switch (MMC_SWITCH_CAST(valueConstructor(tmp4_2))) {
        case 3: {
          modelica_metatype tmpMeta5;
          modelica_metatype tmpMeta6;
          modelica_metatype tmpMeta7;
          modelica_real tmp8;
          modelica_metatype tmpMeta9;
          modelica_metatype tmpMeta10;
          modelica_metatype tmpMeta11;
          modelica_metatype tmpMeta12;
          if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,0,7) == 0) goto tmp3_end;
          tmpMeta5 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
          tmpMeta6 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3));
          tmpMeta7 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 4));
          tmp8 = mmc_unbox_real(tmpMeta7);
          tmpMeta9 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 5));
          tmpMeta10 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 6));
          tmpMeta11 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 7));
          tmpMeta12 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 8));
          
          _i_id = tmpMeta5;
          _i_color = tmpMeta6;
          _i_border = tmp8  /* pattern as ty=Real */;
          _i_nodeLabels = tmpMeta9;
          _i_shapeType = tmpMeta10;
          _i_optDesc = tmpMeta11;
          _i_attValues = tmpMeta12;
          _txt = tmp4_1;
          _a_graphNodeKey = tmp4_5;
          _a_graphAttributes = tmp4_6;
          /* Pattern matching succeeded */
          _l_nodeLabelDump = omc_Tpl_pushIter(threadData, _OMC_LIT89, _OMC_LIT112);

          _l_nodeLabelDump = omc_GraphMLDumpTpl_lm__11(threadData, _l_nodeLabelDump, _i_nodeLabels);

          _l_nodeLabelDump = omc_Tpl_popIter(threadData, _l_nodeLabelDump);

          _l_attKeys = omc_Tpl_pushIter(threadData, _OMC_LIT89, _OMC_LIT112);

          _l_attKeys = omc_GraphMLDumpTpl_lm__12(threadData, _l_attKeys, _i_attValues, _a_graphAttributes);

          _l_attKeys = omc_Tpl_popIter(threadData, _l_attKeys);

          _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT152);

          _txt = omc_Tpl_writeStr(threadData, _txt, _i_id);

          _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT71);

          _txt = omc_Tpl_pushBlock(threadData, _txt, _OMC_LIT72);

          _txt = omc_Tpl_writeText(threadData, _txt, _l_attKeys);

          _txt = omc_Tpl_softNewLine(threadData, _txt);

          _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT154);

          _txt = omc_GraphMLDumpTpl_fun__13(threadData, _txt, _i_optDesc);

          _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT158);

          _txt = omc_Tpl_writeStr(threadData, _txt, _a_graphNodeKey);

          _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT162);

          _txt = omc_Tpl_pushBlock(threadData, _txt, _OMC_LIT163);

          _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT165);

          _txt = omc_Tpl_writeStr(threadData, _txt, _i_color);

          _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT170);

          _txt = omc_Tpl_writeStr(threadData, _txt, realString(_i_border));

          _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT143);

          _txt = omc_Tpl_writeText(threadData, _txt, _l_nodeLabelDump);

          _txt = omc_Tpl_softNewLine(threadData, _txt);

          _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT172);

          _txt = omc_GraphMLDumpTpl_dumpShapeType(threadData, _txt, _i_shapeType);

          _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT143);

          _txt = omc_Tpl_popBlock(threadData, _txt);

          _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT175);

          _txt = omc_Tpl_popBlock(threadData, _txt);
          tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT177);
          goto tmp3_done;
        }
        case 4: {
          modelica_metatype tmpMeta13;
          modelica_metatype tmpMeta14;
          modelica_integer tmp15;
          modelica_metatype tmpMeta16;
          modelica_integer tmp17;
          modelica_metatype tmpMeta18;
          if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,1,4) == 0) goto tmp3_end;
          tmpMeta13 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
          tmpMeta14 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3));
          tmp15 = mmc_unbox_integer(tmpMeta14);
          tmpMeta16 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 4));
          tmp17 = mmc_unbox_integer(tmpMeta16);
          tmpMeta18 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 5));
          
          _i_id = tmpMeta13;
          _i_internalGraphIdx = tmp15  /* pattern as ty=Integer */;
          _i_isFolded = tmp17  /* pattern as ty=Boolean */;
          _i_header = tmpMeta18;
          _txt = tmp4_1;
          _a_allGraphs = tmp4_3;
          _a_allNodes = tmp4_4;
          _a_graphNodeKey = tmp4_5;
          _a_graphAttributes = tmp4_6;
          /* Pattern matching succeeded */
          _l_folderType = omc_GraphMLDumpTpl_fun__14(threadData, _OMC_LIT89, _i_isFolded);

          _l_activeType = omc_GraphMLDumpTpl_fun__15(threadData, _OMC_LIT89, _i_isFolded);

          _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT152);

          _txt = omc_Tpl_writeStr(threadData, _txt, _i_id);

          _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT179);

          _txt = omc_Tpl_writeText(threadData, _txt, _l_folderType);

          _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT71);

          _txt = omc_Tpl_pushBlock(threadData, _txt, _OMC_LIT119);

          _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT121);

          _txt = omc_Tpl_writeStr(threadData, _txt, _a_graphNodeKey);

          _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT183);

          _txt = omc_Tpl_pushBlock(threadData, _txt, _OMC_LIT72);

          _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT185);

          _txt = omc_Tpl_writeText(threadData, _txt, _l_activeType);

          _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT191);

          _txt = omc_Tpl_pushBlock(threadData, _txt, _OMC_LIT72);

          _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT193);

          _txt = omc_Tpl_writeStr(threadData, _txt, _i_header);

          _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT204);

          _txt = omc_Tpl_popBlock(threadData, _txt);

          _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT213);

          _txt = omc_Tpl_pushBlock(threadData, _txt, _OMC_LIT72);

          _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT215);

          _txt = omc_Tpl_writeStr(threadData, _txt, _i_header);

          _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT222);

          _txt = omc_Tpl_popBlock(threadData, _txt);

          _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT226);

          _txt = omc_Tpl_popBlock(threadData, _txt);

          _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT232);

          _ret_4 = arrayLength(_a_allGraphs);

          _ret_5 = _ret_4 - _i_internalGraphIdx;

          _ret_6 = ((modelica_integer) 1) + _ret_5;

          _txt = omc_Tpl_writeStr(threadData, _txt, intString(_ret_6));

          _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT234);

          _ret_7 = arrayLength(_a_allGraphs);

          _ret_8 = _ret_7 - _i_internalGraphIdx;

          _ret_9 = ((modelica_integer) 1) + _ret_8;

          _ret_10 = arrayGet(_a_allGraphs, _ret_9);

          _txt = omc_GraphMLDumpTpl_dumpGraph(threadData, _txt, _ret_10, _a_allGraphs, _a_allNodes, _OMC_LIT235, _a_graphNodeKey, _a_graphAttributes);

          _txt = omc_Tpl_softNewLine(threadData, _txt);

          _txt = omc_Tpl_popBlock(threadData, _txt);
          tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT177);
          goto tmp3_done;
        }
        default:
        tmp3_default: OMC_LABEL_UNUSED; {
          
          _txt = tmp4_1;
          /* Pattern matching succeeded */
          tmpMeta1 = _txt;
          goto tmp3_done;
        }
        }
        goto tmp3_end;
        tmp3_end: ;
      }
      goto goto_2;
      goto_2:;
      MMC_THROW_INTERNAL();
      goto tmp3_done;
      tmp3_done:;
    }
  }
  _out_txt = tmpMeta1;
  _return: OMC_LABEL_UNUSED
  return _out_txt;
}

PROTECTED_FUNCTION_STATIC modelica_metatype omc_GraphMLDumpTpl_fun__15(threadData_t *threadData, modelica_metatype _in_txt, modelica_boolean _in_a_isFolded)
{
  modelica_metatype _out_txt = NULL;
  modelica_metatype tmpMeta1;
  MMC_SO();
  _tailrecursive: OMC_LABEL_UNUSED
  // _out_txt has no default value.
  { /* match expression */
    modelica_metatype tmp4_1;modelica_boolean tmp4_2;
    tmp4_1 = _in_txt;
    tmp4_2 = _in_a_isFolded;
    {
      modelica_metatype _txt = NULL;
      volatile mmc_switch_type tmp4;
      int tmp5;
      // _txt has no default value.
      tmp4 = 0;
      for (; tmp4 < 2; tmp4++) {
        switch (MMC_SWITCH_CAST(tmp4)) {
        case 0: {
          if (0 /* false */ != tmp4_2) goto tmp3_end;
          
          _txt = tmp4_1;
          /* Pattern matching succeeded */
          tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT237);
          goto tmp3_done;
        }
        case 1: {
          
          _txt = tmp4_1;
          /* Pattern matching succeeded */
          tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT239);
          goto tmp3_done;
        }
        }
        goto tmp3_end;
        tmp3_end: ;
      }
      goto goto_2;
      goto_2:;
      MMC_THROW_INTERNAL();
      goto tmp3_done;
      tmp3_done:;
    }
  }
  _out_txt = tmpMeta1;
  _return: OMC_LABEL_UNUSED
  return _out_txt;
}
PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_GraphMLDumpTpl_fun__15(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_isFolded)
{
  modelica_integer tmp1;
  modelica_metatype _out_txt = NULL;
  tmp1 = mmc_unbox_integer(_in_a_isFolded);
  _out_txt = omc_GraphMLDumpTpl_fun__15(threadData, _in_txt, tmp1);
  /* skip box _out_txt; Tpl.Text */
  return _out_txt;
}

PROTECTED_FUNCTION_STATIC modelica_metatype omc_GraphMLDumpTpl_fun__14(threadData_t *threadData, modelica_metatype _in_txt, modelica_boolean _in_a_isFolded)
{
  modelica_metatype _out_txt = NULL;
  modelica_metatype tmpMeta1;
  MMC_SO();
  _tailrecursive: OMC_LABEL_UNUSED
  // _out_txt has no default value.
  { /* match expression */
    modelica_metatype tmp4_1;modelica_boolean tmp4_2;
    tmp4_1 = _in_txt;
    tmp4_2 = _in_a_isFolded;
    {
      modelica_metatype _txt = NULL;
      volatile mmc_switch_type tmp4;
      int tmp5;
      // _txt has no default value.
      tmp4 = 0;
      for (; tmp4 < 2; tmp4++) {
        switch (MMC_SWITCH_CAST(tmp4)) {
        case 0: {
          if (0 /* false */ != tmp4_2) goto tmp3_end;
          
          _txt = tmp4_1;
          /* Pattern matching succeeded */
          tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT241);
          goto tmp3_done;
        }
        case 1: {
          
          _txt = tmp4_1;
          /* Pattern matching succeeded */
          tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT243);
          goto tmp3_done;
        }
        }
        goto tmp3_end;
        tmp3_end: ;
      }
      goto goto_2;
      goto_2:;
      MMC_THROW_INTERNAL();
      goto tmp3_done;
      tmp3_done:;
    }
  }
  _out_txt = tmpMeta1;
  _return: OMC_LABEL_UNUSED
  return _out_txt;
}
PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_GraphMLDumpTpl_fun__14(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_isFolded)
{
  modelica_integer tmp1;
  modelica_metatype _out_txt = NULL;
  tmp1 = mmc_unbox_integer(_in_a_isFolded);
  _out_txt = omc_GraphMLDumpTpl_fun__14(threadData, _in_txt, tmp1);
  /* skip box _out_txt; Tpl.Text */
  return _out_txt;
}

PROTECTED_FUNCTION_STATIC modelica_metatype omc_GraphMLDumpTpl_fun__13(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_mArg)
{
  modelica_metatype _out_txt = NULL;
  modelica_metatype tmpMeta1;
  MMC_SO();
  _tailrecursive: OMC_LABEL_UNUSED
  // _out_txt has no default value.
  { /* match expression */
    modelica_metatype tmp4_1;modelica_metatype tmp4_2;
    tmp4_1 = _in_txt;
    tmp4_2 = _in_mArg;
    {
      modelica_metatype _txt = NULL;
      modelica_string _i_val = NULL;
      volatile mmc_switch_type tmp4;
      int tmp5;
      // _txt has no default value.
      // _i_val has no default value.
      tmp4 = 0;
      for (; tmp4 < 2; tmp4++) {
        switch (MMC_SWITCH_CAST(tmp4)) {
        case 0: {
          modelica_metatype tmpMeta6;
          if (optionNone(tmp4_2)) goto tmp3_end;
          tmpMeta6 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 1));
          
          _i_val = tmpMeta6;
          _txt = tmp4_1;
          /* Pattern matching succeeded */
          tmpMeta1 = omc_Tpl_writeStr(threadData, _txt, _i_val);
          goto tmp3_done;
        }
        case 1: {
          
          _txt = tmp4_1;
          /* Pattern matching succeeded */
          tmpMeta1 = _txt;
          goto tmp3_done;
        }
        }
        goto tmp3_end;
        tmp3_end: ;
      }
      goto goto_2;
      goto_2:;
      MMC_THROW_INTERNAL();
      goto tmp3_done;
      tmp3_done:;
    }
  }
  _out_txt = tmpMeta1;
  _return: OMC_LABEL_UNUSED
  return _out_txt;
}

PROTECTED_FUNCTION_STATIC modelica_metatype omc_GraphMLDumpTpl_lm__12(threadData_t *threadData, modelica_metatype __omcQ_24in_5Ftxt, modelica_metatype _items, modelica_metatype _a_graphAttributes)
{
  modelica_metatype _txt = NULL;
  modelica_metatype tmpMeta1;
  modelica_metatype tmpMeta2;
  modelica_metatype tmpMeta7;
  MMC_SO();
  _tailrecursive: OMC_LABEL_UNUSED
  _txt = __omcQ_24in_5Ftxt;
  {
    modelica_metatype _lstElt_12;
    for (tmpMeta1 = _items; !listEmpty(tmpMeta1); tmpMeta1=MMC_CDR(tmpMeta1))
    {
      _lstElt_12 = MMC_CAR(tmpMeta1);
      { /* match expression */
        modelica_metatype tmp5_1;
        tmp5_1 = _lstElt_12;
        {
          modelica_metatype _i_val = NULL;
          volatile mmc_switch_type tmp5;
          int tmp6;
          // _i_val has no default value.
          tmp5 = 0;
          for (; tmp5 < 1; tmp5++) {
            switch (MMC_SWITCH_CAST(tmp5)) {
            case 0: {
              
              _i_val = tmp5_1;
              /* Pattern matching succeeded */
              _txt = omc_GraphMLDumpTpl_dumpAttKey(threadData, _txt, _i_val, _a_graphAttributes);
              tmpMeta2 = omc_Tpl_nextIter(threadData, _txt);
              goto tmp4_done;
            }
            }
            goto tmp4_end;
            tmp4_end: ;
          }
          goto goto_3;
          goto_3:;
          MMC_THROW_INTERNAL();
          goto tmp4_done;
          tmp4_done:;
        }
      }
      _txt = tmpMeta2;
    }
  }
  _return: OMC_LABEL_UNUSED
  return _txt;
}

PROTECTED_FUNCTION_STATIC modelica_metatype omc_GraphMLDumpTpl_lm__11(threadData_t *threadData, modelica_metatype __omcQ_24in_5Ftxt, modelica_metatype _items)
{
  modelica_metatype _txt = NULL;
  modelica_metatype tmpMeta1;
  modelica_metatype tmpMeta2;
  modelica_metatype tmpMeta7;
  MMC_SO();
  _tailrecursive: OMC_LABEL_UNUSED
  _txt = __omcQ_24in_5Ftxt;
  {
    modelica_metatype _lstElt_11;
    for (tmpMeta1 = _items; !listEmpty(tmpMeta1); tmpMeta1=MMC_CDR(tmpMeta1))
    {
      _lstElt_11 = MMC_CAR(tmpMeta1);
      { /* match expression */
        modelica_metatype tmp5_1;
        tmp5_1 = _lstElt_11;
        {
          modelica_metatype _i_label = NULL;
          volatile mmc_switch_type tmp5;
          int tmp6;
          // _i_label has no default value.
          tmp5 = 0;
          for (; tmp5 < 1; tmp5++) {
            switch (MMC_SWITCH_CAST(tmp5)) {
            case 0: {
              
              _i_label = tmp5_1;
              /* Pattern matching succeeded */
              _txt = omc_GraphMLDumpTpl_dumpNodeLabel(threadData, _txt, _i_label);
              tmpMeta2 = omc_Tpl_nextIter(threadData, _txt);
              goto tmp4_done;
            }
            }
            goto tmp4_end;
            tmp4_end: ;
          }
          goto goto_3;
          goto_3:;
          MMC_THROW_INTERNAL();
          goto tmp4_done;
          tmp4_done:;
        }
      }
      _txt = tmpMeta2;
    }
  }
  _return: OMC_LABEL_UNUSED
  return _txt;
}

DLLDirection
modelica_metatype omc_GraphMLDumpTpl_dumpGraph(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_graph, modelica_metatype _in_a_allGraphs, modelica_metatype _in_a_allNodes, modelica_string _in_a_edgeDesc, modelica_string _in_a_graphNodeKey, modelica_metatype _in_a_graphAttributes)
{
  modelica_metatype _out_txt = NULL;
  modelica_metatype tmpMeta1;
  MMC_SO();
  _tailrecursive: OMC_LABEL_UNUSED
  // _out_txt has no default value.
  { /* match expression */
    modelica_metatype tmp4_1;modelica_metatype tmp4_2;modelica_metatype tmp4_3;modelica_metatype tmp4_4;modelica_string tmp4_5;modelica_string tmp4_6;modelica_metatype tmp4_7;
    tmp4_1 = _in_txt;
    tmp4_2 = _in_a_graph;
    tmp4_3 = _in_a_allGraphs;
    tmp4_4 = _in_a_allNodes;
    tmp4_5 = _in_a_edgeDesc;
    tmp4_6 = _in_a_graphNodeKey;
    tmp4_7 = _in_a_graphAttributes;
    {
      modelica_metatype _txt = NULL;
      modelica_metatype _a_allGraphs = NULL;
      modelica_metatype _a_allNodes = NULL;
      modelica_string _a_edgeDesc = NULL;
      modelica_string _a_graphNodeKey = NULL;
      modelica_metatype _a_graphAttributes = NULL;
      modelica_string _i_id = NULL;
      modelica_boolean _i_directed;
      modelica_metatype _i_attValues = NULL;
      modelica_metatype _i_nodeIdc = NULL;
      modelica_metatype _l_attKeys = NULL;
      modelica_metatype _l_graphNodes = NULL;
      volatile mmc_switch_type tmp4;
      int tmp5;
      // _txt has no default value.
      // _a_allGraphs has no default value.
      // _a_allNodes has no default value.
      // _a_edgeDesc has no default value.
      // _a_graphNodeKey has no default value.
      // _a_graphAttributes has no default value.
      // _i_id has no default value.
      // _i_directed has no default value.
      // _i_attValues has no default value.
      // _i_nodeIdc has no default value.
      // _l_attKeys has no default value.
      // _l_graphNodes has no default value.
      tmp4 = 0;
      for (; tmp4 < 2; tmp4++) {
        switch (MMC_SWITCH_CAST(tmp4)) {
        case 0: {
          modelica_metatype tmpMeta6;
          modelica_metatype tmpMeta7;
          modelica_integer tmp8;
          modelica_metatype tmpMeta9;
          modelica_metatype tmpMeta10;
          tmpMeta6 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
          tmpMeta7 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3));
          tmp8 = mmc_unbox_integer(tmpMeta7);
          tmpMeta9 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 4));
          tmpMeta10 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 5));
          
          _txt = tmp4_1;
          _i_id = tmpMeta6;
          _i_directed = tmp8  /* pattern as ty=Boolean */;
          _i_nodeIdc = tmpMeta9;
          _i_attValues = tmpMeta10;
          _a_allGraphs = tmp4_3;
          _a_allNodes = tmp4_4;
          _a_edgeDesc = tmp4_5;
          _a_graphNodeKey = tmp4_6;
          _a_graphAttributes = tmp4_7;
          /* Pattern matching succeeded */
          _l_graphNodes = omc_Tpl_pushIter(threadData, _OMC_LIT89, _OMC_LIT112);

          _l_graphNodes = omc_GraphMLDumpTpl_lm__8(threadData, _l_graphNodes, _i_nodeIdc, _a_graphAttributes, _a_graphNodeKey, _a_allGraphs, _a_allNodes);

          _l_graphNodes = omc_Tpl_popIter(threadData, _l_graphNodes);

          _l_attKeys = omc_Tpl_pushIter(threadData, _OMC_LIT89, _OMC_LIT112);

          _l_attKeys = omc_GraphMLDumpTpl_lm__9(threadData, _l_attKeys, _i_attValues, _a_graphAttributes);

          _l_attKeys = omc_Tpl_popIter(threadData, _l_attKeys);

          _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT245);

          _txt = omc_GraphMLDumpTpl_dumpDirected(threadData, _txt, _i_directed);

          _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT247);

          _txt = omc_Tpl_writeStr(threadData, _txt, _i_id);

          _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT71);

          _txt = omc_Tpl_pushBlock(threadData, _txt, _OMC_LIT72);

          _txt = omc_Tpl_writeText(threadData, _txt, _l_attKeys);

          _txt = omc_Tpl_softNewLine(threadData, _txt);

          _txt = omc_Tpl_writeText(threadData, _txt, _l_graphNodes);

          _txt = omc_Tpl_softNewLine(threadData, _txt);

          _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT110);

          _txt = omc_Tpl_writeStr(threadData, _txt, _a_edgeDesc);

          _txt = omc_Tpl_softNewLine(threadData, _txt);

          _txt = omc_Tpl_popBlock(threadData, _txt);
          tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT249);
          goto tmp3_done;
        }
        case 1: {
          
          _txt = tmp4_1;
          /* Pattern matching succeeded */
          tmpMeta1 = _txt;
          goto tmp3_done;
        }
        }
        goto tmp3_end;
        tmp3_end: ;
      }
      goto goto_2;
      goto_2:;
      MMC_THROW_INTERNAL();
      goto tmp3_done;
      tmp3_done:;
    }
  }
  _out_txt = tmpMeta1;
  _return: OMC_LABEL_UNUSED
  return _out_txt;
}

PROTECTED_FUNCTION_STATIC modelica_metatype omc_GraphMLDumpTpl_lm__9(threadData_t *threadData, modelica_metatype __omcQ_24in_5Ftxt, modelica_metatype _items, modelica_metatype _a_graphAttributes)
{
  modelica_metatype _txt = NULL;
  modelica_metatype tmpMeta1;
  modelica_metatype tmpMeta2;
  modelica_metatype tmpMeta7;
  MMC_SO();
  _tailrecursive: OMC_LABEL_UNUSED
  _txt = __omcQ_24in_5Ftxt;
  {
    modelica_metatype _lstElt_9;
    for (tmpMeta1 = _items; !listEmpty(tmpMeta1); tmpMeta1=MMC_CDR(tmpMeta1))
    {
      _lstElt_9 = MMC_CAR(tmpMeta1);
      { /* match expression */
        modelica_metatype tmp5_1;
        tmp5_1 = _lstElt_9;
        {
          modelica_metatype _i_val = NULL;
          volatile mmc_switch_type tmp5;
          int tmp6;
          // _i_val has no default value.
          tmp5 = 0;
          for (; tmp5 < 1; tmp5++) {
            switch (MMC_SWITCH_CAST(tmp5)) {
            case 0: {
              
              _i_val = tmp5_1;
              /* Pattern matching succeeded */
              _txt = omc_GraphMLDumpTpl_dumpAttKey(threadData, _txt, _i_val, _a_graphAttributes);
              tmpMeta2 = omc_Tpl_nextIter(threadData, _txt);
              goto tmp4_done;
            }
            }
            goto tmp4_end;
            tmp4_end: ;
          }
          goto goto_3;
          goto_3:;
          MMC_THROW_INTERNAL();
          goto tmp4_done;
          tmp4_done:;
        }
      }
      _txt = tmpMeta2;
    }
  }
  _return: OMC_LABEL_UNUSED
  return _txt;
}

PROTECTED_FUNCTION_STATIC modelica_metatype omc_GraphMLDumpTpl_lm__8(threadData_t *threadData, modelica_metatype __omcQ_24in_5Ftxt, modelica_metatype _items, modelica_metatype _a_graphAttributes, modelica_string _a_graphNodeKey, modelica_metatype _a_allGraphs, modelica_metatype _a_allNodes)
{
  modelica_metatype _txt = NULL;
  modelica_metatype tmpMeta1;
  modelica_metatype tmpMeta2;
  modelica_metatype tmpMeta8;
  MMC_SO();
  _tailrecursive: OMC_LABEL_UNUSED
  _txt = __omcQ_24in_5Ftxt;
  {
    modelica_metatype _lstElt_8;
    for (tmpMeta1 = _items; !listEmpty(tmpMeta1); tmpMeta1=MMC_CDR(tmpMeta1))
    {
      _lstElt_8 = MMC_CAR(tmpMeta1);
      { /* match expression */
        modelica_metatype tmp5_1;
        tmp5_1 = _lstElt_8;
        {
          modelica_integer _i_idc;
          modelica_metatype _ret_3 = NULL;
          modelica_integer _ret_2;
          modelica_integer _ret_1;
          modelica_integer _ret_0;
          volatile mmc_switch_type tmp5;
          int tmp6;
          // _i_idc has no default value.
          // _ret_3 has no default value.
          // _ret_2 has no default value.
          // _ret_1 has no default value.
          // _ret_0 has no default value.
          tmp5 = 0;
          for (; tmp5 < 1; tmp5++) {
            switch (MMC_SWITCH_CAST(tmp5)) {
            case 0: {
              modelica_integer tmp7;
              tmp7 = mmc_unbox_integer(tmp5_1);
              _i_idc = tmp7  /* pattern as ty=Integer */;
              /* Pattern matching succeeded */
              _ret_0 = arrayLength(_a_allNodes);

              _ret_1 = _ret_0 - _i_idc;

              _ret_2 = ((modelica_integer) 1) + _ret_1;

              _ret_3 = arrayGet(_a_allNodes, _ret_2);

              _txt = omc_GraphMLDumpTpl_dumpNode(threadData, _txt, _ret_3, _a_allGraphs, _a_allNodes, _a_graphNodeKey, _a_graphAttributes);
              tmpMeta2 = omc_Tpl_nextIter(threadData, _txt);
              goto tmp4_done;
            }
            }
            goto tmp4_end;
            tmp4_end: ;
          }
          goto goto_3;
          goto_3:;
          MMC_THROW_INTERNAL();
          goto tmp4_done;
          tmp4_done:;
        }
      }
      _txt = tmpMeta2;
    }
  }
  _return: OMC_LABEL_UNUSED
  return _txt;
}

DLLDirection
modelica_metatype omc_GraphMLDumpTpl_dumpGraphInfoInternal(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_graphInfo)
{
  modelica_metatype _out_txt = NULL;
  modelica_metatype tmpMeta1;
  MMC_SO();
  _tailrecursive: OMC_LABEL_UNUSED
  // _out_txt has no default value.
  { /* match expression */
    modelica_metatype tmp4_1;modelica_metatype tmp4_2;
    tmp4_1 = _in_txt;
    tmp4_2 = _in_a_graphInfo;
    {
      modelica_metatype _txt = NULL;
      modelica_metatype _i_nodes = NULL;
      modelica_metatype _i_graphs = NULL;
      modelica_string _i_graphEdgeKey = NULL;
      modelica_string _i_graphNodeKey = NULL;
      modelica_string _i_graphInfo_graphEdgeKey = NULL;
      modelica_metatype _i_edges = NULL;
      modelica_metatype _i_attributes = NULL;
      modelica_metatype _ret_5 = NULL;
      modelica_integer _ret_4;
      modelica_integer _ret_3;
      modelica_metatype _l_edgeDump = NULL;
      modelica_metatype _ret_1 = NULL;
      modelica_metatype _l_attDefDump = NULL;
      volatile mmc_switch_type tmp4;
      int tmp5;
      // _txt has no default value.
      // _i_nodes has no default value.
      // _i_graphs has no default value.
      // _i_graphEdgeKey has no default value.
      // _i_graphNodeKey has no default value.
      // _i_graphInfo_graphEdgeKey has no default value.
      // _i_edges has no default value.
      // _i_attributes has no default value.
      // _ret_5 has no default value.
      // _ret_4 has no default value.
      // _ret_3 has no default value.
      // _l_edgeDump has no default value.
      // _ret_1 has no default value.
      // _l_attDefDump has no default value.
      tmp4 = 0;
      for (; tmp4 < 2; tmp4++) {
        switch (MMC_SWITCH_CAST(tmp4)) {
        case 0: {
          modelica_metatype tmpMeta6;
          modelica_metatype tmpMeta7;
          modelica_metatype tmpMeta8;
          modelica_metatype tmpMeta9;
          modelica_metatype tmpMeta10;
          modelica_metatype tmpMeta11;
          if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,1,6) == 0) goto tmp3_end;
          tmpMeta6 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2));
          tmpMeta7 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3));
          tmpMeta8 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 4));
          tmpMeta9 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 5));
          tmpMeta10 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 6));
          tmpMeta11 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 7));
          
          _i_graphs = tmpMeta6;
          _i_nodes = tmpMeta7;
          _i_edges = tmpMeta8;
          _i_attributes = tmpMeta9;
          _i_graphNodeKey = tmpMeta10;
          _i_graphEdgeKey = tmpMeta11;
          _i_graphInfo_graphEdgeKey = tmpMeta11;
          _txt = tmp4_1;
          /* Pattern matching succeeded */
          _ret_1 = arrayList(_i_attributes);

          _l_attDefDump = omc_Tpl_pushIter(threadData, _OMC_LIT89, _OMC_LIT112);

          _l_attDefDump = omc_GraphMLDumpTpl_lm__5(threadData, _l_attDefDump, _ret_1);

          _l_attDefDump = omc_Tpl_popIter(threadData, _l_attDefDump);

          _l_edgeDump = omc_Tpl_pushIter(threadData, _OMC_LIT89, _OMC_LIT112);

          _l_edgeDump = omc_GraphMLDumpTpl_lm__6(threadData, _l_edgeDump, _i_edges, _i_attributes, _i_graphInfo_graphEdgeKey);

          _l_edgeDump = omc_Tpl_popIter(threadData, _l_edgeDump);

          _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT256);

          _txt = omc_Tpl_pushBlock(threadData, _txt, _OMC_LIT72);

          _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT258);

          _txt = omc_Tpl_writeStr(threadData, _txt, _i_graphNodeKey);

          _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT265);

          _txt = omc_Tpl_writeStr(threadData, _txt, _i_graphEdgeKey);

          _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT268);

          _txt = omc_Tpl_writeText(threadData, _txt, _l_attDefDump);

          _txt = omc_Tpl_softNewLine(threadData, _txt);

          _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT270);

          _ret_3 = arrayLength(_i_graphs);

          _txt = omc_Tpl_writeStr(threadData, _txt, intString(_ret_3));

          _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT234);

          _ret_4 = arrayLength(_i_graphs);

          _ret_5 = arrayGet(_i_graphs, _ret_4);

          _txt = omc_GraphMLDumpTpl_dumpGraph(threadData, _txt, _ret_5, _i_graphs, _i_nodes, omc_Tpl_textString(threadData, _l_edgeDump), _i_graphNodeKey, _i_attributes);

          _txt = omc_Tpl_softNewLine(threadData, _txt);

          _txt = omc_Tpl_popBlock(threadData, _txt);
          tmpMeta1 = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT272);
          goto tmp3_done;
        }
        case 1: {
          
          _txt = tmp4_1;
          /* Pattern matching succeeded */
          tmpMeta1 = _txt;
          goto tmp3_done;
        }
        }
        goto tmp3_end;
        tmp3_end: ;
      }
      goto goto_2;
      goto_2:;
      MMC_THROW_INTERNAL();
      goto tmp3_done;
      tmp3_done:;
    }
  }
  _out_txt = tmpMeta1;
  _return: OMC_LABEL_UNUSED
  return _out_txt;
}

PROTECTED_FUNCTION_STATIC modelica_metatype omc_GraphMLDumpTpl_lm__6(threadData_t *threadData, modelica_metatype __omcQ_24in_5Ftxt, modelica_metatype _items, modelica_metatype _a_attributes, modelica_string _a_graphInfo_graphEdgeKey)
{
  modelica_metatype _txt = NULL;
  modelica_metatype tmpMeta1;
  modelica_metatype tmpMeta2;
  modelica_metatype tmpMeta7;
  MMC_SO();
  _tailrecursive: OMC_LABEL_UNUSED
  _txt = __omcQ_24in_5Ftxt;
  {
    modelica_metatype _lstElt_6;
    for (tmpMeta1 = _items; !listEmpty(tmpMeta1); tmpMeta1=MMC_CDR(tmpMeta1))
    {
      _lstElt_6 = MMC_CAR(tmpMeta1);
      { /* match expression */
        modelica_metatype tmp5_1;
        tmp5_1 = _lstElt_6;
        {
          modelica_metatype _i_edge = NULL;
          volatile mmc_switch_type tmp5;
          int tmp6;
          // _i_edge has no default value.
          tmp5 = 0;
          for (; tmp5 < 1; tmp5++) {
            switch (MMC_SWITCH_CAST(tmp5)) {
            case 0: {
              
              _i_edge = tmp5_1;
              /* Pattern matching succeeded */
              _txt = omc_GraphMLDumpTpl_dumpEdge(threadData, _txt, _i_edge, _a_graphInfo_graphEdgeKey, _a_attributes);
              tmpMeta2 = omc_Tpl_nextIter(threadData, _txt);
              goto tmp4_done;
            }
            }
            goto tmp4_end;
            tmp4_end: ;
          }
          goto goto_3;
          goto_3:;
          MMC_THROW_INTERNAL();
          goto tmp4_done;
          tmp4_done:;
        }
      }
      _txt = tmpMeta2;
    }
  }
  _return: OMC_LABEL_UNUSED
  return _txt;
}

PROTECTED_FUNCTION_STATIC modelica_metatype omc_GraphMLDumpTpl_lm__5(threadData_t *threadData, modelica_metatype __omcQ_24in_5Ftxt, modelica_metatype _items)
{
  modelica_metatype _txt = NULL;
  modelica_metatype tmpMeta1;
  modelica_metatype tmpMeta2;
  modelica_metatype tmpMeta7;
  MMC_SO();
  _tailrecursive: OMC_LABEL_UNUSED
  _txt = __omcQ_24in_5Ftxt;
  {
    modelica_metatype _lstElt_5;
    for (tmpMeta1 = _items; !listEmpty(tmpMeta1); tmpMeta1=MMC_CDR(tmpMeta1))
    {
      _lstElt_5 = MMC_CAR(tmpMeta1);
      { /* match expression */
        modelica_metatype tmp5_1;
        tmp5_1 = _lstElt_5;
        {
          modelica_metatype _i_att = NULL;
          volatile mmc_switch_type tmp5;
          int tmp6;
          // _i_att has no default value.
          tmp5 = 0;
          for (; tmp5 < 1; tmp5++) {
            switch (MMC_SWITCH_CAST(tmp5)) {
            case 0: {
              
              _i_att = tmp5_1;
              /* Pattern matching succeeded */
              _txt = omc_GraphMLDumpTpl_dumpAttDef(threadData, _txt, _i_att);
              tmpMeta2 = omc_Tpl_nextIter(threadData, _txt);
              goto tmp4_done;
            }
            }
            goto tmp4_end;
            tmp4_end: ;
          }
          goto goto_3;
          goto_3:;
          MMC_THROW_INTERNAL();
          goto tmp4_done;
          tmp4_done:;
        }
      }
      _txt = tmpMeta2;
    }
  }
  _return: OMC_LABEL_UNUSED
  return _txt;
}

DLLDirection
modelica_metatype omc_GraphMLDumpTpl_dumpGraphInfo(threadData_t *threadData, modelica_metatype _txt, modelica_metatype _a_graphInfo, modelica_string _a_fileName)
{
  modelica_metatype _out_txt = NULL;
  modelica_metatype _txt_0 = NULL;
  MMC_SO();
  _tailrecursive: OMC_LABEL_UNUSED
  // _out_txt has no default value.
  // _txt_0 has no default value.
  _txt_0 = omc_GraphMLDumpTpl_dumpGraphInfoInternal(threadData, _OMC_LIT89, _a_graphInfo);

  omc_Tpl_textFile(threadData, _txt_0, _a_fileName);

  _out_txt = _txt;
  _return: OMC_LABEL_UNUSED
  return _out_txt;
}

