...

Text file src/oss.terrastruct.com/d2/e2etests/testdata/stable/text_font_sizes/elk/board.exp.json

Documentation: oss.terrastruct.com/d2/e2etests/testdata/stable/text_font_sizes/elk

     1{
     2  "name": "",
     3  "isFolderOnly": false,
     4  "fontFamily": "SourceSansPro",
     5  "shapes": [
     6    {
     7      "id": "bear",
     8      "type": "text",
     9      "pos": {
    10        "x": 116,
    11        "y": 133
    12      },
    13      "width": 80,
    14      "height": 28,
    15      "opacity": 1,
    16      "strokeDash": 0,
    17      "strokeWidth": 2,
    18      "borderRadius": 0,
    19      "fill": "transparent",
    20      "stroke": "N1",
    21      "shadow": false,
    22      "3d": false,
    23      "multiple": false,
    24      "double-border": false,
    25      "tooltip": "",
    26      "link": "",
    27      "icon": null,
    28      "iconPosition": "",
    29      "blend": false,
    30      "fields": null,
    31      "methods": null,
    32      "columns": null,
    33      "label": "bear",
    34      "fontSize": 22,
    35      "fontFamily": "DEFAULT",
    36      "language": "",
    37      "color": "N1",
    38      "italic": false,
    39      "bold": true,
    40      "underline": false,
    41      "labelWidth": 44,
    42      "labelHeight": 28,
    43      "zIndex": 0,
    44      "level": 1
    45    },
    46    {
    47      "id": "mama bear",
    48      "type": "text",
    49      "pos": {
    50        "x": 12,
    51        "y": 17
    52      },
    53      "width": 135,
    54      "height": 36,
    55      "opacity": 1,
    56      "strokeDash": 0,
    57      "strokeWidth": 2,
    58      "borderRadius": 0,
    59      "fill": "transparent",
    60      "stroke": "N1",
    61      "shadow": false,
    62      "3d": false,
    63      "multiple": false,
    64      "double-border": false,
    65      "tooltip": "",
    66      "link": "",
    67      "icon": null,
    68      "iconPosition": "",
    69      "blend": false,
    70      "fields": null,
    71      "methods": null,
    72      "columns": null,
    73      "label": "mama bear",
    74      "fontSize": 28,
    75      "fontFamily": "DEFAULT",
    76      "language": "",
    77      "color": "N2",
    78      "italic": true,
    79      "bold": false,
    80      "underline": false,
    81      "labelWidth": 135,
    82      "labelHeight": 36,
    83      "zIndex": 0,
    84      "level": 1
    85    },
    86    {
    87      "id": "papa bear",
    88      "type": "text",
    89      "pos": {
    90        "x": 167,
    91        "y": 12
    92      },
    93      "width": 134,
    94      "height": 41,
    95      "opacity": 1,
    96      "strokeDash": 0,
    97      "strokeWidth": 2,
    98      "borderRadius": 0,
    99      "fill": "transparent",
   100      "stroke": "N1",
   101      "shadow": false,
   102      "3d": false,
   103      "multiple": false,
   104      "double-border": false,
   105      "tooltip": "",
   106      "link": "",
   107      "icon": null,
   108      "iconPosition": "",
   109      "blend": false,
   110      "fields": null,
   111      "methods": null,
   112      "columns": null,
   113      "label": "papa bear",
   114      "fontSize": 32,
   115      "fontFamily": "DEFAULT",
   116      "language": "",
   117      "color": "N1",
   118      "italic": false,
   119      "bold": false,
   120      "underline": true,
   121      "labelWidth": 134,
   122      "labelHeight": 41,
   123      "zIndex": 0,
   124      "level": 1
   125    }
   126  ],
   127  "connections": [
   128    {
   129      "id": "(mama bear -> bear)[0]",
   130      "src": "mama bear",
   131      "srcArrow": "none",
   132      "dst": "bear",
   133      "dstArrow": "triangle",
   134      "opacity": 1,
   135      "strokeDash": 0,
   136      "strokeWidth": 2,
   137      "stroke": "B1",
   138      "borderRadius": 10,
   139      "label": "",
   140      "fontSize": 16,
   141      "fontFamily": "DEFAULT",
   142      "language": "",
   143      "color": "N2",
   144      "italic": true,
   145      "bold": false,
   146      "underline": false,
   147      "labelWidth": 0,
   148      "labelHeight": 0,
   149      "labelPosition": "",
   150      "labelPercentage": 0,
   151      "route": [
   152        {
   153          "x": 79.5,
   154          "y": 53
   155        },
   156        {
   157          "x": 79.5,
   158          "y": 93
   159        },
   160        {
   161          "x": 143.41600036621094,
   162          "y": 93
   163        },
   164        {
   165          "x": 143.41600036621094,
   166          "y": 133
   167        }
   168      ],
   169      "animated": false,
   170      "tooltip": "",
   171      "icon": null,
   172      "zIndex": 0
   173    },
   174    {
   175      "id": "(papa bear -> bear)[0]",
   176      "src": "papa bear",
   177      "srcArrow": "none",
   178      "dst": "bear",
   179      "dstArrow": "triangle",
   180      "opacity": 1,
   181      "strokeDash": 0,
   182      "strokeWidth": 2,
   183      "stroke": "B1",
   184      "borderRadius": 10,
   185      "label": "",
   186      "fontSize": 16,
   187      "fontFamily": "DEFAULT",
   188      "language": "",
   189      "color": "N2",
   190      "italic": true,
   191      "bold": false,
   192      "underline": false,
   193      "labelWidth": 0,
   194      "labelHeight": 0,
   195      "labelPosition": "",
   196      "labelPercentage": 0,
   197      "route": [
   198        {
   199          "x": 234,
   200          "y": 53
   201        },
   202        {
   203          "x": 234,
   204          "y": 93
   205        },
   206        {
   207          "x": 170.08299255371094,
   208          "y": 93
   209        },
   210        {
   211          "x": 170.08299255371094,
   212          "y": 133
   213        }
   214      ],
   215      "animated": false,
   216      "tooltip": "",
   217      "icon": null,
   218      "zIndex": 0
   219    }
   220  ],
   221  "root": {
   222    "id": "",
   223    "type": "",
   224    "pos": {
   225      "x": 0,
   226      "y": 0
   227    },
   228    "width": 0,
   229    "height": 0,
   230    "opacity": 0,
   231    "strokeDash": 0,
   232    "strokeWidth": 0,
   233    "borderRadius": 0,
   234    "fill": "N7",
   235    "stroke": "",
   236    "shadow": false,
   237    "3d": false,
   238    "multiple": false,
   239    "double-border": false,
   240    "tooltip": "",
   241    "link": "",
   242    "icon": null,
   243    "iconPosition": "",
   244    "blend": false,
   245    "fields": null,
   246    "methods": null,
   247    "columns": null,
   248    "label": "",
   249    "fontSize": 0,
   250    "fontFamily": "",
   251    "language": "",
   252    "color": "",
   253    "italic": false,
   254    "bold": false,
   255    "underline": false,
   256    "labelWidth": 0,
   257    "labelHeight": 0,
   258    "zIndex": 0,
   259    "level": 0
   260  }
   261}

View as plain text