> ## Documentation Index
> Fetch the complete documentation index at: https://iso-topology.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# ClickHouse analytics architecture diagram

> A reproducible ClickHouse ecosystem diagram with grouped data sources, a warehouse hub, and query clients.

This example draws ClickHouse as a central warehouse with five surrounding
groups: databases, streams/logs, query tools, application clients, and object
storage. The connectors are labeled Ingest, Query, or Ingest / external.
It is an illustrative ecosystem map, not a deployment specification or a claim
that every displayed integration is configured in a real system.

![ClickHouse analytics architecture diagram generated from the linked YAML source](https://mintcdn.com/iso-topology/i34aIj-BE0ECOg6t/assets/clickhouse-hub.svg?fit=max\&auto=format\&n=i34aIj-BE0ECOg6t\&q=85\&s=cec0c58ecc472237d507904c89886734)

[Open the full-size SVG](../assets/clickhouse-hub.svg) · [Download PNG](../assets/clickhouse-hub.png) to inspect the connections and labels. The image is generated from the complete source below.

## Get the complete source

The [complete YAML](https://github.com/NexusFox88/iso-topology/blob/main/samples/topology/clickhouse-hub/input.yaml)
is the maintained source for this example. It includes all presets, parts and
connectors; no hidden configuration is required. This tutorial uses the current
`main` source, not a guarantee of feature parity with an older release.

With Go 1.25 or later and Git installed:

```bash theme={"system"}
git clone https://github.com/NexusFox88/iso-topology
cd iso-topology
git rev-parse HEAD   # record this revision if you need to reproduce it later
go build -o isotopo ./cmd/isotopo
./isotopo render samples/topology/clickhouse-hub/input.yaml ./out-clickhouse-hub
```

On Windows, build `isotopo.exe` and use that executable name. Open
`out-clickhouse-hub/topology.html` to inspect the output; embed
`out-clickhouse-hub/topology.svg` in your documentation.
For a pinned build, check out a tested tag or commit before building.

## How the scene is organized

The `hub` group contains the ClickHouse header, integration tiles and database
features. The surrounding groups organize logos by role. Reusable presets set
the dark faces and yellow accent; `place` relationships arrange groups.
Some connectors have explicit waypoints, so this example is not entirely
coordinate-free.

## Adapt it to your system

Work on a copy of the source so you can compare changes:

```bash theme={"system"}
cp samples/topology/clickhouse-hub/input.yaml my-architecture.yaml
./isotopo serve my-architecture.yaml
```

Open the local Studio URL printed by the command. Parseable source edits automatically save to the bound file. See [Studio](https://iso-topology.mintlify.site/guides/studio.md) for supported operations.

1. Change a leaf node's `label` to name your own data source.
2. Change `theme.presets.chYellow` to adjust the accent style consistently.
3. Remove unused parts together with any connectors that reference them.
4. Re-render and inspect the Ingest / Query paths. When moving groups, review
   explicit connector waypoints; they may still reflect the original layout.

## Validate and publish

```bash theme={"system"}
./isotopo validate my-architecture.yaml
./isotopo render my-architecture.yaml ./out-custom
```

Validation uses exit code 0 for clean, 2 for warnings and 3 for errors. Read the
reported findings; a generated SVG is not a guarantee that every detail is readable.
Explicit routes and dense labels can still need manual adjustment.

For the unedited example, the committed source and `expected.svg` form a
byte-level rendering regression fixture. This checks reproducibility, not that
all visual defects have been eliminated.

If resvg is installed, create a PNG for a presentation or visual review:

```bash theme={"system"}
resvg --width 1400 out-custom/topology.svg out-custom/topology.png
```

The SVG on this page is generated from the linked sample with the current
renderer. PNG exports and pixel checks use a pinned resvg build and bundled fonts. Core SVG rendering does not require resvg. See
[features and limits](https://iso-topology.mintlify.site/concepts/features-and-limits.md) for font, export and
repair constraints.

## Continue

* [Generate and refine diagrams through MCP](https://iso-topology.mintlify.site/agent/MCP.md).
* [Browse other source examples](https://iso-topology.mintlify.site/agent/SAMPLES.md).
* [Style a scene](https://iso-topology.mintlify.site/guides/scene-design.md).

## A five-minute editing task

Open your copied YAML in local Studio, select the `pg` node and change its label to **Operational Postgres**. Keep its ID unchanged so existing connectors still reference the same component. Render the saved file again and check that the new label appears in both the isometric and top-down output, with the same incoming and outgoing relationships. Run `isotopo validate my-architecture.yaml` and inspect any warnings before publishing.

For a smaller no-install introduction, [try the browser playground](https://nexusfox88.github.io/iso-topology/?example=service). Its starter scene is deliberately simpler than the full diagram on this page. Use the local path above for this complete sample.

The project-authored diagram source is available under [Apache-2.0](https://github.com/NexusFox88/iso-topology/blob/main/LICENSE). When reusing it, retain applicable license and notice requirements. A helpful attribution is “Adapted from iso-topology — clickhouse-architecture”; attribution does not imply endorsement by the depicted products. Third-party logos and names retain their respective rights.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.