...

Text file src/oss.terrastruct.com/d2/e2etests/testdata/regression/only_header_class_table/dagre/board.exp.json

Documentation: oss.terrastruct.com/d2/e2etests/testdata/regression/only_header_class_table/dagre

     1{
     2  "name": "",
     3  "isFolderOnly": false,
     4  "fontFamily": "SourceSansPro",
     5  "shapes": [
     6    {
     7      "id": "class2",
     8      "type": "class",
     9      "pos": {
    10        "x": 0,
    11        "y": 0
    12      },
    13      "width": 1082,
    14      "height": 92,
    15      "opacity": 1,
    16      "strokeDash": 0,
    17      "strokeWidth": 2,
    18      "borderRadius": 0,
    19      "fill": "N1",
    20      "stroke": "N7",
    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": "RefreshAuthorizationPolicyProtocolServerSideTranslatorProtocolBuffer",
    34      "fontSize": 20,
    35      "fontFamily": "DEFAULT",
    36      "language": "",
    37      "color": "N1",
    38      "italic": false,
    39      "bold": false,
    40      "underline": false,
    41      "labelWidth": 977,
    42      "labelHeight": 31,
    43      "zIndex": 0,
    44      "level": 1,
    45      "primaryAccentColor": "B2",
    46      "secondaryAccentColor": "AA2",
    47      "neutralAccentColor": "N2"
    48    },
    49    {
    50      "id": "table",
    51      "type": "sql_table",
    52      "pos": {
    53        "x": 351,
    54        "y": 192
    55      },
    56      "width": 381,
    57      "height": 36,
    58      "opacity": 1,
    59      "strokeDash": 0,
    60      "strokeWidth": 2,
    61      "borderRadius": 0,
    62      "fill": "N1",
    63      "stroke": "N7",
    64      "shadow": false,
    65      "3d": false,
    66      "multiple": false,
    67      "double-border": false,
    68      "tooltip": "",
    69      "link": "",
    70      "icon": null,
    71      "iconPosition": "",
    72      "blend": false,
    73      "fields": null,
    74      "methods": null,
    75      "columns": null,
    76      "label": "RefreshAuthorizationPolicyCache",
    77      "fontSize": 20,
    78      "fontFamily": "DEFAULT",
    79      "language": "",
    80      "color": "N1",
    81      "italic": false,
    82      "bold": true,
    83      "underline": false,
    84      "labelWidth": 356,
    85      "labelHeight": 31,
    86      "zIndex": 0,
    87      "level": 1,
    88      "primaryAccentColor": "B2",
    89      "secondaryAccentColor": "AA2",
    90      "neutralAccentColor": "N2"
    91    },
    92    {
    93      "id": "table with short col",
    94      "type": "sql_table",
    95      "pos": {
    96        "x": 351,
    97        "y": 328
    98      },
    99      "width": 381,
   100      "height": 72,
   101      "opacity": 1,
   102      "strokeDash": 0,
   103      "strokeWidth": 2,
   104      "borderRadius": 0,
   105      "fill": "N1",
   106      "stroke": "N7",
   107      "shadow": false,
   108      "3d": false,
   109      "multiple": false,
   110      "double-border": false,
   111      "tooltip": "",
   112      "link": "",
   113      "icon": null,
   114      "iconPosition": "",
   115      "blend": false,
   116      "fields": null,
   117      "methods": null,
   118      "columns": [
   119        {
   120          "name": {
   121            "label": "ok",
   122            "fontSize": 0,
   123            "fontFamily": "",
   124            "language": "",
   125            "color": "",
   126            "italic": false,
   127            "bold": false,
   128            "underline": false,
   129            "labelWidth": 21,
   130            "labelHeight": 26
   131          },
   132          "type": {
   133            "label": "",
   134            "fontSize": 0,
   135            "fontFamily": "",
   136            "language": "",
   137            "color": "",
   138            "italic": false,
   139            "bold": false,
   140            "underline": false,
   141            "labelWidth": 0,
   142            "labelHeight": 0
   143          },
   144          "constraint": null,
   145          "reference": ""
   146        }
   147      ],
   148      "label": "RefreshAuthorizationPolicyCache",
   149      "fontSize": 20,
   150      "fontFamily": "DEFAULT",
   151      "language": "",
   152      "color": "N1",
   153      "italic": false,
   154      "bold": true,
   155      "underline": false,
   156      "labelWidth": 356,
   157      "labelHeight": 31,
   158      "zIndex": 0,
   159      "level": 1,
   160      "primaryAccentColor": "B2",
   161      "secondaryAccentColor": "AA2",
   162      "neutralAccentColor": "N2"
   163    }
   164  ],
   165  "connections": [
   166    {
   167      "id": "(class2 -> table)[0]",
   168      "src": "class2",
   169      "srcArrow": "none",
   170      "dst": "table",
   171      "dstArrow": "triangle",
   172      "opacity": 1,
   173      "strokeDash": 0,
   174      "strokeWidth": 2,
   175      "stroke": "B1",
   176      "borderRadius": 10,
   177      "label": "",
   178      "fontSize": 16,
   179      "fontFamily": "DEFAULT",
   180      "language": "",
   181      "color": "N2",
   182      "italic": true,
   183      "bold": false,
   184      "underline": false,
   185      "labelWidth": 0,
   186      "labelHeight": 0,
   187      "labelPosition": "",
   188      "labelPercentage": 0,
   189      "route": [
   190        {
   191          "x": 541,
   192          "y": 92
   193        },
   194        {
   195          "x": 541,
   196          "y": 132
   197        },
   198        {
   199          "x": 541,
   200          "y": 152
   201        },
   202        {
   203          "x": 541,
   204          "y": 192
   205        }
   206      ],
   207      "isCurve": true,
   208      "animated": false,
   209      "tooltip": "",
   210      "icon": null,
   211      "zIndex": 0
   212    },
   213    {
   214      "id": "(table -> table with short col)[0]",
   215      "src": "table",
   216      "srcArrow": "none",
   217      "dst": "table with short col",
   218      "dstArrow": "triangle",
   219      "opacity": 1,
   220      "strokeDash": 0,
   221      "strokeWidth": 2,
   222      "stroke": "B1",
   223      "borderRadius": 10,
   224      "label": "",
   225      "fontSize": 16,
   226      "fontFamily": "DEFAULT",
   227      "language": "",
   228      "color": "N2",
   229      "italic": true,
   230      "bold": false,
   231      "underline": false,
   232      "labelWidth": 0,
   233      "labelHeight": 0,
   234      "labelPosition": "",
   235      "labelPercentage": 0,
   236      "route": [
   237        {
   238          "x": 541,
   239          "y": 228
   240        },
   241        {
   242          "x": 541,
   243          "y": 268
   244        },
   245        {
   246          "x": 541,
   247          "y": 288
   248        },
   249        {
   250          "x": 541,
   251          "y": 328
   252        }
   253      ],
   254      "isCurve": true,
   255      "animated": false,
   256      "tooltip": "",
   257      "icon": null,
   258      "zIndex": 0
   259    }
   260  ],
   261  "root": {
   262    "id": "",
   263    "type": "",
   264    "pos": {
   265      "x": 0,
   266      "y": 0
   267    },
   268    "width": 0,
   269    "height": 0,
   270    "opacity": 0,
   271    "strokeDash": 0,
   272    "strokeWidth": 0,
   273    "borderRadius": 0,
   274    "fill": "N7",
   275    "stroke": "",
   276    "shadow": false,
   277    "3d": false,
   278    "multiple": false,
   279    "double-border": false,
   280    "tooltip": "",
   281    "link": "",
   282    "icon": null,
   283    "iconPosition": "",
   284    "blend": false,
   285    "fields": null,
   286    "methods": null,
   287    "columns": null,
   288    "label": "",
   289    "fontSize": 0,
   290    "fontFamily": "",
   291    "language": "",
   292    "color": "",
   293    "italic": false,
   294    "bold": false,
   295    "underline": false,
   296    "labelWidth": 0,
   297    "labelHeight": 0,
   298    "zIndex": 0,
   299    "level": 0
   300  }
   301}

View as plain text