Trellis Mermaid PreviewInstant, beautiful diagram previews for your Mermaid files — right inside VS Code. What is Trellis?Trellis is a next-generation Mermaid diagram renderer that produces clean, overlap-free diagrams with crisp orthogonal edge routing. Where stock renderers let edges tangle and overlap, Trellis routes every connection precisely — the result is diagrams that are easier to read and share. FeaturesLive PreviewOpen any Side-by-Side EditingPreview your diagram alongside your source with Open Preview to the Side ( Markdown Mermaid BlocksTrellis also works inside Markdown. Place your cursor in a fenced Export DiagramsExport the current diagram to disk in three formats:
Run Trellis: Export Diagram… to pick a format, or use the dedicated Export as SVG / PNG / Draw.io commands. The export button is also available in the editor toolbar and right-click menu. Crisp, Overlap-Free DiagramsTrellis uses precision edge routing to ensure connections never cross nodes or pile on top of each other. The result is diagrams that communicate clearly at every scale. Supports Multiple Diagram Types
Mermaid CompatibleTrellis reads standard Mermaid syntax — no migration, no new language to learn. Your existing Getting Started
You can also right-click in the editor and choose Trellis: Open Preview, or use the preview icon in the editor toolbar. LicensingLive preview and PNG export are free — no license needed. SVG and Draw.io export are premium features and require a valid Trellis license. Without one, those exports report To activate a license:
Run the same command with an empty value to remove a stored key. DocumentationFull documentation is available at trellis-lab.github.io/trellis. Settings
Feedback & IssuesFound a bug or have a feature request? Please open an issue on GitHub. |