1import { plantumlFamilyAdapter } from '../adapters/plantuml-family'2import { createRendererUnitGroup } from '../runtime/unit'34export default createRendererUnitGroup('plantuml-family', [5 {6 id: 'plantuml', kind: 'render', adapter: plantumlFamilyAdapter,7 knownLosses: [8 'This direct Worker supports SVG only.',9 'Remote, filesystem, arbitrary standard-library includes, and source-level theme directives are disabled.',10 'Browser DOM text metrics are approximated and may differ from the native PlantUML Docker image.',11 'PNG, PDF, TXT, UTXT, and BASE64 formats are not exposed.',12 ],13 },14 {15 id: 'c4plantuml', kind: 'render', adapter: { ...plantumlFamilyAdapter, id: 'c4plantuml' },16 knownLosses: [17 'This direct Worker supports SVG only.',18 'C4-PlantUML is lowered to ordinary PlantUML primitives; advanced macros, manual layout, icon sprites, and custom style macros are rejected explicitly.',19 'C4 tags are retained as PlantUML stereotypes and the default person/system palette is retained semantically, but output is not pixel-compatible with native C4-PlantUML 2.7.0.',20 ],21 },22])