Output Associated Diagrams from Diagram Overview using Doc. Composer
-
Go to Tools > Doc. Composer . -
Select Build Doc. From Scratch . -
Select the Diagram Overview element in Model Explorer tree. -
Right click on any template in Template pane and select Duplicate form popup menu. -
Name the template as Associated Diagram . -
Replace the content of the template as follow. <? xml version="1.0" encoding="UTF-8"?> <ElementBaseInitiationBlock> <DiagramProperty property="diagramId"> <Text style="@heading+">Associated Diagram: </Text> <Property property="name" style="@heading"/> <ParagraphBreak/> <Image/> <ParagraphBreak/> <IterationBlock ignoreLastSeparator="false"> <Inline template="Details"/> </IterationBlock> </DiagramProperty> </ElementBaseInitiationBlock> -
Press Save button and close the Edit Template dialog. -
Drag the Associated Diagram template into document editor.
Explanation of the template
<DiagramProperty property="diagramId">
<Text style="@heading+">Associated Diagram: </Text> <Property property="name" style="@heading"/> <ParagraphBreak/> <Image/> <ParagraphBreak/>
<IterationBlock ignoreLastSeparator="false"> <Inline template="Details"/> </IterationBlock>
|
|