Skip to content

Tables

Tables display structured, multi-column data — perfect for API endpoints, configuration, schema definitions, or any tabular information.

table id="<id>" {
column [id="<col-id>"] title="<title>" [icon="<url>"] [color="<hex>"] {
Item 1
Item 2
}
column title="<title2>" {
Item A
Item B
}
}
Attribute Required Description
id Yes Unique identifier for the table.
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.
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 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
}
}

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 table
edge from="gateway" to="api" label="REST"
# Edge to a specific column
edge from="user-service" to="api.users" label="gRPC"

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
}
}
}