Skip to content

Instantly share code, notes, and snippets.

@timolaine
timolaine / mb-heatmap.ajs
Created February 8, 2022 13:14
#jarchi script to produce a heatmap out of an existing diagram according to a property and a colorizing function
// Given
// a diagram name
// an archimate element type
// a property
// a colorizing function
// Make a heatmap out of the diagram by colorizing the elements of type componenttype, according property values and the colorizing fuction
// Michel Bénard, 2018
//-------------------------
// get a diagram by name