Skip to content

Instantly share code, notes, and snippets.

View archi-example.puml
@startuml Archi Usage
!include archi-seq.puml
title Archi Print Usage
' Define Elements
$businessActor("Architect","architect")
$applicationComponent("Archi","archi")
$applicationFunction("Update\nModel","update")
$applicationFunction("Print\nView","print")
$systemSoftware("Windows\nPrint\nService","windowsPrint")
@smileham
smileham / archi-seq.puml
Last active Sep 2, 2020
Common include for PlantUML scripts to define ArchiMate concepts
View archi-seq.puml
@startuml Common
' PlantUML ArchiMate Sequence Diagram template v4
' Changelog:
' v3 Updated for new PreProcessor
' v4 Function to Procedure
' Author: Steven Mileham (steven.mileham@gmail.com)
skinparam dpi 150
skinparam shadowing false
View Meta Model and Patterns-Export to CSV-relationship.csv
We can make this file beautiful and searchable if this error is corrected: It looks like row 8 should actually have 8 columns, instead of 5. in line 7.
Relationship ID,From Name,From Type,Relationship Type,To Name,To Type,Relationship Name,Relationship Documentation
611228f0-c06c-4ffc-9145-7f7091113cf4,[archi] jArchi Plugin,application-function,influence-relationship,Support Archi on Patreon,requirement,,
b03b0ef5-9085-4204-9cc0-b8456cca1d46,[archi] jArchi Plugin,application-function,Comprises,[archi] Export to CSV,application-function,,
5f24cdf4-66a6-4541-926e-2fcb7a08ce3c,jArchi Plugin <<Software>>,artifact,Realises,[archi] jArchi Plugin,application-function,,
937991e2-2221-4e8a-bf5b-a277d598678d,Documentation <<Folder>>,artifact,Comprises,Export to CSV.csv <<CSV>>,artifact,,
c334768f-c847-45cb-ab95-78c1bccc8966,Documentation <<Folder>>,artifact,Comprises,Export to CSV-relationship.csv <<CSV>>,artifact,,
5d8206f6-8ec3-409a-bf50-6db0e5fa59b7,[archi] Archi 4.3.3,application-component,Assigned to,[archi] jArchi Plugin,application-function,Plugin,
9c3dfe66-0b79-4da8-89d6-82111c8b5a8a,[archi] Archi 4.3.3,application-component,Serves/Used By,Develop Enterprise A
View Search by Properties.ajs
/*
* Search by Properties
*
* Requires jArchi - https://www.archimatetool.com/blog/2018/07/02/jarchi/
*
* Find all Archimate elements which match the properties of the selected element.
*
*
* Version 1: First release
* Version 2: Added layers to results
@smileham
smileham / Import from CSV.ajs
Last active Jul 18, 2020
Import from CSV #jarchi
View Import from CSV.ajs
/*
* 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
*
* (c) 2018 Steven Mileham
@smileham
smileham / Export to CSV.ajs
Last active Jun 6, 2020
Export to CSV #jarchi
View Export to CSV.ajs
/*
* Export To CSV
*
* Requires jArchi - https://www.archimatetool.com/blog/2018/07/02/jarchi/
* Requires PapaParse - https://www.papaparse.com/
* Works with Import from CSV script - https://gist.github.com/smileham/1e57a5946235e780dee5a824f664aa3d
*
* Version 1: Export to CSV
* Version 1.1: Avoid duplicate concepts exported from diagram
* Version 1.2: Fix missing properties
View Change Concept Type.ajs
/*
* Change Concept Type
*
* Requires jArchi - https://www.archimatetool.com/blog/2018/07/02/jarchi/
*
* Updated from original to prompt for types
*
* Version 1: First release
* Version 2: Error handling
*
@smileham
smileham / Export to Markdown.ajs
Last active Sep 17, 2020
Export an ArchiMate diagram to Markdown format. #jarchi
View Export to Markdown.ajs
/*
* Export View to Markdown
*
* Requires jArchi - https://www.archimatetool.com/blog/2018/07/02/jarchi/
*
* Markdown - https://www.markdownguide.org/
*
* Version 2: Updated to support Diagram Groups
* Version 2.1: Add check for Selected View
* Version 2.2: Change to regex, added date of export
You can’t perform that action at this time.