Convert
Convert what you have into what you need.
Every conversion page states what survives the round trip and what does not.
Signed & notarized by Apple · opens without a Gatekeeper warning
sha256 698955a0187bc039f4c74f5d05a9f10fbb27376a45788a0a241d1326b73873c7
$curl -fsSL https://lucidtrain.com/install.sh | sh
- Convert Code to a DiagramThe general case: point it at code and get a diagram of what is there rather than what you remember building.
- Convert a Diagram into CodeThe direction almost nothing else does: the diagram stops being documentation and becomes the instruction.
- Convert Terraform to an Architecture DiagramTerraform records dependencies explicitly through references, so the edges are read rather than inferred. It is one of the most reliable sources there is.
- Convert Mermaid to ExcalidrawUseful when a Mermaid diagram has outgrown what Mermaid's layout can render legibly.
- Convert SQL to an ER DiagramForeign keys already encode the relationships and their cardinality. The diagram renders what the schema is enforcing anyway.
- Convert OpenAPI to a Sequence DiagramThe spec supplies the operations and their exact names. You supply the ordering, because a spec describes endpoints and not journeys.
- Convert Docker Compose to a DiagramA Compose file is a complete description of a small system written in a format that hides its shape.
- Convert Kubernetes YAML to a DiagramThe whole topology is in the YAML, expressed as label matches spread across forty files.
- Convert Excalidraw to SVGA small utility, published because it solved a real problem here and the usual approach needs a DOM and about 1.4 MB of dependencies.
- Convert Mermaid to an Architecture DiagramMermaid gives you the graph. What it cannot give you is tiers, icons, and a layout that survives the diagram growing.
Elsewhere
- System Design TemplatesEach template is a real diagram produced by the same layout engine the app runs, not a picture of one.
- Generate a Diagram from Your CodeEvery source below lists the exact files it reads and the constructs it maps to diagram nodes.
- AI Diagram GeneratorsThe agent emits a semantic graph and ELK computes the layout, so overlapping boxes are structurally impossible.
- Compare Lucid TrainEvery page says what the other tool is better at. If that section were empty the comparison would not be worth reading.
- Use CasesEach page includes who it is not for, which is usually the more useful half.
- Beyond DiagramsDiagrams are the front door. These are the rooms behind it.