Appearance
Understanding conversion loss
Conversion preserves the structure both formats can represent and reports what the target format cannot encode.
Formats have different vocabularies
Coral carries GraphIR metadata, nested objects, settings, exact geometry, constraints, routes, and typed properties. Mermaid, DOT, and PlantUML each have different diagram families and styling or layout concepts.
Loss is directional
Mermaid imports retain their source until an explicit conversion succeeds. The deterministic transpiler covers Flowchart, Sequence, Class, ER and State and reports omitted constructs in a loss summary. The editor presents lossy conversion for review before replacing the source. Verified lossless sequence files can open directly as Coral.
Keep the original file when you need its formatting, comments, unsupported style directives or metadata. Rendering a supported preview and writing Coral source have separate verification steps.
Changing a saved-source notation
When you change a saved Coral diagram's type, its explicit types and symbols remain authored. Coral edits the header and checks the body against the new profile. Inferred appearance can change; an unavailable explicit symbol receives a finding rather than being silently replaced. Save retains the authored source even when the new profile cannot render it. Use Undo to restore the earlier header.
Graph interchange conversion and foreign-format export have separate loss rules. Keep the original source when a conversion reports fields that the target cannot represent; a display fallback is not a new source master.