Adding diagram support

MDWorkbench offers documentation generation support through doc templates. In doc templates, the user may ask to retrieve a diagram image for a specific model element using the diagram tag. MDWorkbench has no intrinsec knownledge of diagram images, it is the reponsability of a model reader to optionally support diagrams.

To support diagrams, a model reader must:

  1. Declare a diagram provider.
  2. Implement the diagram provider.

Please note that many model readers won't be able to support diagrams (XMI reader for example). To support diagrams, a model reader should generally have a live connection with a CASE tool, through COM APIs for example, to be able to dynamically retrieve images.

Related concepts
Doc templates

Related reference
diagram