Skip to content

Instantly share code, notes, and snippets.

View rich-biker's full-sized avatar

rich-biker

View GitHub Profile
@smileham
smileham / Import from CSV.ajs
Last active April 24, 2024 16:43
Import from CSV #jarchi
/*
* Import from CSV
*
* Requires jArchi - https://www.archimatetool.com/blog/2018/07/02/jarchi/
* Requires PapaParse - https://www.papaparse.com/
* Works with Export to CSV Script - https://gist.github.com/smileham/15c445b17a92bd6f5dc1508e573bcd8a
*
* Version 1: Import from CSV
* Version 1.1: Force character encoding to use UTF-8
* Version 2: Support for Specialization and creates "CSVImport-timestamp" view
@rich-biker
rich-biker / documentation.ajs
Last active September 20, 2024 04:14
Generate Markdown documentation from a driving view in Archi using jArchi scripting.
/*
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
@FrancoisCoudeville
FrancoisCoudeville / Step by step script examples - v0.1.ajs
Created May 26, 2021 10:48
jArchi Step by step Tutorial Beginner Guide script example creating, updating, navigating, deleting objects, relationship #jArchi
/****************************************
* Step by Step JArchi script examples *
* v0.1 *
* Francois Coudeville *
* May 2021 #jArchi *
* #Beginner #Guide #Tutorial #Example *
****************************************/
//---------
// 1 Utils
@fanievh
fanievh / Export Selected Folder to New Model.ajs
Last active April 25, 2024 14:13
Export Selected Folder in Source Model to New Target Model #jArchi
/*
* Export Selected Folder in Source Model to New Target Model
*
* https://gist.github.com/fanievh/4ec7d14247616846f3d16b5e22dc80a9
*
* This script copies a selected subset of a source model to a target model. The folder selected
* in the source model, will become the top level folder in the Views folder in the target model. Only
* elements, relationships, diagram objects, connections and images on any of the views in the selected
* folder in the source model, will be created in the target model.
*