Enterprise Architect Diagram Images as Hyperlinks and AttachedFiles

When exporting an XMI from Enterprise Architect, it is possible to export all Diagrams as images in a dedicated folder.

The option ea2md.publisher.diagramImageHyperlinks in the publisher.properties controls creation of Hyperlinks linking MagicDraw Diagrams to their Enterprise Architect Diagram Image in a MagicDraw AttachedFile.

Exporting Diagram Images from Enterprise Architect

If you want to export using the Publish dialog box, select "Generate Diagram Images", with format "PNG". The folder images needs to be in the same folder of the generated xmi for the publication.

If you Publish the model using the Active Application and the option ea2md.publisher.diagramImageHyperlinks is set to true, diagrams images will be automatically generated.

Enabling/disabling Enterprise Architect Diagram Images as Hyperlinks and AttachedFile property

Set to following option in publisher.properties file:

# If True, Hyperlinks will be created on Diagrams to a MagicDraw AttachedFile containing the Enterprise Architect Diagram PNG files. Available values: True, False - default: False
ea2md.publisher.diagramImageHyperlinks=True