For the past month, the OmniGraffle team has been concentrating on improving and expanding SVG support for OmniGraffle. Just last week, those changes have been released in the latest update for macOS, OmniGraffle 7.7.
You won’t see the biggest change—we converted the code for exporting from Objective-C to Swift!—but there’s a lot that you will notice.
- Unique IDs — OmniGraffle object IDs are now included on each element (object/group/layer/canvas) when exporting to SVG. Object IDs are unique for each canvas but may change between exports. Use “Show object ID numbers in the Layers tab of the Sidebar” in General preferences to see the ID in OmniGraffle.
- Object Titles — Custom object names are now included in the title element when exporting to SVG. Names can be defined using the Object Data inspector or using the Layers tab of the left sidebar.
Support for Freehand Stroke on Export
For shapes or lines that use a freehand stroke, exporting to SVG will now handle that a lot better. (AKA: it just works!)
- Dashed Strokes — Added support for the stroke-dasharray attribute.
- Transparency — Added support for the fill-opacity attribute.
And a lot more
OmniGraffle 7.7 improved support for nested transformations, rotations, margins, text alignment, mixed-group ordering, and a whole lot more. It’s a great update if you ever use SVG import or export! Check for updates.