Diagram Mapping
To export diagrams their UML type must be included in the mapping using a structure similar to element rules.
A diagram mapping rule consists of the prefered Jama item SET-Key, the EA object diagram definition and optinal specific diagram types.
New mapping templates
New mapping templates with the adapted schema are placed in the mapping folder on EA startup when the old files are removed or renamed.
C:\ProgramData\LieberLieber\LemonTree.Connect.Jama\mapping\
The default rule exports all diagrams as text items. This can be found in the provided example export mapping.
<diagramRule>
<matchingRule>
<externalProperty name="_objectType" value="TXT" />
<myumlProperty name="_objectType" value="ea_Diagram" />
</matchingRule>
<properties>
<property external="name" myuml="Name" />
<property external="description" myuml="Documentation" />
</properties>
</diagramRule>
For specific diagram rules you can add a diagram type and an optional extended type. Example for a SysML Block Definition diagram:
<diagramRule>
<matchingRule>
<externalProperty name="_objectType" value="TXT" />
<myumlProperty name="_objectType" value="ea_Diagram" />
<myumlProperty name="_diagramType" value="Logical" />
<myumlProperty name="_extendedDiagramType" value="SysML1.4::BlockDefinition" />
</matchingRule>
<properties>
<property external="name" myuml="Name" />
<property external="description" myuml="Documentation" />
</properties>
</diagramRule>
A Diagram's extended type can be found in the advanced section of the Diagram's Properties.

Supported Diagram Types
| UI Type | XML Type | XML Stereotype |
|---|---|---|
| Activity | Activity | |
| Analysis | Analysis | |
| Any Diagram | ea_Diagram | |
| Class | Logical | |
| Communication | Collaboration | |
| Component | Component | |
| Composite Structure | CompositeStructure | |
| Custom | Custom | |
| Deployment | Deployment | |
| Interaction Overview | InteractionOverview | |
| Object | Object | |
| Package | Package | |
| Requirement | Custom | Extended::Requirements |
| Sequence | Sequence | |
| State Machine | Statechart | |
| SysML Activity | Activity | SysML1.4::Activity |
| SysML Block Definition | Logical | SysML1.4::BlockDefinition |
| SysML Internal Block | CompositeStructure | SysML1.4::InternalBlock |
| SysML Package | Package | SysML1.4::Package |
| SysML Parametric | CompositeStructure | SysML1.4::Parametric |
| SysML Requirement | Custom | SysML1.4::Requirement |
| SysML Sequence | Sequence | SysML1.4::Sequence |
| SysML StateMachine | Statechart | SysML1.4::StateMachine |
| SysML Use Case | UseCase | SysML1.4::UseCase |
| Timing | Timing | |
| Use Case | UseCase |