archyne 0.3.0-alpha.1 → 0.3.2-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 +29 -10
- package/THIRD-PARTY-NOTICES.md +309 -309
- package/dist/assets/{abnfDiagram-N423BO3Z-DIXsDC-F.js → abnfDiagram-N423BO3Z-CWxCA29s.js} +1 -1
- package/dist/assets/{arc-Dj16AHPP.js → arc-BPhcgyOR.js} +1 -1
- package/dist/assets/{architectureDiagram-T3A2C74G-BVAWUfK9.js → architectureDiagram-T3A2C74G-DbJtNiJ8.js} +1 -1
- package/dist/assets/{blockDiagram-VBNYF7ZC-DWGHJV3z.js → blockDiagram-VBNYF7ZC-D14dxPQ6.js} +1 -1
- package/dist/assets/{c4Diagram-5PPSVZJV-BQxBb-eE.js → c4Diagram-5PPSVZJV-_Ru2AQyv.js} +1 -1
- package/dist/assets/channel-x2nnREdF.js +1 -0
- package/dist/assets/{chunk-2GRJ4B5K-DrxYcIKi.js → chunk-2GRJ4B5K-B45veiLl.js} +1 -1
- package/dist/assets/{chunk-2Q5K7J3B-qIYVNzfi.js → chunk-2Q5K7J3B-BYEJghF5.js} +1 -1
- package/dist/assets/{chunk-5RXB4S5H-BSkyDD2G.js → chunk-5RXB4S5H-D6PWk-Fh.js} +1 -1
- package/dist/assets/{chunk-5VM5RSS4-Doshgyjn.js → chunk-5VM5RSS4-DkT1fHDH.js} +1 -1
- package/dist/assets/{chunk-6Q2QTUOP-DY_ARIfs.js → chunk-6Q2QTUOP-DwN_ODU0.js} +1 -1
- package/dist/assets/{chunk-GF5L2VYU-wHUCmL_g.js → chunk-GF5L2VYU-CfLWnAFR.js} +1 -1
- package/dist/assets/{chunk-JWPE2WC7-BWaI0jmn.js → chunk-JWPE2WC7-Bvoco_OT.js} +1 -1
- package/dist/assets/{chunk-KBJHAD2P-JqxcXows.js → chunk-KBJHAD2P-Bl8ANVAT.js} +1 -1
- package/dist/assets/{chunk-RYQCIY6F-Cw5xJ0a1.js → chunk-RYQCIY6F-CUFEfSAp.js} +1 -1
- package/dist/assets/{chunk-XXDRQBXY-DTNNhjpS.js → chunk-XXDRQBXY-CqS46WpP.js} +1 -1
- package/dist/assets/classDiagram-JCYQIIEL-Dcqht9zY.js +1 -0
- package/dist/assets/classDiagram-v2-OCEON4UE-Dcqht9zY.js +1 -0
- package/dist/assets/{cose-bilkent-JH36ORCC-COsgTVVE.js → cose-bilkent-JH36ORCC-0fLdUP4n.js} +1 -1
- package/dist/assets/{cynefin-VYW2F7L2-Cro8QprN.js → cynefin-VYW2F7L2-CB-4Q2Uq.js} +1 -1
- package/dist/assets/{cynefinDiagram-MW4NZA55-Otk8wE3X.js → cynefinDiagram-MW4NZA55-m6YSI3Bh.js} +1 -1
- package/dist/assets/{dagre-VZM6K2ZE-CvTaqqHa.js → dagre-VZM6K2ZE-BsmbvCId.js} +1 -1
- package/dist/assets/{diagram-7IWD3JNH-BNe8ln_N.js → diagram-7IWD3JNH-iTWBScbD.js} +1 -1
- package/dist/assets/{diagram-B4RE2ZJO-Brnd7Tv6.js → diagram-B4RE2ZJO-DJ95aX4N.js} +1 -1
- package/dist/assets/{diagram-LBJQPF4R-CrEH36Uj.js → diagram-LBJQPF4R-D4V1ejJ0.js} +1 -1
- package/dist/assets/{diagram-Q27KOJAE-CBK1TZN-.js → diagram-Q27KOJAE-BJ2SnmJt.js} +1 -1
- package/dist/assets/{diagram-UB23O5K3-JUQ78M73.js → diagram-UB23O5K3-B33ky4tq.js} +1 -1
- package/dist/assets/{ebnfDiagram-BXEA7PRR-BdUTSTYX.js → ebnfDiagram-BXEA7PRR-B8YZxzzx.js} +1 -1
- package/dist/assets/{elk-api-CnmYJVU6.js → elk-api-BEoK8cSs.js} +1 -1
- package/dist/assets/{elk.bundled-C1NX_935.js → elk.bundled-g5J3chN5.js} +1 -1
- package/dist/assets/{erDiagram-JOGREHBK-D7fhJig7.js → erDiagram-JOGREHBK-B7RkeG0t.js} +1 -1
- package/dist/assets/{flowDiagram-UKHOOZJN-BUuw8Sra.js → flowDiagram-UKHOOZJN-Bhg1RufJ.js} +1 -1
- package/dist/assets/{fromDot-m2FS_XBS.js → fromDot-CQsAmWbW.js} +1 -1
- package/dist/assets/{fromDrawio-d2P5s3hv.js → fromDrawio-DEgkUjY8.js} +1 -1
- package/dist/assets/{fromExcalidraw-gkO8wk9U.js → fromExcalidraw-BzgOaI_g.js} +1 -1
- package/dist/assets/{fromPlantuml-DC6Ln4Kt.js → fromPlantuml-BXgnqEO6.js} +1 -1
- package/dist/assets/{fromSql-fjmDwmgj.js → fromSql-CgaUND0o.js} +1 -1
- package/dist/assets/{fromVsdx-BNwPKIKU.js → fromVsdx-_QnAzQCc.js} +1 -1
- package/dist/assets/{ganttDiagram-PKOTCBZU-0pMER0ej.js → ganttDiagram-PKOTCBZU-6q1OXMFs.js} +1 -1
- package/dist/assets/{gitGraphDiagram-DS77QQ5N-CdqG1WOl.js → gitGraphDiagram-DS77QQ5N-DBIluxD2.js} +1 -1
- package/dist/assets/{index-D2iswyef.js → index-D58D9MBA.js} +63 -63
- package/dist/assets/index-Kkii5lY5.css +1 -0
- package/dist/assets/{infoDiagram-6WML65LV-DPqvV8rB.js → infoDiagram-6WML65LV-BogiGFsC.js} +1 -1
- package/dist/assets/{ishikawaDiagram-WSZJBQD7-CSPXAP3s.js → ishikawaDiagram-WSZJBQD7-BnuS3rDr.js} +1 -1
- package/dist/assets/{journeyDiagram-NVQOT4AX-DTHQtGFh.js → journeyDiagram-NVQOT4AX-C1LbH3qg.js} +1 -1
- package/dist/assets/{kanban-definition-27J2QSJJ-B0DJ3-Na.js → kanban-definition-27J2QSJJ-CC4tpXS8.js} +1 -1
- package/dist/assets/{linear-B4AE5gzn.js → linear-nPRvbK9t.js} +1 -1
- package/dist/assets/{mermaid.core-cnu9Hu0H.js → mermaid.core-d3X_EolB.js} +4 -4
- package/dist/assets/{mindmap-definition-FAOFIHXS-qGpw5nKM.js → mindmap-definition-FAOFIHXS-BKw0CExu.js} +1 -1
- package/dist/assets/{pegDiagram-VL7TDLO6-BGT3Nw2y.js → pegDiagram-VL7TDLO6-C0crO6aC.js} +1 -1
- package/dist/assets/{pieDiagram-7S7Q4E2Y-Bc8ghniT.js → pieDiagram-7S7Q4E2Y-5YsXd83r.js} +1 -1
- package/dist/assets/{plantumlFamilies-DOJ5Zy3V.js → plantumlFamilies-BQWcuhsm.js} +1 -1
- package/dist/assets/{quadrantDiagram-CIZ2JOQS-BtlM_DOc.js → quadrantDiagram-CIZ2JOQS-BWRDIcFE.js} +1 -1
- package/dist/assets/{railroadDiagram-AXF67PYL-LYPvIKAL.js → railroadDiagram-AXF67PYL-BeJeN8NK.js} +1 -1
- package/dist/assets/{requirementDiagram-LRYGKXZP-BzJkmewZ.js → requirementDiagram-LRYGKXZP-lgxjjOkj.js} +1 -1
- package/dist/assets/{sankeyDiagram-W5VNT64P-DETZ9w-u.js → sankeyDiagram-W5VNT64P-BdDlQIjC.js} +1 -1
- package/dist/assets/{sequenceDiagram-SI44F4Z6-7KPCXxWm.js → sequenceDiagram-SI44F4Z6-CftqXzOB.js} +1 -1
- package/dist/assets/{sizeCapture-X5ZJPWSS-BM9d5oG-.js → sizeCapture-X5ZJPWSS-DqAD3Y1J.js} +1 -1
- package/dist/assets/{stateDiagram-OKZ733FA-a_7Vxmm-.js → stateDiagram-OKZ733FA-CsK1tZu_.js} +1 -1
- package/dist/assets/stateDiagram-v2-UEYNNEHI-DoKVKwvk.js +1 -0
- package/dist/assets/{swimlanes-SLNWSIFB-D3qzkF1P.js → swimlanes-SLNWSIFB-y49WYIGH.js} +2 -2
- package/dist/assets/swimlanesDiagram-ULZ7WXOC-DdYZRZ7q.js +8 -0
- package/dist/assets/{timeline-definition-Z64GVDOM-CZq_A4Q0.js → timeline-definition-Z64GVDOM-dsSDjxsB.js} +1 -1
- package/dist/assets/{vennDiagram-T6HMQDX7-CDFzI8sR.js → vennDiagram-T6HMQDX7-D5ubu60T.js} +1 -1
- package/dist/assets/{wardleyDiagram-T6FBY63Y-D5fktD2X.js → wardleyDiagram-T6FBY63Y-DqlVsICK.js} +1 -1
- package/dist/assets/{xychartDiagram-ELKLHX3M-BSzrgaJ4.js → xychartDiagram-ELKLHX3M-Z5y_JujJ.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,21 @@ 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`. A
|
|
42
|
+
` ```mermaid ` block inside Markdown gets an **Open on canvas** action above the
|
|
43
|
+
fence, which is where most Mermaid actually lives: the diagram is edited in
|
|
44
|
+
place, and the rest of the document is left alone. It is on the
|
|
45
|
+
[Marketplace](https://marketplace.visualstudio.com/items?itemName=naxeris.archyne)
|
|
46
|
+
and on [Open VSX](https://open-vsx.org/extension/naxeris/archyne), for
|
|
47
|
+
VSCodium, Cursor, Windsurf, Gitpod and Theia.
|
|
48
|
+
|
|
33
49
|
Desktop builds for Windows, macOS and Linux are attached to every
|
|
34
50
|
[release](https://github.com/dariodd/archyne/releases/latest). They are **not
|
|
35
51
|
yet code-signed** — Windows warns, macOS needs one `xattr` command — and each
|
|
@@ -44,7 +60,7 @@ entirely.
|
|
|
44
60
|
<tr>
|
|
45
61
|
<td width="50%">
|
|
46
62
|
<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
|
|
63
|
+
<p align="center"><em>Architecture diagrams with 16 000+ searchable vendor icons</em></p>
|
|
48
64
|
</td>
|
|
49
65
|
<td width="50%">
|
|
50
66
|
<img src="docs/images/editor-sequence-dark.png" alt="A sequence diagram with participants, activations, a note and numbered messages" width="100%">
|
|
@@ -301,7 +317,9 @@ the other version.
|
|
|
301
317
|
|
|
302
318
|
## Current scope
|
|
303
319
|
|
|
304
|
-
|
|
320
|
+
Seven Mermaid diagram families, all with visual editing and two-way sync.
|
|
321
|
+
Anything else Mermaid can draw — gantt, pie, mindmap, timeline — opens
|
|
322
|
+
read-only, rendered rather than refused.
|
|
305
323
|
|
|
306
324
|
- **Flowcharts** — all 14 vertex shapes, all edge stroke/arrow types,
|
|
307
325
|
subgraphs as groups (create/dissolve from the toolbar), and full
|
|
@@ -317,7 +335,8 @@ Five Mermaid diagram families, all with visual editing and two-way sync:
|
|
|
317
335
|
dotted relations.
|
|
318
336
|
- **Sequence diagrams** — participants/actors as draggable columns with
|
|
319
337
|
lifelines (drag horizontally to reorder), messages as ordered horizontal
|
|
320
|
-
arrows with all eight operators;
|
|
338
|
+
arrows with all eight operators; drag a message by its grab strip to
|
|
339
|
+
reorder it, into or out of a block, or step it from the inspector. Notes and
|
|
321
340
|
loop/alt/opt blocks are created from the palette (drop them at a row),
|
|
322
341
|
renamed and deleted in place; par/critical/break blocks, activations, and
|
|
323
342
|
autonumber are rendered and fully preserved through any canvas edit.
|
|
@@ -326,8 +345,8 @@ Five Mermaid diagram families, all with visual editing and two-way sync:
|
|
|
326
345
|
architecture icons** are bundled (`azure:virtual-networks`, and the
|
|
327
346
|
catalogue codes other tools write resolve too), alongside the Iconify
|
|
328
347
|
`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 —
|
|
348
|
+
more than 16 000 icons, all searchable from the palette, nested groups for
|
|
349
|
+
VPCs/subnets, junctions, and side-anchored connections with per-end arrows. A vendor's own set — Azure's, AWS's —
|
|
331
350
|
can be **imported as SVGs**, from files or from a pasted link; the desktop
|
|
332
351
|
build takes a whole `.zip`. Any of Iconify's ~200 000 icons can be pulled in
|
|
333
352
|
the same way (`api.iconify.design/mdi/database.svg`). Imported icons are
|
|
@@ -386,7 +405,7 @@ names the five hosts that makes possible and nothing else — never
|
|
|
386
405
|
Untrusted diagram text is held by two independent layers — Mermaid's
|
|
387
406
|
sanitizer and the CSP — each verified separately in a real browser on every
|
|
388
407
|
pull request. Accessibility is checked the same way: `axe` reports no WCAG
|
|
389
|
-
2.2 AA violations across
|
|
408
|
+
2.2 AA violations across sixteen interface surfaces, in both themes.
|
|
390
409
|
|
|
391
410
|
Two things stated up front rather than discovered later: the desktop
|
|
392
411
|
installers are **not yet code-signed**, and the accessibility work is a
|
|
@@ -400,8 +419,8 @@ on request.
|
|
|
400
419
|
listed in [THIRD-PARTY-NOTICES.md](THIRD-PARTY-NOTICES.md); all are compatible
|
|
401
420
|
with MIT distribution (elkjs is EPL-2.0, consumed unmodified as a library;
|
|
402
421
|
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
|
-
|
|
422
|
+
their owners' trademarks). The full breakdown is also available in-app, under
|
|
423
|
+
**About Archyne** in the ⋯ menu.
|
|
405
424
|
|
|
406
425
|
**One bundled thing is not MIT.** The 636 Azure architecture icons in
|
|
407
426
|
`src/icons-azure.generated.json` are Microsoft's, shipped under
|