Skip to content

Instantly share code, notes, and snippets.

@risc12
risc12 / findOrCreate.ajs
Created June 18, 2025 11:02
Find or Create Archi Elements
/**
* Archi Script: Find or Create Element
*
* This script provides a user interface for finding existing elements
* or creating new elements in Archi diagrams. It uses a custom SelectionPalette
* to display and filter elements, and allows for quick element creation and placement.
*
* Element will be placed at the location of the cursor.
*
* Personally I have mapped this to cmd+p.
@risc12
risc12 / index.html
Created October 11, 2019 08:15
xxxGmPO
<div class="goals">
<div class="goal goal-red" data-goal="red" ></div>
<div class="goal goal-green" data-goal="green"></div>
<div class="goal goal-blue" data-goal="blue"></div>
<div class="goal goal-yellow" data-goal="yellow"></div>
</div>
<div class="start" onClick="start()">START</div>
<h1 id="score"></h1>