−
+
Standard
Compact
PDF
Markdown (.md)
_ = graph.visualize('graph.md')
Run a command to save in the notebook filesystem. Replace graph with your graph variable.
Table relationships
Lines connect foreign keys (FK) to primary keys (PK). TS marks the declared time column; TE marks the end-time column.
orders.customer_id → customers.customer_id
orders.product_id → products.product_id
customers 3 columns Connected tables: orders
customers
customers.customer_id Type: int64 Semantic type: ID Role: PK Sample values: 1 2 3 4 5 6
customer_id
PK
customers.city Type: string Semantic type: categorical Role: Column Sample values: 'Seattle' 'Austin' 'Boston' 'Denver' 'Portland' 'Chicago'
city
customers.name Type: string Semantic type: categorical Role: Column Sample values: 'Avery' 'Blake' 'Casey' 'Drew' 'Ellis' 'Frankie'
name
orders 5 columns Connected tables: customers products
orders
orders.order_id Type: int64 Semantic type: ID Role: PK Sample values: 1001 1002 1003 1004 1005 1006
order_id
PK
orders.customer_id Type: int64 Semantic type: ID Role: FK References: customers.customer_id Sample values: 1 2 3 4 5 6
customer_id
FK
orders.product_id Type: int64 Semantic type: ID Role: FK References: products.product_id Sample values: 101 102 103 104 105 106
product_id
FK
orders.ordered_at Type: string Semantic type: timestamp Role: TS Sample values: 2026-01-05 00:00:00 2026-01-06 00:00:00 2026-01-07 00:00:00 2026-01-08 00:00:00 2026-01-09 00:00:00 2026-01-10 00:00:00
ordered_at
TS
orders.quantity Type: int64 Semantic type: categorical Role: Column Sample values: 2 1 1 3 1 2
quantity
products 3 columns Connected tables: orders
products
products.product_id Type: int64 Semantic type: ID Role: PK Sample values: 101 102 103 104 105 106
product_id
PK
products.name Type: string Semantic type: categorical Role: Column Sample values: 'Notebook' 'Pen set' 'Backpack' 'Water bottle' 'Desk lamp' 'Planner'
name
products.price Type: float64 Semantic type: numerical Role: Column Sample values: 12.5 8.0 45.0 22.0 36.0 18.0
price
Enable JavaScript to explore this graph.