Tables
Tables display structured, multi-column data — perfect for API endpoints, configuration, schema definitions, or any tabular information.
Syntax
Section titled “Syntax”table id="<id>" { column [id="<col-id>"] title="<title>" [icon="<url>"] [color="<hex>"] { Item 1 Item 2 } column title="<title2>" { Item A Item B }}Table Attributes
Section titled “Table Attributes”| Attribute | Required | Description |
|---|---|---|
id |
Yes | Unique identifier for the table. |
Column Attributes
Section titled “Column Attributes”| Attribute | Required | Description |
|---|---|---|
title |
Yes | Column header text. |
id |
No | Unique column identifier (for parent references and edges). |
icon |
No | URL to an icon image displayed in the column header. |
color |
No | Column accent color as a hex code. |
Basic Table
Section titled “Basic Table”table id="endpoints" { column title="Users API" { POST /auth/login POST /auth/register GET /users/:id } column title="Orders API" { POST /orders GET /orders/:id PUT /orders/:id/status }}Table with Column Icons
Section titled “Table with Column Icons”table id="api" { column id="users-api" title="Users API" icon="https://cdn.simpleicons.org/swagger" { POST /auth/login GET /users/:id } column id="catalog-api" title="Catalog API" icon="https://cdn.simpleicons.org/swagger" { GET /products GET /categories }}Connecting Edges to Tables
Section titled “Connecting Edges to Tables”Edges can target an entire table or a specific column using dot notation:
table id="api" { column id="users" title="Users API" { ... } column id="orders" title="Orders API" { ... }}
# Edge to the whole tableedge from="gateway" to="api" label="REST"
# Edge to a specific columnedge from="user-service" to="api.users" label="gRPC"Tables Inside Groups
Section titled “Tables Inside Groups”Tables can be placed inside groups:
group id="docs" title="API Documentation" { table id="endpoints" { column title="Method" { GET POST PUT } column title="Path" { /users /users /users/:id } }}