archyne 0.3.0-alpha.1 → 0.3.1-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +26 -10
- package/THIRD-PARTY-NOTICES.md +309 -309
- package/dist/assets/{abnfDiagram-N423BO3Z-DIXsDC-F.js → abnfDiagram-N423BO3Z-4pyYBaTX.js} +1 -1
- package/dist/assets/{arc-Dj16AHPP.js → arc-DqyZOhUa.js} +1 -1
- package/dist/assets/{architectureDiagram-T3A2C74G-BVAWUfK9.js → architectureDiagram-T3A2C74G-DIjgv-NI.js} +1 -1
- package/dist/assets/{blockDiagram-VBNYF7ZC-DWGHJV3z.js → blockDiagram-VBNYF7ZC-DAj519m0.js} +1 -1
- package/dist/assets/{c4Diagram-5PPSVZJV-BQxBb-eE.js → c4Diagram-5PPSVZJV-BGAUz5os.js} +1 -1
- package/dist/assets/channel-CZ56rhQ3.js +1 -0
- package/dist/assets/{chunk-2GRJ4B5K-DrxYcIKi.js → chunk-2GRJ4B5K-9riOkF0z.js} +1 -1
- package/dist/assets/{chunk-2Q5K7J3B-qIYVNzfi.js → chunk-2Q5K7J3B-C8-v72lU.js} +1 -1
- package/dist/assets/{chunk-5RXB4S5H-BSkyDD2G.js → chunk-5RXB4S5H-VrpO2713.js} +1 -1
- package/dist/assets/{chunk-5VM5RSS4-Doshgyjn.js → chunk-5VM5RSS4-DJvpfjgN.js} +1 -1
- package/dist/assets/{chunk-6Q2QTUOP-DY_ARIfs.js → chunk-6Q2QTUOP-sZF2zMfA.js} +1 -1
- package/dist/assets/{chunk-GF5L2VYU-wHUCmL_g.js → chunk-GF5L2VYU-B2O8ZtG_.js} +1 -1
- package/dist/assets/{chunk-JWPE2WC7-BWaI0jmn.js → chunk-JWPE2WC7-v5qnwWP9.js} +1 -1
- package/dist/assets/{chunk-KBJHAD2P-JqxcXows.js → chunk-KBJHAD2P-BUG-lI6Q.js} +1 -1
- package/dist/assets/{chunk-RYQCIY6F-Cw5xJ0a1.js → chunk-RYQCIY6F-UUOY90Sc.js} +1 -1
- package/dist/assets/{chunk-XXDRQBXY-DTNNhjpS.js → chunk-XXDRQBXY-BvKn-RUn.js} +1 -1
- package/dist/assets/classDiagram-JCYQIIEL-BDSIBEGS.js +1 -0
- package/dist/assets/classDiagram-v2-OCEON4UE-BDSIBEGS.js +1 -0
- package/dist/assets/{cose-bilkent-JH36ORCC-COsgTVVE.js → cose-bilkent-JH36ORCC-DTsJ3Tik.js} +1 -1
- package/dist/assets/{cynefin-VYW2F7L2-Cro8QprN.js → cynefin-VYW2F7L2-Bme8RBBm.js} +1 -1
- package/dist/assets/{cynefinDiagram-MW4NZA55-Otk8wE3X.js → cynefinDiagram-MW4NZA55-dvmfcWHC.js} +1 -1
- package/dist/assets/{dagre-VZM6K2ZE-CvTaqqHa.js → dagre-VZM6K2ZE-BsiEOoIC.js} +1 -1
- package/dist/assets/{diagram-7IWD3JNH-BNe8ln_N.js → diagram-7IWD3JNH-CHR-dtEw.js} +1 -1
- package/dist/assets/{diagram-B4RE2ZJO-Brnd7Tv6.js → diagram-B4RE2ZJO-BzwbwtCE.js} +1 -1
- package/dist/assets/{diagram-LBJQPF4R-CrEH36Uj.js → diagram-LBJQPF4R-CTzFBrtX.js} +1 -1
- package/dist/assets/{diagram-Q27KOJAE-CBK1TZN-.js → diagram-Q27KOJAE-B2UEx922.js} +1 -1
- package/dist/assets/{diagram-UB23O5K3-JUQ78M73.js → diagram-UB23O5K3-Hbc-yQWH.js} +1 -1
- package/dist/assets/{ebnfDiagram-BXEA7PRR-BdUTSTYX.js → ebnfDiagram-BXEA7PRR-BME5TMIm.js} +1 -1
- package/dist/assets/{elk-api-CnmYJVU6.js → elk-api-C7W47lSN.js} +1 -1
- package/dist/assets/{elk.bundled-C1NX_935.js → elk.bundled-B1dwyv4e.js} +1 -1
- package/dist/assets/{erDiagram-JOGREHBK-D7fhJig7.js → erDiagram-JOGREHBK-CRNN9X8X.js} +1 -1
- package/dist/assets/{flowDiagram-UKHOOZJN-BUuw8Sra.js → flowDiagram-UKHOOZJN-CmMzCc2C.js} +1 -1
- package/dist/assets/{fromDot-m2FS_XBS.js → fromDot-CzRtepTT.js} +1 -1
- package/dist/assets/{fromDrawio-d2P5s3hv.js → fromDrawio-gSnkX-tI.js} +1 -1
- package/dist/assets/{fromExcalidraw-gkO8wk9U.js → fromExcalidraw-D3y-jRyG.js} +1 -1
- package/dist/assets/{fromPlantuml-DC6Ln4Kt.js → fromPlantuml-Dtd5lHle.js} +1 -1
- package/dist/assets/{fromSql-fjmDwmgj.js → fromSql-DRiVkm4z.js} +1 -1
- package/dist/assets/{fromVsdx-BNwPKIKU.js → fromVsdx-BX1MgjJj.js} +1 -1
- package/dist/assets/{ganttDiagram-PKOTCBZU-0pMER0ej.js → ganttDiagram-PKOTCBZU-CZ2Kw37G.js} +1 -1
- package/dist/assets/{gitGraphDiagram-DS77QQ5N-CdqG1WOl.js → gitGraphDiagram-DS77QQ5N-DlOq3Zfn.js} +1 -1
- package/dist/assets/{index-D2iswyef.js → index-8QNjiUCo.js} +63 -63
- package/dist/assets/index-Kkii5lY5.css +1 -0
- package/dist/assets/{infoDiagram-6WML65LV-DPqvV8rB.js → infoDiagram-6WML65LV-BnIs6w-Z.js} +1 -1
- package/dist/assets/{ishikawaDiagram-WSZJBQD7-CSPXAP3s.js → ishikawaDiagram-WSZJBQD7-D0Fonp-_.js} +1 -1
- package/dist/assets/{journeyDiagram-NVQOT4AX-DTHQtGFh.js → journeyDiagram-NVQOT4AX-D6T93Gjy.js} +1 -1
- package/dist/assets/{kanban-definition-27J2QSJJ-B0DJ3-Na.js → kanban-definition-27J2QSJJ-77g2fQBI.js} +1 -1
- package/dist/assets/{linear-B4AE5gzn.js → linear-D3VG5KqI.js} +1 -1
- package/dist/assets/{mermaid.core-cnu9Hu0H.js → mermaid.core-BJ8I5XuR.js} +4 -4
- package/dist/assets/{mindmap-definition-FAOFIHXS-qGpw5nKM.js → mindmap-definition-FAOFIHXS-DJHSfRX0.js} +1 -1
- package/dist/assets/{pegDiagram-VL7TDLO6-BGT3Nw2y.js → pegDiagram-VL7TDLO6-tJ_RKlAY.js} +1 -1
- package/dist/assets/{pieDiagram-7S7Q4E2Y-Bc8ghniT.js → pieDiagram-7S7Q4E2Y-DS4KhYZF.js} +1 -1
- package/dist/assets/{plantumlFamilies-DOJ5Zy3V.js → plantumlFamilies-C25pY0S3.js} +1 -1
- package/dist/assets/{quadrantDiagram-CIZ2JOQS-BtlM_DOc.js → quadrantDiagram-CIZ2JOQS-CRUD5ZCL.js} +1 -1
- package/dist/assets/{railroadDiagram-AXF67PYL-LYPvIKAL.js → railroadDiagram-AXF67PYL-HSv4pAnl.js} +1 -1
- package/dist/assets/{requirementDiagram-LRYGKXZP-BzJkmewZ.js → requirementDiagram-LRYGKXZP-CMPMrByx.js} +1 -1
- package/dist/assets/{sankeyDiagram-W5VNT64P-DETZ9w-u.js → sankeyDiagram-W5VNT64P-DXdnBQ2S.js} +1 -1
- package/dist/assets/{sequenceDiagram-SI44F4Z6-7KPCXxWm.js → sequenceDiagram-SI44F4Z6-ClYwQ-pe.js} +1 -1
- package/dist/assets/{sizeCapture-X5ZJPWSS-BM9d5oG-.js → sizeCapture-X5ZJPWSS-DsP_oGo9.js} +1 -1
- package/dist/assets/{stateDiagram-OKZ733FA-a_7Vxmm-.js → stateDiagram-OKZ733FA-DLRBTrRe.js} +1 -1
- package/dist/assets/stateDiagram-v2-UEYNNEHI-4OKtojNt.js +1 -0
- package/dist/assets/{swimlanes-SLNWSIFB-D3qzkF1P.js → swimlanes-SLNWSIFB-BAPCOVRH.js} +2 -2
- package/dist/assets/swimlanesDiagram-ULZ7WXOC-KQWQYXrW.js +8 -0
- package/dist/assets/{timeline-definition-Z64GVDOM-CZq_A4Q0.js → timeline-definition-Z64GVDOM-BTlEBBOx.js} +1 -1
- package/dist/assets/{vennDiagram-T6HMQDX7-CDFzI8sR.js → vennDiagram-T6HMQDX7-V2gZScrD.js} +1 -1
- package/dist/assets/{wardleyDiagram-T6FBY63Y-D5fktD2X.js → wardleyDiagram-T6FBY63Y-CRuHSPEB.js} +1 -1
- package/dist/assets/{xychartDiagram-ELKLHX3M-BSzrgaJ4.js → xychartDiagram-ELKLHX3M-CGkFYp8B.js} +1 -1
- package/dist/index.html +29 -2
- package/dist/preview.png +0 -0
- package/package.json +134 -133
- package/desktop/main.cjs +0 -378
- package/dist/assets/channel-Dqh6JL_k.js +0 -1
- package/dist/assets/classDiagram-JCYQIIEL-BSai74_L.js +0 -1
- package/dist/assets/classDiagram-v2-OCEON4UE-BSai74_L.js +0 -1
- package/dist/assets/index-iS7lCiZ-.css +0 -1
- package/dist/assets/stateDiagram-v2-UEYNNEHI-DQz4hTBY.js +0 -1
- package/dist/assets/swimlanesDiagram-ULZ7WXOC-CuRyTLM3.js +0 -8
package/README.md
CHANGED
|
@@ -9,8 +9,9 @@ A draw.io-style diagram editor with **two-way sync to Mermaid code**. Edit visua
|
|
|
9
9
|
other. Because the document _is_ standard Mermaid, LLMs can generate, read, and
|
|
10
10
|
modify your diagrams as plain text, and anything they produce opens on the canvas.
|
|
11
11
|
|
|
12
|
-
Runs entirely
|
|
13
|
-
|
|
12
|
+
Runs entirely on your own machine — in a browser, as a desktop app, or inside
|
|
13
|
+
VS Code. No server, no accounts, nothing leaves it. Self-host by serving the
|
|
14
|
+
`dist/` folder from any static file server.
|
|
14
15
|
|
|
15
16
|
<p align="center">
|
|
16
17
|
<a href="https://github.com/dariodd/archyne/actions/workflows/ci.yml"><img src="https://github.com/dariodd/archyne/actions/workflows/ci.yml/badge.svg" alt="CI"></a>
|
|
@@ -30,6 +31,18 @@ npx archyne # opens http://localhost:4173
|
|
|
30
31
|
npx archyne diagram.mmd # …with a diagram already loaded
|
|
31
32
|
```
|
|
32
33
|
|
|
34
|
+
Or inside the editor you already have open:
|
|
35
|
+
|
|
36
|
+
```sh
|
|
37
|
+
code --install-extension naxeris.archyne
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
Archyne registers as an optional editor for `.mmd`, so the file stays VS Code's
|
|
41
|
+
— its dirty dot, its undo, its save, its diff against `HEAD`. It is on the
|
|
42
|
+
[Marketplace](https://marketplace.visualstudio.com/items?itemName=naxeris.archyne)
|
|
43
|
+
and on [Open VSX](https://open-vsx.org/extension/naxeris/archyne), for
|
|
44
|
+
VSCodium, Cursor, Windsurf, Gitpod and Theia.
|
|
45
|
+
|
|
33
46
|
Desktop builds for Windows, macOS and Linux are attached to every
|
|
34
47
|
[release](https://github.com/dariodd/archyne/releases/latest). They are **not
|
|
35
48
|
yet code-signed** — Windows warns, macOS needs one `xattr` command — and each
|
|
@@ -44,7 +57,7 @@ entirely.
|
|
|
44
57
|
<tr>
|
|
45
58
|
<td width="50%">
|
|
46
59
|
<img src="docs/images/editor-architecture-dark.png" alt="An architecture diagram with vendor icons for Cloudflare, AWS, Node.js, Redis and Postgres, grouped inside a VPC" width="100%">
|
|
47
|
-
<p align="center"><em>Architecture diagrams with
|
|
60
|
+
<p align="center"><em>Architecture diagrams with 16 000+ searchable vendor icons</em></p>
|
|
48
61
|
</td>
|
|
49
62
|
<td width="50%">
|
|
50
63
|
<img src="docs/images/editor-sequence-dark.png" alt="A sequence diagram with participants, activations, a note and numbered messages" width="100%">
|
|
@@ -301,7 +314,9 @@ the other version.
|
|
|
301
314
|
|
|
302
315
|
## Current scope
|
|
303
316
|
|
|
304
|
-
|
|
317
|
+
Seven Mermaid diagram families, all with visual editing and two-way sync.
|
|
318
|
+
Anything else Mermaid can draw — gantt, pie, mindmap, timeline — opens
|
|
319
|
+
read-only, rendered rather than refused.
|
|
305
320
|
|
|
306
321
|
- **Flowcharts** — all 14 vertex shapes, all edge stroke/arrow types,
|
|
307
322
|
subgraphs as groups (create/dissolve from the toolbar), and full
|
|
@@ -317,7 +332,8 @@ Five Mermaid diagram families, all with visual editing and two-way sync:
|
|
|
317
332
|
dotted relations.
|
|
318
333
|
- **Sequence diagrams** — participants/actors as draggable columns with
|
|
319
334
|
lifelines (drag horizontally to reorder), messages as ordered horizontal
|
|
320
|
-
arrows with all eight operators;
|
|
335
|
+
arrows with all eight operators; drag a message by its grab strip to
|
|
336
|
+
reorder it, into or out of a block, or step it from the inspector. Notes and
|
|
321
337
|
loop/alt/opt blocks are created from the palette (drop them at a row),
|
|
322
338
|
renamed and deleted in place; par/critical/break blocks, activations, and
|
|
323
339
|
autonumber are rendered and fully preserved through any canvas edit.
|
|
@@ -326,8 +342,8 @@ Five Mermaid diagram families, all with visual editing and two-way sync:
|
|
|
326
342
|
architecture icons** are bundled (`azure:virtual-networks`, and the
|
|
327
343
|
catalogue codes other tools write resolve too), alongside the Iconify
|
|
328
344
|
`logos`, `devicon`, `carbon`, `tabler` and `simple-icons` collections:
|
|
329
|
-
16
|
|
330
|
-
connections with per-end arrows. A vendor's own set — Azure's, AWS's —
|
|
345
|
+
more than 16 000 icons, all searchable from the palette, nested groups for
|
|
346
|
+
VPCs/subnets, junctions, and side-anchored connections with per-end arrows. A vendor's own set — Azure's, AWS's —
|
|
331
347
|
can be **imported as SVGs**, from files or from a pasted link; the desktop
|
|
332
348
|
build takes a whole `.zip`. Any of Iconify's ~200 000 icons can be pulled in
|
|
333
349
|
the same way (`api.iconify.design/mdi/database.svg`). Imported icons are
|
|
@@ -386,7 +402,7 @@ names the five hosts that makes possible and nothing else — never
|
|
|
386
402
|
Untrusted diagram text is held by two independent layers — Mermaid's
|
|
387
403
|
sanitizer and the CSP — each verified separately in a real browser on every
|
|
388
404
|
pull request. Accessibility is checked the same way: `axe` reports no WCAG
|
|
389
|
-
2.2 AA violations across
|
|
405
|
+
2.2 AA violations across sixteen interface surfaces, in both themes.
|
|
390
406
|
|
|
391
407
|
Two things stated up front rather than discovered later: the desktop
|
|
392
408
|
installers are **not yet code-signed**, and the accessibility work is a
|
|
@@ -400,8 +416,8 @@ on request.
|
|
|
400
416
|
listed in [THIRD-PARTY-NOTICES.md](THIRD-PARTY-NOTICES.md); all are compatible
|
|
401
417
|
with MIT distribution (elkjs is EPL-2.0, consumed unmodified as a library;
|
|
402
418
|
the Iconify collections are CC0/MIT/Apache-2.0, with depicted logos remaining
|
|
403
|
-
their owners' trademarks). The full breakdown is also available in-app
|
|
404
|
-
|
|
419
|
+
their owners' trademarks). The full breakdown is also available in-app, under
|
|
420
|
+
**About Archyne** in the ⋯ menu.
|
|
405
421
|
|
|
406
422
|
**One bundled thing is not MIT.** The 636 Azure architecture icons in
|
|
407
423
|
`src/icons-azure.generated.json` are Microsoft's, shipped under
|