# clickhouse-hub: maintained architecture example with matte materials. # Relationships, geometry and authored routing constraints remain explicit. canvas: {background: "#0B0B0E", grid: "", padding: 80} theme: text: {family: "Inter, system-ui, sans-serif", size: 10, weight: "600", color: "#AEB9D6"} presets: # ---- ClickHouse yellow action GLASS (Integrations / ClickPipes) ---- chYellow: stroke: {color: "#FCFFB0", width: 1} palette: {left: "#5E6112", right: "#9DA22A"} faces: top: {fill: {"kind": "solid", "color": "#FCFFA8"}} left: {fill: {"kind": "solid", "color": "#8E9220"}} right: {fill: {"kind": "solid", "color": "#9DA22A"}} effects: {cornerRadius: 16, faceSplit: true, opacity: 0.86} text: {color: "#2A2200"} # ---- internal neutral feature GLASS (Dictionaries / Projections / Mat views) ---- grey: stroke: {color: "#ADADB4", width: 1} palette: {left: "#2E2E33", right: "#404045"} faces: top: {fill: {"kind": "solid", "color": "#6E6E73"}} left: {fill: {"kind": "solid", "color": "#4C4C52"}} right: {fill: {"kind": "solid", "color": "#404045"}} effects: {cornerRadius: 14, faceSplit: true, opacity: 0.80} text: {color: "#F4F4F6"} # ---- dark brand-logo GLASS chip (neutral charcoal) ---- chip: stroke: {color: "#5C5D67", width: 1} palette: {left: "#1B1C20", right: "#2C2D33"} faces: top: {fill: {"kind": "solid", "color": "#45464C"}} left: {fill: {"kind": "solid", "color": "#2C2D33"}} right: {fill: {"kind": "solid", "color": "#232429"}} effects: {cornerRadius: 12, faceSplit: true, opacity: 0.86} text: {color: "#E6E8EC"} # ---- ClickHouse header GLASS (neutral near-black, yellow rim) ---- chHead: stroke: {color: "#D6DC4F", width: 1.6} palette: {left: "#0E0E11", right: "#18181C"} faces: top: {fill: {"kind": "solid", "color": "#232329"}} left: {fill: {"kind": "solid", "color": "#18181C"}} right: {fill: {"kind": "solid", "color": "#131316"}} effects: {cornerRadius: 16, faceSplit: true, opacity: 0.88} text: {color: "#FBFF81"} trayInner: stroke: {color: "#44454D", width: 1} palette: {left: "#0F0F12", right: "#1C1C20"} faces: top: {fill: {"kind": "solid", "color": "#232429"}} left: {fill: {"kind": "solid", "color": "#1C1C20"}} right: {fill: {"kind": "solid", "color": "#161619"}} effects: {cornerRadius: 16, faceSplit: true, opacity: 0.42} text: {color: "#B8B9C0"} # ---- dark category GLASS tray (yellow rim, frosted, neutral) ---- tray: stroke: {color: "#CDD24A", width: 1.2} palette: {left: "#0B0B0D", right: "#161618"} faces: top: {fill: {"kind": "solid", "color": "#1E1E22"}} left: {fill: {"kind": "solid", "color": "#161618"}} right: {fill: {"kind": "solid", "color": "#111113"}} effects: {cornerRadius: 18, faceSplit: true, opacity: 0.62} text: {color: "#C5CB66"} trayHub: stroke: {color: "#FBFF81", width: 1.8} palette: {left: "#0E0E10", right: "#1C1C20"} faces: top: {fill: {"kind": "solid", "color": "#26262C"}} left: {fill: {"kind": "solid", "color": "#1C1C20"}} right: {fill: {"kind": "solid", "color": "#161618"}} effects: {cornerRadius: 22, faceSplit: true, opacity: 0.66} text: {color: "#FBFF81"} nodes: scene: shape: composite parts: # ============ Title ============ - id: title offset: {wx: -294, wy: -38} shape: iso_text geom: {w: 560, d: 26, h: 4} label: "ClickHouse — Real-Time Data Warehouse & Database" style: palette: {top: "#0B0B0E"} text: {orient: screen, size: 23, weight: "700", color: "#FBFF81"} # ============ HERO: the ClickHouse hub ============ - id: hub geom: {d: 460} preset: trayHub shape: group label: "ClickHouse" parts: - id: chhead offset: {wx: 65, wy: 24} preset: chHead shape: rectangle geom: {w: 360, d: 60, h: 18} icon: "iso://si/clickhouse/FBFF81" label: "REAL-TIME DATA WAREHOUSE & DATABASE" - id: actions offset: {wx: 63, wy: 108} shape: group preset: trayInner layout: {mode: row, gap: 0.7} parts: - {id: integ, preset: chYellow, shape: rectangle, geom: {w: 140, d: 70, h: 24}, icon: "iso://glyph/etl", label: "Integrations"} - {id: pipes, preset: chYellow, shape: rectangle, geom: {w: 140, d: 70, h: 24}, icon: "iso://glyph/bolt", label: "ClickPipes"} - id: feats offset: {wx: 24, wy: 265} shape: group preset: trayInner layout: {mode: row, gap: 0.7} parts: - {id: dict, preset: grey, shape: rectangle, geom: {w: 110, d: 66, h: 22}, icon: "iso://glyph/database/light", label: "Dictionaries"} - {id: proj, preset: grey, shape: rectangle, geom: {w: 110, d: 66, h: 22}, icon: "iso://glyph/table/light", label: "Projections"} - {id: matv, preset: grey, shape: rectangle, geom: {w: 110, d: 66, h: 22}, icon: "iso://glyph/bolt/light", label: "Materialized views"} # ============ Top-left: Databases & data warehouses ============ - id: dbs geom: {d: 220} offset: {wx: -449, wy: 207} preset: tray shape: group label: "Databases & data warehouses" layout: {mode: grid, cols: 3, gap: 0.6} parts: - {id: pg, preset: chip, shape: rectangle, geom: {w: 66, d: 60, h: 18}, icon: "iso://si/postgresql/light"} - {id: snow, preset: chip, shape: rectangle, geom: {w: 66, d: 60, h: 18}, icon: "iso://si/snowflake/light"} - {id: maria, preset: chip, shape: rectangle, geom: {w: 66, d: 60, h: 18}, icon: "iso://si/mariadb/light"} - {id: my, preset: chip, shape: rectangle, geom: {w: 66, d: 60, h: 18}, icon: "iso://si/mysql/light"} - {id: mongo, preset: chip, shape: rectangle, geom: {w: 66, d: 60, h: 18}, icon: "iso://si/mongodb/light"} - {id: lite, preset: chip, shape: rectangle, geom: {w: 66, d: 60, h: 18}, icon: "iso://si/sqlite/light"} # ============ Bottom-left: Streams, logs & analytics ============ - id: streams geom: {d: 220} offset: {wx: 200, wy: 765} preset: tray shape: group label: "Streams, logs & analytics" layout: {mode: grid, cols: 3, gap: 0.6} parts: - {id: kafka, preset: chip, shape: rectangle, geom: {w: 66, d: 60, h: 18}, icon: "iso://si/apachekafka/light"} - {id: pulsar, preset: chip, shape: rectangle, geom: {w: 66, d: 60, h: 18}, icon: "iso://si/apachepulsar/light"} - {id: spark, preset: chip, shape: rectangle, geom: {w: 66, d: 60, h: 18}, icon: "iso://si/apachespark/light"} - {id: flink, preset: chip, shape: rectangle, geom: {w: 66, d: 60, h: 18}, icon: "iso://si/apacheflink/light"} - {id: prom, preset: chip, shape: rectangle, geom: {w: 66, d: 60, h: 18}, icon: "iso://si/prometheus/light"} - {id: sentry, preset: chip, shape: rectangle, geom: {w: 66, d: 60, h: 18}, icon: "iso://si/sentry/light"} # ============ Top-right: Tooling & visualization ============ - id: tooling geom: {d: 230} offset: {wx: 166, wy: -360} preset: tray shape: group label: "Tooling & visualization" parts: - {offset: {wx: 24, wy: 24}, id: graf, preset: chip, shape: rectangle, geom: {w: 66, d: 60, h: 18}, icon: "iso://si/grafana/light"} - {offset: {wx: 114, wy: 24}, id: kib, preset: chip, shape: rectangle, geom: {w: 66, d: 60, h: 18}, icon: "iso://si/kibana/light"} - {offset: {wx: 23, wy: 104}, id: jup, preset: chip, shape: rectangle, geom: {w: 66, d: 60, h: 18}, icon: "iso://si/jupyter/light"} - {offset: {wx: 114, wy: 108}, id: bichart, preset: chip, shape: rectangle, geom: {w: 66, d: 60, h: 18}, icon: "iso://glyph/chart/light"} # ============ Bottom-right: Apps & language clients ============ - id: apps geom: {d: 220} offset: {wx: 707, wy: -192} preset: tray shape: group label: "Apps & language clients" layout: {mode: grid, cols: 3, gap: 0.6} parts: - {id: py, preset: chip, shape: rectangle, geom: {w: 66, d: 60, h: 18}, icon: "iso://si/python/light"} - {id: jdk, preset: chip, shape: rectangle, geom: {w: 66, d: 60, h: 18}, icon: "iso://si/openjdk/light"} - {id: net, preset: chip, shape: rectangle, geom: {w: 66, d: 60, h: 18}, icon: "iso://si/dotnet/light"} - {id: rust, preset: chip, shape: rectangle, geom: {w: 66, d: 60, h: 18}, icon: "iso://si/rust/light"} - {id: golang, preset: chip, shape: rectangle, geom: {w: 66, d: 60, h: 18}, icon: "iso://si/go/light"} - {id: node, preset: chip, shape: rectangle, geom: {w: 66, d: 60, h: 18}, icon: "iso://si/nodedotjs/light"} # ============ Bottom-center: Data lakes & object storage ============ - id: lakes geom: {d: 130} offset: {wx: 464, wy: 566} preset: tray shape: group label: "Data lakes & object storage" layout: {mode: row, gap: 0.6} parts: - {id: dbx, preset: chip, shape: rectangle, geom: {w: 66, d: 60, h: 18}, icon: "iso://si/databricks/light"} - {id: hadoop, preset: chip, shape: rectangle, geom: {w: 66, d: 60, h: 18}, icon: "iso://si/apachehadoop/light"} - {id: gcs, preset: chip, shape: rectangle, geom: {w: 66, d: 60, h: 18}, icon: "iso://si/googlecloud/light"} - {id: minio, preset: chip, shape: rectangle, geom: {w: 66, d: 60, h: 18}, icon: "iso://si/minio/light"} connectors: # left categories -> hub (Ingest) - {from: dbs, to: hub, routing: orthogonal, arrow: triangle, stroke: {color: "#8E9220", width: 3, dash: "9 7", gradient: {from: "#8E9220", to: "#FBFF81"}}, label: "Ingest"} - {waypoints: [{wx: 263, wy: 765}, {wx: 263, wy: 590}, {wx: 267, wy: 590}, {wx: 267, wy: 493}, {wx: 268, wy: 493}], from: streams, to: hub, routing: orthogonal, arrow: triangle, stroke: {color: "#8E9220", width: 3, dash: "9 7", gradient: {from: "#8E9220", to: "#FBFF81"}}, label: "Ingest"} # hub -> right categories (Query) - {waypoints: [{wx: 268, wy: -122}, {wx: 268, wy: -122}, {wx: 268, wy: -24}], from: tooling, to: hub, routing: orthogonal, arrow: triangle, stroke: {color: "#8E9220", width: 3, dash: "9 7", gradient: {from: "#8E9220", to: "#FBFF81"}}, label: "Query"} - {waypoints: [{wx: 605, wy: -82}, {wx: 605, wy: 154}, {wx: 490, wy: 154}], from: apps, to: hub, routing: orthogonal, arrow: triangle, stroke: {color: "#8E9220", width: 3, dash: "9 7", gradient: {from: "#8E9220", to: "#FBFF81"}}, label: "Query"} # data lakes <-> hub (ingest + query as external sources) - {waypoints: [{wx: 606, wy: 535}, {wx: 606, wy: 256}, {wx: 490, wy: 256}], from: lakes, to: hub, routing: orthogonal, arrow: triangle, stroke: {color: "#8E9220", width: 3, dash: "9 7", gradient: {from: "#8E9220", to: "#FBFF81"}}, label: "Ingest / external"}