umlimator 0.18.0 → 0.19.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 +23 -9
- package/lib/umlimator-all.js +2482 -190
- package/lib/umlimator.d.ts +22 -1
- package/lib/umlimator.js +173 -103
- package/lib/umlimator.schema.json +32 -14
- package/package.json +1 -1
|
@@ -419,7 +419,7 @@
|
|
|
419
419
|
}
|
|
420
420
|
},
|
|
421
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. The class diagram (uml.class, 0.18.0): uml.Class, uml.Interface, uml.Enumeration, uml.DataType, uml.PrimitiveType, uml.Package and uml.Comment; their members uml.Property, uml.Operation and uml.EnumerationLiteral.",
|
|
422
|
+
"description": "Schema version 2: the element's type, <notation>.<Name> (uml.Class). validate() checks typed fields only in a model with schemaVersion 2. The class diagram (uml.class, 0.18.0): uml.Class, uml.Interface, uml.Enumeration, uml.DataType, uml.PrimitiveType, uml.Package and uml.Comment; their members uml.Property, uml.Operation and uml.EnumerationLiteral. The object diagram (uml.object, 0.19.0): uml.InstanceSpecification and uml.Comment; an instance's members uml.Slot. The package diagram (uml.package, 0.19.0): uml.Package and the class diagram's classifiers, and uml.Comment.",
|
|
423
423
|
"examples": [
|
|
424
424
|
"uml.Class",
|
|
425
425
|
"uml.Interface",
|
|
@@ -427,14 +427,15 @@
|
|
|
427
427
|
"uml.DataType",
|
|
428
428
|
"uml.PrimitiveType",
|
|
429
429
|
"uml.Package",
|
|
430
|
-
"uml.Comment"
|
|
430
|
+
"uml.Comment",
|
|
431
|
+
"uml.InstanceSpecification"
|
|
431
432
|
]
|
|
432
433
|
},
|
|
433
434
|
"parent": {
|
|
434
|
-
"description": "Schema version 2: the element that owns it (a package, a composite state, a lane)."
|
|
435
|
+
"description": "Schema version 2: the element that owns it (a package, a composite state, a lane). From 0.19.0 a class, object or package view draws a shown package that owns something it shows as a box holding it."
|
|
435
436
|
},
|
|
436
437
|
"props": {
|
|
437
|
-
"description": "Schema version 2: the type's own properties. The class diagram (uml.class, 0.18.0): isAbstract and stereotypes on a classifier; on a member, the fields of its UML text (docs/conformance/uml-class.md).",
|
|
438
|
+
"description": "Schema version 2: the type's own properties. The class diagram (uml.class, 0.18.0): isAbstract and stereotypes on a classifier; on a member, the fields of its UML text (docs/conformance/uml-class.md). The object diagram (uml.object, 0.19.0): an instance's classifier and stereotypes; a slot's value (docs/conformance/uml-object.md).",
|
|
438
439
|
"anyOf": [
|
|
439
440
|
{
|
|
440
441
|
"type": "object",
|
|
@@ -444,6 +445,9 @@
|
|
|
444
445
|
},
|
|
445
446
|
"stereotypes": {
|
|
446
447
|
"description": "Any UML element: names drawn «in guillemets», as text (['entity'])."
|
|
448
|
+
},
|
|
449
|
+
"classifier": {
|
|
450
|
+
"description": "uml.InstanceSpecification: the name (or qualified name, sales::Order) of the classifier it is an instance of, as text; drawn name : Classifier, underlined."
|
|
447
451
|
}
|
|
448
452
|
}
|
|
449
453
|
},
|
|
@@ -451,7 +455,7 @@
|
|
|
451
455
|
]
|
|
452
456
|
},
|
|
453
457
|
"members": {
|
|
454
|
-
"description": "Schema version 2: owned parts, in display order (attributes, ports, regions, lanes), each a typed element. The class diagram (uml.class, 0.18.0): a classifier's attributes (uml.Property) and operations (uml.Operation), an enumeration's literals (uml.EnumerationLiteral).",
|
|
458
|
+
"description": "Schema version 2: owned parts, in display order (attributes, ports, regions, lanes), each a typed element. The class diagram (uml.class, 0.18.0): a classifier's attributes (uml.Property) and operations (uml.Operation), an enumeration's literals (uml.EnumerationLiteral). The object diagram (uml.object, 0.19.0): an instance's slots (uml.Slot), each a feature = value row.",
|
|
455
459
|
"anyOf": [
|
|
456
460
|
{
|
|
457
461
|
"type": "array",
|
|
@@ -465,10 +469,10 @@
|
|
|
465
469
|
"description": "Unique among every node, edge and member of the model."
|
|
466
470
|
},
|
|
467
471
|
"type": {
|
|
468
|
-
"description": "uml.Property, uml.Operation or uml.EnumerationLiteral in a class diagram."
|
|
472
|
+
"description": "uml.Property, uml.Operation or uml.EnumerationLiteral in a class diagram; uml.Slot in an object diagram."
|
|
469
473
|
},
|
|
470
474
|
"label": {
|
|
471
|
-
"description": "The member's name; the rest of its UML text is in props."
|
|
475
|
+
"description": "The member's name (a slot's: the feature it gives a value); the rest of its UML text is in props."
|
|
472
476
|
},
|
|
473
477
|
"props": {
|
|
474
478
|
"description": "The member's UML text as fields: + {static} /total: Money [1] = 0.",
|
|
@@ -505,6 +509,9 @@
|
|
|
505
509
|
},
|
|
506
510
|
"returnType": {
|
|
507
511
|
"description": "uml.Operation: its return type, as text."
|
|
512
|
+
},
|
|
513
|
+
"value": {
|
|
514
|
+
"description": "uml.Slot: its value, as text (34.00 EUR); left out, the slot is drawn by its feature's name."
|
|
508
515
|
}
|
|
509
516
|
}
|
|
510
517
|
},
|
|
@@ -807,26 +814,29 @@
|
|
|
807
814
|
"description": "When the line is used."
|
|
808
815
|
},
|
|
809
816
|
"type": {
|
|
810
|
-
"description": "Schema version 2: the element's type, <notation>.<Name> (uml.Class). The class diagram (uml.class, 0.18.0): uml.Association, uml.Generalization (from the specific to the general), uml.InterfaceRealization (to the interface), uml.Dependency (from the client) and uml.CommentLink (from the comment).",
|
|
817
|
+
"description": "Schema version 2: the element's type, <notation>.<Name> (uml.Class). The class diagram (uml.class, 0.18.0): uml.Association, uml.Generalization (from the specific to the general), uml.InterfaceRealization (to the interface), uml.Dependency (from the client) and uml.CommentLink (from the comment). The object diagram (uml.object, 0.19.0): uml.Link and uml.CommentLink. The package diagram (uml.package, 0.19.0): uml.PackageImport and uml.PackageMerge (from the importing or merging package), uml.Dependency and uml.CommentLink.",
|
|
811
818
|
"examples": [
|
|
812
819
|
"uml.Association",
|
|
813
820
|
"uml.Generalization",
|
|
814
821
|
"uml.InterfaceRealization",
|
|
815
822
|
"uml.Dependency",
|
|
816
|
-
"uml.CommentLink"
|
|
823
|
+
"uml.CommentLink",
|
|
824
|
+
"uml.Link",
|
|
825
|
+
"uml.PackageImport",
|
|
826
|
+
"uml.PackageMerge"
|
|
817
827
|
]
|
|
818
828
|
},
|
|
819
829
|
"parent": {
|
|
820
830
|
"description": "Schema version 2: the element that owns it (a package, a composite state, a lane)."
|
|
821
831
|
},
|
|
822
832
|
"props": {
|
|
823
|
-
"description": "Schema version 2: the type's own properties. The class diagram (uml.class, 0.18.0): an association's ends, and stereotypes on any line («use» on a dependency).",
|
|
833
|
+
"description": "Schema version 2: the type's own properties. The class diagram (uml.class, 0.18.0): an association's ends, and stereotypes on any line («use» on a dependency). The object diagram (uml.object, 0.19.0): a link's association and the roles at its ends. The package diagram (uml.package, 0.19.0): a package import's visibility.",
|
|
824
834
|
"anyOf": [
|
|
825
835
|
{
|
|
826
836
|
"type": "object",
|
|
827
837
|
"properties": {
|
|
828
838
|
"ends": {
|
|
829
|
-
"description": "uml.Association: { from, to }, each end's role, multiplicity, aggregation and navigability.",
|
|
839
|
+
"description": "uml.Association: { from, to }, each end's role, multiplicity, aggregation and navigability. uml.Link: each end's role.",
|
|
830
840
|
"anyOf": [
|
|
831
841
|
{
|
|
832
842
|
"type": "object",
|
|
@@ -884,6 +894,12 @@
|
|
|
884
894
|
},
|
|
885
895
|
"stereotypes": {
|
|
886
896
|
"description": "Any UML element: names drawn «in guillemets», as text (['entity'])."
|
|
897
|
+
},
|
|
898
|
+
"association": {
|
|
899
|
+
"description": "uml.Link: the name of the association it is an instance of, as text; drawn on the line when the link has no label."
|
|
900
|
+
},
|
|
901
|
+
"visibility": {
|
|
902
|
+
"description": "uml.PackageImport: public (the default, drawn «import») or private (drawn «access»)."
|
|
887
903
|
}
|
|
888
904
|
}
|
|
889
905
|
},
|
|
@@ -1130,13 +1146,15 @@
|
|
|
1130
1146
|
"description": "Guess a line's kind from its label's words when its edges name none (render() and layout(); the standalone page always does)."
|
|
1131
1147
|
},
|
|
1132
1148
|
"diagram": {
|
|
1133
|
-
"description": "Schema version 2: the view's diagram type; without it the view is a map. uml.class draws a class diagram (0.18.0, lib/umlimator-all.js); a type this release does not draw is drawn as plain cards, with a warning.",
|
|
1149
|
+
"description": "Schema version 2: the view's diagram type; without it the view is a map. uml.class draws a class diagram (0.18.0, lib/umlimator-all.js), uml.object an object diagram and uml.package a package diagram (0.19.0); a type this release does not draw is drawn as plain cards, with a warning.",
|
|
1134
1150
|
"examples": [
|
|
1135
|
-
"uml.class"
|
|
1151
|
+
"uml.class",
|
|
1152
|
+
"uml.object",
|
|
1153
|
+
"uml.package"
|
|
1136
1154
|
]
|
|
1137
1155
|
},
|
|
1138
1156
|
"subject": {
|
|
1139
|
-
"description": "Schema version 2: the element this diagram is the inside of."
|
|
1157
|
+
"description": "Schema version 2: the element this diagram is the inside of. In a class, object or package view, the package names are qualified from (sales::Order without sales:: in a view of sales); not drawn unless the view lists it."
|
|
1140
1158
|
},
|
|
1141
1159
|
"direction": {
|
|
1142
1160
|
"description": "Schema version 2: a typed view's layout direction (default right). A map stays left to right."
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "umlimator",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.19.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/",
|