This file contains 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
/* | |
Script: Reverse Access | |
A jArchi script for use on an Archi repository | |
Purpose: Reverse all selected access relationships Access Type direction (e.g. read -> write / write -> read) | |
Useful as the default access type for an access relationship is 'write'. This allows several to be reversed. | |
Author: Richard Heward - Tame Blue Lion | |
Date: 28-Feb-2019 |
This file contains 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
/* | |
Sourced: https://gist.github.com/rich-biker/9a3c86c5a576ce0d8639856f3ee81651 | |
Script: Documentation Generation | |
Purpose: To generate output based on a driving view | |
Author: Richard Heward - Tame Blue Lion Ltd | |
This generates a markdown file with the embedded images and text based upon a driving view in Archi of groups that trigger each other and embedded views. | |
See my blog for a more detailed explaination. https://www.tamebluelion.co.uk/blog/archi-documentation |
This file contains 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
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * | |
Script Name: Quality Check - UX Relations | |
Script Description: | |
A jArchi script for use on Archi tool models. | |
Using a specific view called ConceptDefinition to represent a cut down version of the full ArchiMate model, | |
check all the model relationships to flag up any unexpected ones. |
This file contains 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
// Load the Archi CSV export elements as labeled nodes | |
using periodic commit | |
load csv with headers from "file:/elements.csv" as e | |
call apoc.create.node([e.Type], {name: e.Name, doc: e.Documentation, uid: e.ID}) | |
yield node | |
return count(*); | |
// Create the uid indexes for my main objects | |
create index on :ApplicationComponent(uid); | |
create index on :ApplicationFunction(uid); |