Trellis

Trellis Lab·TrellisLab.Trellis

Mermaid-compatible diagram renderer with overlap-free orthogonal edge routing

Trellis is a Mermaid-compatible diagram renderer that uses custom routing to produce overlap-free orthogonal SVG layouts. Supports flowchart, class, ER, C4 and architecture diagram types.

winget install --id TrellisLab.Trellis --exact --source winget

Latest 1.12.0·November 30, 2026

Release Notes

New features

• ER entities as tables:entity attributes are drawn in a Mermaid-style grid with type, name, keys and comment columns. The grid has a bold header, lines between rows and columns, and a tint on every second row. The keys and comment columns appear only when an entity uses them. Entities without attributes are drawn as a plain box with the name centred. • New er_attribute_layout setting:Table (the default) or Text, which keeps the previous one-line-per-attribute rendering. • Editor settings for the ER layout:trellis.er.attributeLayout in VS Code and erAttributeLayout in IntelliJ (edited in TrellisSettings.xml). • draw.io export uses the ER table layout too, so exported diagrams match the SVG. • VS Code trellis.c4.placement setting turns on region-based C4 layout without a %% trellis focus comment. A misplaced %% trellis focus used to fall back to the default layout without warning.

Improvements

• Edges no longer meet an ER table on one of its row lines, where they looked like they ran through the entity. • Faster rendering:large C4 diagrams render about 3 times faster, and release builds of the CLI and editor plugins are 8-9% faster again. The WebAssembly file shrinks from 5.8 to 5.3 MB. Output is unchanged. • VS Code preview waits until you pause typing before it renders, instead of rendering on every keystroke and falling behind. The new trellis.preview.updateDelay setting controls the wait (1000 ms by default). Moving the cursor no longer re-renders an unchanged diagram. • VS Code preview stays responsive while a diagram renders:the spinner, pan and zoom keep working, and an edit cancels an outdated render instead of waiting for it to finish. • Zooming the VS Code preview sharpens the image without redoing the layout, so it no longer freezes the preview.

Fixes

• ER composite keys such as PK, FK keep both keys. Before, the FK was lost. • ER relationships written in words (for example A only one to zero or more B, or with optionally to) are now read. Before, they were dropped without an error, along with any entity named only in them, and validate still reported OK. • ER cardinality markers touch the entity border, with no gap or overlap. • Self-loops on ER entities:markers no longer sit on the header line or overlap each other. Entities with self-loops are made tall enough to fit them. • Several self-loops on the same node no longer share connection points, which caused stacked markers and overlapping paths.

Installer type: portable

x64—62992E9B392147C5CCB18926FF377506996A1C210276D327785DDE1A04B39480

Details

Homepage
https://github.com/trellis-lab/trellis
License
Commercial License
Publisher
Trellis Lab
Support
https://github.com/trellis-lab/trellis/issues
Copyright
Copyright (c) Zoran Vukoszavlyev (TrellisLab)

Tags

clidiagrammermaidrenderersvg

Older versions (8)

1.11.0
x64—C6C94A1E341E4D46637B94767D80135DC1092793C0615C924389F59E5B578EF8
1.10.0
x64—196427AAC028DE5BB21E7ABF7DDBC676B5FD71B2DA618962622AE7AFE99F8CA1
1.9.0
x64—52FD33579AFACC41324DCCB3F3CC84D6C6A6280CCC31B426562AF67273295294
1.8.1
x64—CCC7827EBD080E28C05465A03350577CC52F4B96A92849A3FB0E445F6B410955
1.7.0
x64—6E65E864A0283C9C0CF19BEBD9B0BFAF1FCE3A2A55C0E6D36D5A8805F012270B
1.6.0
x64—9501DEB0D4C4BC12F0DE4F70A05BBD5278EFF87C62F90220183550872442D97B
1.5.2
x64—400A4E3F769C1D0ADF4C77DABD285FDBBBFEB5FE5D3D87CA9B6A3F54767B25F5
1.4.0
x64—16BBBAAB9A411C65E934F1FB8362D839A25FFCB90A93C2BB9D7DBFA9DF0F2F9B