Page tree
Skip to end of metadata
Go to start of metadata

ShapeScripts

ShapeScripts may be used to create custom visualizations of elements/connectors in Enterprise Architect. They are defined in an own language and explained on the help-page of Sparx Systems.

LemonTree interprets these ShapeScripts and visualizes the elements accordingly. However, the description language is quite extensive. LemonTree tries to interpret ShapeScripts correctly, but does not cover all features yet. We estimate that LemonTree 2.2 visualizes about 80% of the ShapeScripts as they are visualized in Enterprise Architect.

Improving the visualization of ShapeScripts is an ongoing task, so LemonTree gets better at handling ShapeScripts with every new release.

We currently support ShapeScripts from these built-in profiles (others may work as well, but haven't been confirmed yet)
  • BPMN 2.0
  • SysML
  • Archimate (LemonTree release 2.2.2)
Next steps are
  • ToGAF
  • Data Modeling Diagram
  • Project Managment
  • Mind Mapping
  • ...

If you are not satisfied with the visualization of special ShapeScripts or your own custom ShapeScripts please contact us, we're looking forward to improve your experience!

Tagged Values and Profiles

In the Property Viewer, LemonTree lists different kinds of properties of elements in categories.

  • Element Properties: Properties of elements/connectors that are defined in UML. For example: Name, Stereotype, Alias, ...
  • EA Specifics 1.0: Additional properties that are not defined in UML but used in Enterprise Architect. For example: Author, Pos (in Tree Browser), StyleEx, ...
  • "<Profile Name>": Tagged Values from profiles: When using profiles it is possible to define TaggedValues. These TaggedValues are grouped to their profile and have their own category in the Properties Viewer. For example: isEncapsulated from the profile SysML 1.5::block
  • No Profile: Tagged Values which are not associated with a profile

Since it's not always possible for LemonTree to correctly identify the profile for a given TaggedValue in the model, we created a mapping file TaggedValueMap.txt which provides the mapping from the TaggedValues to their profiles. If you see the No Profile category in the Property Viewer where you expect the TaggedValue to be listed in a profile it's very likely that this map needs to be extended. In this case, please contact us directly.

Reading of Profiles

LemonTree reads the profiles that are stored in the model, as well as the ones which are stored in the EA MDG folder.

  • No labels