Profile picture for user sadnan

The attached script will organize the symbols within model based upon alphabatical order  This script is shared for entire ARIS community to solve their common problem of selective symbol arrangement on models.

Take a look at the following model:

It's taken from DemoDB UMG "Capability Modeling". On close inspection, you will notice that capabilities related to ordering are not arranged in any order. If you tried to utilize model layout then you will get the following result:

Almost all the time you will face this problem that object organized within  different categories are not arranged in specific order and it's cumbersome to arrange them later on.

By using the attached script, you can have arrange the symbols by selecting all the occurrences that are to be arranged.

  1. Select the object occurences that need to be arranged.

2. Then Evaluate the <Symbols Arrangement on Model> macro script.

  • If all the symbols are of equal size then script will continue to run.
  • Otherwise, you will be prompted to change the size of all symbols i.e. normalize the size of symbol based upon largest area symbol or smallest area symbol or you can select nto to change the size by selecting <cancel>.

***In this script, "size does matter". Without size and location, script will not know what would be the best position to place symbols. If you opted  "not to change the size" then result might be not close to  your expectation.

Script will search the selected symbols alphabtically and select the first symbols and will swapt it position with TOP LEFT symbol in original model. Refer to the figure below, the first symbol (which is selected alphabatically in our case <Aggregate  amounts.....> will be placed at position 1 and next selected symbol on position 2 and so on.

 

After script executing, you will have the following arranged symbols:

 

Now you can apply the select symbols arrangement script in any way you want. But you should take care of the fact that it will start placing the object from Top Left till it successfully places all the symbols.

You need to invidually apply the script on each category's symbols so you need to execute five (5) times on each category symbol occurrences.

 

Notes:

  • Not be used for right to left languages.
  • Not be used for UML Diagrams.
  • Best practices would be to change the size to "Largest Symbol" by selecting "YES" option during script execution.

 

by Jhon Smit
Posted on Thu, 11/24/2022 - 23:52

Hola, me gustaría poder editar algunas características de este informe.

0
by Runé Becker
Badge for 'Mastermind' achievement
Posted on Fri, 11/25/2022 - 09:41

In reply to by EDI_aris

Dear Jhon,

The attached report script was meant for ARIS 7.x. As since it was shared 11 years ago by a user who was active here 10 years ago, I would not expect to receive a response.

Cheers
Runè

0
by Jhon Smit
Posted on Fri, 11/25/2022 - 23:23

In reply to by rbe

Hi, thanks for that imformation
I would like guidance on moving items (e.g. Symbols) within a model, or what do I have to consider to make something similar to the contribution above

0
by M. Zschuckelt
Posted on Sat, 11/26/2022 - 14:43

In reply to by EDI_aris

Hello John,

I suppose you can inspect the script. Try unzipping the contained files until you get something readable. Also in ARIS Architect you find the Help section on ARIS Script API for Macros. The script language is Javascript (unless that script is even older than ARIS 7.2).

0

Featured achievement

Rookie
Say hello to the ARIS Community! Personalize your community experience by following forums or tags, liking a post or uploading a profile picture.
Recent Unlocks

Leaderboard

|
icon-arrow-down icon-arrow-cerulean-left icon-arrow-cerulean-right icon-arrow-down icon-arrow-left icon-arrow-right icon-arrow icon-back icon-close icon-comments icon-correct-answer icon-tick icon-download icon-facebook icon-flag icon-google-plus icon-hamburger icon-in icon-info icon-instagram icon-login-true icon-login icon-mail-notification icon-mail icon-mortarboard icon-newsletter icon-notification icon-pinterest icon-plus icon-rss icon-search icon-share icon-shield icon-snapchat icon-star icon-tutorials icon-twitter icon-universities icon-videos icon-views icon-whatsapp icon-xing icon-youtube icon-jobs icon-heart icon-heart2 aris-express bpm-glossary help-intro help-design Process_Mining_Icon help-publishing help-administration help-dashboarding help-archive help-risk icon-knowledge icon-question icon-events icon-message icon-more icon-pencil forum-icon icon-lock