Version 7.9.1¶
Patch release: object diagram attributes are no longer dropped when exporting to PNG or SVG. This is a frontend-only release — no metamodel, generator, or backend API changes; the only backend-repo change is the web-modeling-editor submodule pointer bump.
Fixes¶
Object diagrams exported as empty header boxes: the export-only SVG scene (
packages/editor/src/main/scenes/svg.tsx) special-cased onlyUMLClassifierComponentto nest its member children (attributes and methods) inside the box. Object boxes render throughUMLObjectNameComponent, which fell into thedefaultbranch and was drawn alone, while each object’sObjectAttribute/ObjectMethodmembers — mapped toUMLClassifierMemberComponent— hit the skipped member case on the assumption they had already been nested inside a classifier. They never were, so exported object diagrams showed a white header box with no attribute rows. The live editor canvas was unaffected because it renders container children directly; only the export path special-cased the classifier. The fix routesUMLObjectNameComponentthrough the same member-nesting branch asUMLClassifierComponent. Matching on the component (rather than the element type) also coversUserModelName, which maps to the same component. PNG export rasterizes the result ofexportAsSVG, so both formats are fixed by the single change.