...

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

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

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

View as plain text