Skip to content

ArchimateTool jArchi script library

Notifications You must be signed in to change notification settings

rchevallier/jarchi-lib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jarchi-lib

Collection of jArchi scripts either collected on the net (and sometimes extended), or developed by myself, to help with Archimate usage.

The license of this work is APACHE License 2.0, as described in LICENSE-2.0 for my own work.

Collected scripts are respective copyright and license by the original author.

How to use

Prerequisites

Tested with Archi 4.9, 4.10 and 5.0 and latest jArchi plugin (v1.3.1, v1.4.0) jArchi MUST use the GraalVM javascript interpreter (4.x versions).

Installation

Just copy the necessary .ajs and associated .js scripts/libraries to your own jarchi __SCRIPT_DIR__ or clone this project and point to it.

Nota Bene: Many scripts are using the common utilities library scripts/lib/misc.js

Noteworthy

Custom organic grown developed or adapted by yours truly, without any ChatGpt inside :-)

For development, allow code completion in VSCode for Archimate jArchi api. To be used in conjunction with jsconfig.json.

A property heatmap Wizard, with either a discrete categorical color scale or a continuous (gradient) numeric color scale. And helper scripts to reapply the color scheme previously defined by the wizard on a view or all views of a model.

See User's Guide for details and installation.

Modified extended version of the script of David Girard, create the view legend for each type of element used in the view. The specialization is taken into account only if there is a custom icon associated.

The legend item description comes from the description of a associated template element of same type (which name is .legend.<type>[|<specialization>]) and so are reused between legends in the same model.