Archi Forum

Archi => General Archi Discussion => Topic started by: mischka on June 30, 2023, 12:55:36 PM

Title: Disabling specific elements in Archi (metamodel)
Post by: mischka on June 30, 2023, 12:55:36 PM
In order to simplify modelling and allow for involvement of users that are not specifically skilled in Archimate, I would like to restrict the set of elements in Archi to a number of elements that can be handled by most persons.
Also, interoperability with commercial tools that don't rely on Archimate becomes only possible if specific elements such as  "ApplicationCollaboration" are not used.
Is there a simple way to turn off the possiblity to create specific elements, something like
archimate.genmodel <genClasses enabled="false" ecoreClass="archimate.ecore#//ApplicationCollaboration"/>?
Title: Re: Disabling specific elements in Archi (metamodel)
Post by: Phil Beauvoir on June 30, 2023, 13:10:52 PM
Hi,

As an end user of Archi you can limit a View to concepts in a Viewpoint (https://pubs.opengroup.org/architecture/archimate32-doc/ch-Stakeholders-Architecture-Views-and-Viewpoints.html).

The archimate.genmodel file you refer to is not used at runtime and so all ArchiMate concepts are available in the runtime product.
Title: Re: Disabling specific elements in Archi (metamodel)
Post by: rheward on July 13, 2023, 11:59:35 AM
An additional step is to run some checks after the fact, to highlight elements/relationship that have not been following a simplified meta-model (which you share up front to show them what you're expecting). Even trained experts get it 'wrong'. :o

There are a couple of jArchi gists on this. Take your pick:

https://gist.github.com/rich-biker/ded65fa63210b929978c7770746f91f7
https://gist.github.com/smileham/ea92a4133c81f51474596ce8428935f8