umlimator 0.16.1 → 0.17.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 +10 -4
- package/THIRD_PARTY_NOTICES.md +1 -1
- package/lib/umlimator-all.js +5917 -0
- package/lib/umlimator.d.ts +40 -0
- package/lib/umlimator.js +4608 -3909
- package/lib/umlimator.schema.json +45 -0
- package/package.json +3 -2
|
@@ -16,6 +16,9 @@
|
|
|
16
16
|
"type": "string",
|
|
17
17
|
"description": "The map's title."
|
|
18
18
|
},
|
|
19
|
+
"schemaVersion": {
|
|
20
|
+
"description": "1 (or none): a map, read as always. 2: it may hold typed elements and typed views (docs/diagrams/model.md). A newer version is an error (0.17.0)."
|
|
21
|
+
},
|
|
19
22
|
"root": {
|
|
20
23
|
"type": "string",
|
|
21
24
|
"description": "The view shown first (default: the view with no parent)."
|
|
@@ -414,6 +417,18 @@
|
|
|
414
417
|
}
|
|
415
418
|
}
|
|
416
419
|
}
|
|
420
|
+
},
|
|
421
|
+
"type": {
|
|
422
|
+
"description": "Schema version 2: the element's type, <notation>.<Name> (uml.Class). validate() checks typed fields only in a model with schemaVersion 2."
|
|
423
|
+
},
|
|
424
|
+
"parent": {
|
|
425
|
+
"description": "Schema version 2: the element that owns it (a package, a composite state, a lane)."
|
|
426
|
+
},
|
|
427
|
+
"props": {
|
|
428
|
+
"description": "Schema version 2: the type's own properties."
|
|
429
|
+
},
|
|
430
|
+
"members": {
|
|
431
|
+
"description": "Schema version 2: owned parts, in display order (attributes, ports, regions, lanes), each a typed element."
|
|
417
432
|
}
|
|
418
433
|
}
|
|
419
434
|
},
|
|
@@ -700,6 +715,15 @@
|
|
|
700
715
|
"when": {
|
|
701
716
|
"type": "string",
|
|
702
717
|
"description": "When the line is used."
|
|
718
|
+
},
|
|
719
|
+
"type": {
|
|
720
|
+
"description": "Schema version 2: the element's type, <notation>.<Name> (uml.Class)."
|
|
721
|
+
},
|
|
722
|
+
"parent": {
|
|
723
|
+
"description": "Schema version 2: the element that owns it (a package, a composite state, a lane)."
|
|
724
|
+
},
|
|
725
|
+
"props": {
|
|
726
|
+
"description": "Schema version 2: the type's own properties."
|
|
703
727
|
}
|
|
704
728
|
}
|
|
705
729
|
},
|
|
@@ -939,6 +963,27 @@
|
|
|
939
963
|
"kindsFromLabels": {
|
|
940
964
|
"type": "boolean",
|
|
941
965
|
"description": "Guess a line's kind from its label's words when its edges name none (render() and layout(); the standalone page always does)."
|
|
966
|
+
},
|
|
967
|
+
"diagram": {
|
|
968
|
+
"description": "Schema version 2: the view's diagram type (uml.class); without it the view is a map. Not drawn yet (0.17.0)."
|
|
969
|
+
},
|
|
970
|
+
"subject": {
|
|
971
|
+
"description": "Schema version 2: the element this diagram is the inside of."
|
|
972
|
+
},
|
|
973
|
+
"direction": {
|
|
974
|
+
"description": "Schema version 2: a typed view's layout direction (default right). A map stays left to right."
|
|
975
|
+
},
|
|
976
|
+
"notation": {
|
|
977
|
+
"description": "Schema version 2: a skin of the diagram type (crowsfoot for er)."
|
|
978
|
+
},
|
|
979
|
+
"present": {
|
|
980
|
+
"description": "Schema version 2: what the layout cannot derive, per element: collapsed compartments, rows shown before +n more."
|
|
981
|
+
},
|
|
982
|
+
"fragments": {
|
|
983
|
+
"description": "Schema version 2: a sequence view's combined fragments and interaction uses."
|
|
984
|
+
},
|
|
985
|
+
"timeline": {
|
|
986
|
+
"description": "Schema version 2: a timing view's unit, changes and constraints."
|
|
942
987
|
}
|
|
943
988
|
}
|
|
944
989
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "umlimator",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.17.0",
|
|
4
4
|
"description": "Embeddable, layered architecture maps: layout, orthogonal routing and an interactive canvas in one ES module.",
|
|
5
5
|
"keywords": ["architecture", "diagram", "c4", "map", "svg", "layout", "orthogonal-routing", "drill-down"],
|
|
6
6
|
"homepage": "https://zintaen.github.io/umlimator/",
|
|
@@ -9,8 +9,9 @@
|
|
|
9
9
|
"license": "MIT",
|
|
10
10
|
"type": "module",
|
|
11
11
|
"exports": { ".": { "types": "./lib/umlimator.d.ts", "default": "./lib/umlimator.js" }, "./theme.css": "./lib/umlimator-theme.css", "./schema.json": "./lib/umlimator.schema.json",
|
|
12
|
+
"./all": { "types": "./lib/umlimator.d.ts", "default": "./lib/umlimator-all.js" },
|
|
12
13
|
"./element": "./lib/umlimator-element.js", "./markdown-it": "./lib/umlimator-markdown-it.js", "./remark": "./lib/umlimator-remark.js" },
|
|
13
14
|
"files": ["lib/", "LICENSE", "THIRD_PARTY_NOTICES.md"],
|
|
14
|
-
"scripts": { "test": "node --test" },
|
|
15
|
+
"scripts": { "test": "node --test", "build": "node tools/build.mjs" },
|
|
15
16
|
"engines": { "node": ">=18" }
|
|
16
17
|
}
|