...

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

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

     1{
     2  "name": "",
     3  "isFolderOnly": false,
     4  "fontFamily": "SourceSansPro",
     5  "shapes": [
     6    {
     7      "id": "bear",
     8      "type": "text",
     9      "pos": {
    10        "x": 143,
    11        "y": 141
    12      },
    13      "width": 44,
    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": 0,
    51        "y": 3
    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": 195,
    91        "y": 0
    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": 67.5,
   154          "y": 39.5
   155        },
   156        {
   157          "x": 67.5,
   158          "y": 80.69999694824219
   159        },
   160        {
   161          "x": 82.69999694824219,
   162          "y": 101
   163        },
   164        {
   165          "x": 143.5,
   166          "y": 141
   167        }
   168      ],
   169      "isCurve": true,
   170      "animated": false,
   171      "tooltip": "",
   172      "icon": null,
   173      "zIndex": 0
   174    },
   175    {
   176      "id": "(papa bear -> bear)[0]",
   177      "src": "papa bear",
   178      "srcArrow": "none",
   179      "dst": "bear",
   180      "dstArrow": "triangle",
   181      "opacity": 1,
   182      "strokeDash": 0,
   183      "strokeWidth": 2,
   184      "stroke": "B1",
   185      "borderRadius": 10,
   186      "label": "",
   187      "fontSize": 16,
   188      "fontFamily": "DEFAULT",
   189      "language": "",
   190      "color": "N2",
   191      "italic": true,
   192      "bold": false,
   193      "underline": false,
   194      "labelWidth": 0,
   195      "labelHeight": 0,
   196      "labelPosition": "",
   197      "labelPercentage": 0,
   198      "route": [
   199        {
   200          "x": 262,
   201          "y": 41
   202        },
   203        {
   204          "x": 262,
   205          "y": 81
   206        },
   207        {
   208          "x": 246.8000030517578,
   209          "y": 101
   210        },
   211        {
   212          "x": 186,
   213          "y": 141
   214        }
   215      ],
   216      "isCurve": true,
   217      "animated": false,
   218      "tooltip": "",
   219      "icon": null,
   220      "zIndex": 0
   221    }
   222  ],
   223  "root": {
   224    "id": "",
   225    "type": "",
   226    "pos": {
   227      "x": 0,
   228      "y": 0
   229    },
   230    "width": 0,
   231    "height": 0,
   232    "opacity": 0,
   233    "strokeDash": 0,
   234    "strokeWidth": 0,
   235    "borderRadius": 0,
   236    "fill": "N7",
   237    "stroke": "",
   238    "shadow": false,
   239    "3d": false,
   240    "multiple": false,
   241    "double-border": false,
   242    "tooltip": "",
   243    "link": "",
   244    "icon": null,
   245    "iconPosition": "",
   246    "blend": false,
   247    "fields": null,
   248    "methods": null,
   249    "columns": null,
   250    "label": "",
   251    "fontSize": 0,
   252    "fontFamily": "",
   253    "language": "",
   254    "color": "",
   255    "italic": false,
   256    "bold": false,
   257    "underline": false,
   258    "labelWidth": 0,
   259    "labelHeight": 0,
   260    "zIndex": 0,
   261    "level": 0
   262  }
   263}

View as plain text