Skip to content

Instantly share code, notes, and snippets.

smileham

Block or report user

Report or block smileham

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
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 May 14, 2019
Common include for PlantUML scripts to define ArchiMate concepts
View archi-seq.puml
@startuml Common
' PlantUML ArchiMate Sequence Diagram template v2.3
' Author: Steven Mileham (steven.mileham@gmail.com)
skinparam dpi 150
skinparam shadowing false
skinparam BoxPadding 10
skinparam defaultFontName "Arial"
skinparam participantBorderColor black
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
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
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 May 9, 2019
Export an ArchiMate diagram to Markdown format.
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.