...

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

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

     1{
     2  "name": "",
     3  "isFolderOnly": false,
     4  "fontFamily": "SourceSansPro",
     5  "shapes": [
     6    {
     7      "id": "container",
     8      "type": "rectangle",
     9      "pos": {
    10        "x": 10,
    11        "y": 20
    12      },
    13      "width": 272,
    14      "height": 318,
    15      "opacity": 1,
    16      "strokeDash": 0,
    17      "strokeWidth": 2,
    18      "borderRadius": 0,
    19      "fill": "B4",
    20      "stroke": "B1",
    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": "container",
    34      "fontSize": 28,
    35      "fontFamily": "DEFAULT",
    36      "language": "",
    37      "color": "N1",
    38      "italic": false,
    39      "bold": false,
    40      "underline": false,
    41      "labelWidth": 112,
    42      "labelHeight": 36,
    43      "labelPosition": "OUTSIDE_TOP_CENTER",
    44      "zIndex": 0,
    45      "level": 1
    46    },
    47    {
    48      "id": "container.md",
    49      "type": "text",
    50      "pos": {
    51        "x": 40,
    52        "y": 50
    53      },
    54      "width": 212,
    55      "height": 258,
    56      "opacity": 1,
    57      "strokeDash": 0,
    58      "strokeWidth": 2,
    59      "borderRadius": 0,
    60      "fill": "transparent",
    61      "stroke": "darkorange",
    62      "shadow": false,
    63      "3d": false,
    64      "multiple": false,
    65      "double-border": false,
    66      "tooltip": "",
    67      "link": "",
    68      "icon": null,
    69      "iconPosition": "",
    70      "blend": false,
    71      "fields": null,
    72      "methods": null,
    73      "columns": null,
    74      "label": "# a header\n\na line of text and an\n\n\t{\n\t\tindented: \"block\",\n\t\tof: \"json\",\n\t}\n\nwalk into a bar.",
    75      "fontSize": 16,
    76      "fontFamily": "DEFAULT",
    77      "language": "markdown",
    78      "color": "N1",
    79      "italic": false,
    80      "bold": false,
    81      "underline": false,
    82      "labelWidth": 212,
    83      "labelHeight": 258,
    84      "zIndex": 0,
    85      "level": 2
    86    },
    87    {
    88      "id": "no container",
    89      "type": "text",
    90      "pos": {
    91        "x": 87,
    92        "y": 458
    93      },
    94      "width": 118,
    95      "height": 24,
    96      "opacity": 1,
    97      "strokeDash": 0,
    98      "strokeWidth": 2,
    99      "borderRadius": 0,
   100      "fill": "#CEEDEE",
   101      "stroke": "red",
   102      "shadow": false,
   103      "3d": false,
   104      "multiple": false,
   105      "double-border": false,
   106      "tooltip": "",
   107      "link": "",
   108      "icon": null,
   109      "iconPosition": "",
   110      "blend": false,
   111      "fields": null,
   112      "methods": null,
   113      "columns": null,
   114      "label": "they did it in style",
   115      "fontSize": 16,
   116      "fontFamily": "DEFAULT",
   117      "language": "markdown",
   118      "color": "N1",
   119      "italic": false,
   120      "bold": false,
   121      "underline": false,
   122      "labelWidth": 118,
   123      "labelHeight": 24,
   124      "zIndex": 0,
   125      "level": 1
   126    }
   127  ],
   128  "connections": [
   129    {
   130      "id": "(container -> no container)[0]",
   131      "src": "container",
   132      "srcArrow": "none",
   133      "dst": "no container",
   134      "dstArrow": "triangle",
   135      "opacity": 1,
   136      "strokeDash": 0,
   137      "strokeWidth": 2,
   138      "stroke": "B1",
   139      "borderRadius": 10,
   140      "label": "",
   141      "fontSize": 16,
   142      "fontFamily": "DEFAULT",
   143      "language": "",
   144      "color": "N2",
   145      "italic": true,
   146      "bold": false,
   147      "underline": false,
   148      "labelWidth": 0,
   149      "labelHeight": 0,
   150      "labelPosition": "",
   151      "labelPercentage": 0,
   152      "route": [
   153        {
   154          "x": 146,
   155          "y": 338
   156        },
   157        {
   158          "x": 146,
   159          "y": 394
   160        },
   161        {
   162          "x": 146,
   163          "y": 418
   164        },
   165        {
   166          "x": 146,
   167          "y": 458
   168        }
   169      ],
   170      "isCurve": true,
   171      "animated": false,
   172      "tooltip": "",
   173      "icon": null,
   174      "zIndex": 0
   175    }
   176  ],
   177  "root": {
   178    "id": "",
   179    "type": "",
   180    "pos": {
   181      "x": 0,
   182      "y": 0
   183    },
   184    "width": 0,
   185    "height": 0,
   186    "opacity": 0,
   187    "strokeDash": 0,
   188    "strokeWidth": 0,
   189    "borderRadius": 0,
   190    "fill": "N7",
   191    "stroke": "",
   192    "shadow": false,
   193    "3d": false,
   194    "multiple": false,
   195    "double-border": false,
   196    "tooltip": "",
   197    "link": "",
   198    "icon": null,
   199    "iconPosition": "",
   200    "blend": false,
   201    "fields": null,
   202    "methods": null,
   203    "columns": null,
   204    "label": "",
   205    "fontSize": 0,
   206    "fontFamily": "",
   207    "language": "",
   208    "color": "",
   209    "italic": false,
   210    "bold": false,
   211    "underline": false,
   212    "labelWidth": 0,
   213    "labelHeight": 0,
   214    "zIndex": 0,
   215    "level": 0
   216  }
   217}

View as plain text