Appearance
File and export formats
Files created or accepted by the application; package-only conversion APIs are covered by the conversion reference.
| Format | Use it for | Limits |
|---|---|---|
.coral.json | Save and open | Source-owned Coral documents keep exact authored text and document settings |
| GraphIR JSON | Deliberate interchange | Portable graph; not the authored Coral text or full document settings |
| SVG | Scalable export | Uses verified geometry |
Plain text (.txt) | Paginated ASCII diagram | Letter or A4 with form-feed page breaks |
| Code comment | Copy a text diagram | 72, 80, or 100 columns including comment syntax |
| HTML | Standalone export | Uses verified geometry |
| PNG | Raster export | Fixed resolution |
| JPEG | Lossy raster export | Fixed resolution |
Coral source (.coral) | Text authoring and opening | Stored verbatim; malformed source remains saveable as text |
Mermaid source (.mmd) | Open supported imported source | Bounded sequence import writes verified Coral; other admitted Mermaid stays Mermaid source |
| DOT and PlantUML source | Open supported imported source | Original format is retained; no general Coral source writer |
The current Coral document schema is 1.0.0. Readers accept 0.9.0, 1.0.0, and legacy 1.0, migrating supported documents before use. Unsupported or malformed document envelopes are refused without replacing current work; malformed Coral text inside a valid source document remains available to edit.
A Coral source document retains its exact text even when syntax, conformance, or render-capability findings prevent projection or export. Saving and closing do not require a successful diagram render.
Choose Export Plain Text (.txt) for a page preview and download. Choose Copy as Code Comment to set comment syntax, width, and character set.