This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* HeatMap by Property Value | |
* | |
* Requires jArchi - https://www.archimatetool.com/blog/2018/07/02/jarchi/ | |
* | |
* Version 1: Set colour to red, amber or green based on value of given property. | |
* Version 2: Pull out all Properties used in Elements in view, present all possible values of that Property to assign RAG colours | |
* Version 3: Error handling and key generation | |
* Version 4: Updated for dynamic colour selection and support for more than 3 colours | |
* Version 5: If there are less than 5 values, buttons are used instead of the menu. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
The goal is that a user creates a pattern on a view. Based on that pattern a SQL query is created to analyse the entire model for that view. | |
The model must be in a database created with herve database plugin (Link) This is very powerfull to analyse the model using SQL and by further extention BI tools like PowerBI | |
Check https://gevaertw.wordpress.com/generating-sql-queries-for-the-archi-database for more info | |
*/ | |
// | |
//-------------------------- Script Settings -------------------------------------------------------------- | |
// to set language comment or uncomment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Author: Rob Kamp | |
// Requires: jArchi - https://www.archimatetool.com/blog/2018/07/02/jarchi/ | |
// Purpose: Color the selected elements with web safe colors | |
// Date: 2019-11-20 | |
// Version 1.1 | |
// Change: changed the title to add the #jArchi tag | |
console.log("Start: Color the selected elemets"); | |
// Web safe colors |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Merge multiple concepts (and delete others) | |
// | |
// Requires jArchi - https://www.archimatetool.com/blog/2018/07/02/jarchi/ | |
// | |
// This script merges multiple concepts (and delete others) | |
// | |
// Version 1.1 (2020/01/20) Add an option to keep only the content of the "target" concept | |
// Version 1.0 (2019/11/12) First version published | |
// | |
// Known limitation: works only on elements, not relationships |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Delete unused elements and relationships | |
// | |
// Requires jArchi - https://www.archimatetool.com/blog/2018/07/02/jarchi/ | |
// | |
// This script will delete any element or relationship not used in at least one view | |
// | |
// (c) 2020 Jean-Baptiste Sarrodie | |
var response = window.confirm("This script will delete any element or relationship not used in at least one view. Continue?"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Author: Yves Zoundi | |
// Requires: jArchi - https://www.archimatetool.com/blog/2018/07/02/jarchi/ | |
// Purpose: Align to lowest, spread the selected elements horizontally or vertically | |
// Date: 2024-05-10 | |
// Version 0.0.1 | |
// Change: Initial version based on similar previous jArchi scripts on GitHub | |
console.clear() | |
console.show() | |
console.log("START: AlignSpread") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* ArchiMate Model export as OWL2 file | |
* Author: Nicolas Figay 2021 | |
* Version: 0.1 | |
* This script creates a vis.js graph | |
*/ | |
console.log("Export to Ontology Web Language"); | |
load(__DIR__ + "lib/archimate.js"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/ | |
# API Design Patterns And Use Cases | |
This document lists various useful patterns for API design. We encourage API developers to consider the following patterns as a guide while designing APIs for services. | |
### Document Semantics, Formatting, and Naming | |
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in [RFC 2119](https://www.ietf.org/rfc/rfc2119.txt). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"id": "567d64ec.2661bc", | |
"label": "Livingroom", | |
"nodes": [ | |
{ | |
"id": "98b02e48.6b436", | |
"type": "switch", | |
"z": "567d64ec.2661bc", | |
"name": "Livingroom", | |
"property": "topic", |
NewerOlder