@markdy/renderer-dom 1.0.30 → 1.1.0
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 +14 -6
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -50,12 +50,20 @@ import { createDiagram } from "@markdy/renderer-dom";
|
|
|
50
50
|
const diagram = createDiagram({
|
|
51
51
|
container: document.getElementById("scene")!,
|
|
52
52
|
code: `
|
|
53
|
-
scene theme=paper
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
53
|
+
scene "Cache-Aside Architecture" theme=paper
|
|
54
|
+
layout LR
|
|
55
|
+
|
|
56
|
+
browser Client "Web Client"
|
|
57
|
+
gateway Gateway "API Gateway"
|
|
58
|
+
service Shortener "URL Service"
|
|
59
|
+
cache Redis "Redis Cluster"
|
|
60
|
+
|
|
61
|
+
beat hit:
|
|
62
|
+
show $nodes stagger=60ms
|
|
63
|
+
Client -> Gateway "GET /x9" -> Shortener "resolve"
|
|
64
|
+
Shortener -> Redis "GET slug:x9"
|
|
65
|
+
Shortener <- Redis "200 Target URL"
|
|
66
|
+
Client <- Gateway "301 Redirect"
|
|
59
67
|
`,
|
|
60
68
|
autoplay: true,
|
|
61
69
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@markdy/renderer-dom",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "Browser renderer for diagram-native animated MarkdyScript architecture diagrams, built on the Web Animations API.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -46,14 +46,14 @@
|
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"html2canvas": "^1.4.1",
|
|
49
|
-
"@markdy/core": "1.0
|
|
49
|
+
"@markdy/core": "1.1.0"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"jsdom": "^29.1.1",
|
|
53
53
|
"tsup": "^8.5.1",
|
|
54
54
|
"typescript": "^5.9.3",
|
|
55
55
|
"vitest": "^4.1.7",
|
|
56
|
-
"@markdy/stdlib-systems": "1.0
|
|
56
|
+
"@markdy/stdlib-systems": "1.1.0"
|
|
57
57
|
},
|
|
58
58
|
"scripts": {
|
|
59
59
|
"build": "tsup",
|