umlimator 0.21.0 → 0.23.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.
@@ -411,7 +411,7 @@
411
411
  }
412
412
  },
413
413
  "type": {
414
- "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. The sequence and communication diagrams (uml.sequence, uml.communication, 0.20.0): uml.Lifeline. The use case diagram (uml.use-case, 0.21.0): uml.Actor, uml.UseCase, uml.Subject and uml.Comment; a use case's members uml.ExtensionPoint. The activity diagram (uml.activity, 0.21.0): uml.InitialNode, uml.ActivityFinalNode, uml.FlowFinalNode, uml.Action, uml.CallBehaviorAction, uml.SendSignalAction, uml.AcceptEventAction, uml.DecisionNode, uml.MergeNode, uml.ForkNode, uml.JoinNode, uml.ObjectNode, uml.DataStoreNode, uml.ActivityPartition and uml.Comment. The state machine diagram (uml.state-machine, 0.21.0): uml.State, uml.Pseudostate, uml.FinalState and uml.Comment; a state's members uml.Region and uml.InternalTransition. The interaction overview diagram (uml.interaction-overview, 0.21.0): the activity's control nodes, uml.InteractionUse, uml.Interaction (an inline interaction) and uml.Comment.",
414
+ "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. The sequence and communication diagrams (uml.sequence, uml.communication, 0.20.0): uml.Lifeline. The use case diagram (uml.use-case, 0.21.0): uml.Actor, uml.UseCase, uml.Subject and uml.Comment; a use case's members uml.ExtensionPoint. The activity diagram (uml.activity, 0.21.0): uml.InitialNode, uml.ActivityFinalNode, uml.FlowFinalNode, uml.Action, uml.CallBehaviorAction, uml.SendSignalAction, uml.AcceptEventAction, uml.DecisionNode, uml.MergeNode, uml.ForkNode, uml.JoinNode, uml.ObjectNode, uml.DataStoreNode, uml.ActivityPartition and uml.Comment. The state machine diagram (uml.state-machine, 0.21.0): uml.State, uml.Pseudostate, uml.FinalState and uml.Comment; a state's members uml.Region and uml.InternalTransition. The interaction overview diagram (uml.interaction-overview, 0.21.0): the activity's control nodes, uml.InteractionUse, uml.Interaction (an inline interaction) and uml.Comment. The component diagram (uml.component, 0.22.0): uml.Component, uml.Interface, uml.Artifact, uml.Package and uml.Comment; a component's (or class's) members uml.Port. The deployment diagram (uml.deployment, 0.22.0): uml.Node, uml.Device, uml.ExecutionEnvironment, uml.Artifact, uml.DeploymentSpecification, uml.Component and uml.Comment. The composite structure diagram (uml.composite-structure, 0.22.0): the view's subject (a uml.Class, uml.Component or uml.Collaboration), uml.Collaboration, uml.CollaborationUse and uml.Comment; the subject's members uml.Property (its parts) and uml.Port, a collaboration's uml.Property (its roles). The profile diagram (uml.profile, 0.23.0): uml.Profile, uml.Stereotype and uml.MetaclassReference (each owned by a profile), uml.Enumeration (a tag's type), uml.Package, uml.Comment and any element that applies a stereotype; a stereotype's members uml.Property (its tag definitions), an enumeration's uml.EnumerationLiteral. The timing diagram (uml.timing, 0.23.0): uml.Lifeline (its changes and constraints are in the view's timeline).",
415
415
  "examples": [
416
416
  "uml.Class",
417
417
  "uml.Interface",
@@ -432,23 +432,34 @@
432
432
  "uml.Pseudostate",
433
433
  "uml.FinalState",
434
434
  "uml.InteractionUse",
435
- "uml.Interaction"
435
+ "uml.Interaction",
436
+ "uml.Component",
437
+ "uml.Artifact",
438
+ "uml.Node",
439
+ "uml.Device",
440
+ "uml.ExecutionEnvironment",
441
+ "uml.DeploymentSpecification",
442
+ "uml.Collaboration",
443
+ "uml.CollaborationUse",
444
+ "uml.Profile",
445
+ "uml.Stereotype",
446
+ "uml.MetaclassReference"
436
447
  ]
437
448
  },
438
449
  "parent": {
439
- "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. A use case's: a subject or a package. An activity node's: its partition (lane); a partition's: the partition it is nested in. A substate's or pseudostate's: a state, or a region (a member) of one."
450
+ "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. A use case's: a subject or a package. An activity node's: its partition (lane); a partition's: the partition it is nested in. A substate's or pseudostate's: a state, or a region (a member) of one. A component's: a component (drawn nested) or a package. A node's, device's or execution environment's: one of the three (UML's nestedNode); an artifact's or deployment specification's: the target it is deployed on. A collaboration use's: the subject of its composite structure view (0.22.0). A stereotype's and a metaclass reference's: a profile; an enumeration's may be (0.23.0)."
440
451
  },
441
452
  "props": {
442
- "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). The sequence and communication diagrams (uml.sequence, uml.communication, 0.20.0): a lifeline's represents, and stereotypes (actor draws «actor» over its name). The state machine diagram (uml.state-machine, 0.21.0): a state's entry, do and exit, a pseudostate's kind (docs/conformance/uml-state-machine.md).",
453
+ "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). The sequence and communication diagrams (uml.sequence, uml.communication, 0.20.0): a lifeline's represents, and stereotypes (actor draws «actor» over its name). The state machine diagram (uml.state-machine, 0.21.0): a state's entry, do and exit, a pseudostate's kind (docs/conformance/uml-state-machine.md). The composite structure diagram (uml.composite-structure, 0.22.0): a collaboration use's collaboration (docs/conformance/uml-composite-structure.md). On any UML element, stereotypes and their tags, checked against the profiles applied to its packages (0.23.0, docs/conformance/uml-profile.md). The profile diagram (uml.profile, 0.23.0): a stereotype's isAbstract. The timing diagram (uml.timing, 0.23.0): a lifeline's states (docs/conformance/uml-timing.md).",
443
454
  "anyOf": [
444
455
  {
445
456
  "type": "object",
446
457
  "properties": {
447
458
  "isAbstract": {
448
- "description": "uml.Class, uml.Operation: true draws the name in italics ({abstract} in a member's text)."
459
+ "description": "uml.Class, uml.Operation: true draws the name in italics ({abstract} in a member's text). uml.Stereotype (0.23.0): true draws its name in italics; an abstract stereotype is applied through a specialization."
449
460
  },
450
461
  "stereotypes": {
451
- "description": "Any UML element: names drawn «in guillemets», as text (['entity'])."
462
+ "description": "Any UML element: names drawn «in guillemets», as text (['entity']). From 0.23.0, a name a profile applied to one of the element's packages defines is that profile's stereotype, checked against it; Profile::name picks one of two applied profiles that define a name; outside every applied profile a name is a keyword, as before."
452
463
  },
453
464
  "classifier": {
454
465
  "description": "uml.InstanceSpecification: the name (or qualified name, sales::Order) of the classifier it is an instance of, as text; drawn name : Classifier, underlined."
@@ -477,6 +488,24 @@
477
488
  "deepHistory",
478
489
  "terminate"
479
490
  ]
491
+ },
492
+ "collaboration": {
493
+ "description": "uml.CollaborationUse: the collaboration it uses, by label, as text; drawn name : Collaboration."
494
+ },
495
+ "tags": {
496
+ "description": "Any UML element (0.23.0): its tagged values, keyed by stereotype (as written in stereotypes, or a required stereotype's name), then by tag name, each value as text: { \"column\": { \"name\": \"placed_at\", \"indexed\": \"true\" } }. Checked against the tag's definition (a uml.Property of the stereotype or of one of its generals): defined, of its type (Boolean, Integer, Real, UnlimitedNatural, an enumeration of the profile; any text otherwise), present when required. Edited in the properties panel on every typed view.",
497
+ "type": "object",
498
+ "additionalProperties": {
499
+ "type": "object",
500
+ "additionalProperties": {}
501
+ }
502
+ },
503
+ "states": {
504
+ "description": "uml.Lifeline in a timing view (0.23.0): its states, top to bottom, as text; each is a row of its timeline. Ignored by the sequence and communication types.",
505
+ "type": "array",
506
+ "items": {
507
+ "type": "string"
508
+ }
480
509
  }
481
510
  }
482
511
  },
@@ -484,7 +513,7 @@
484
513
  ]
485
514
  },
486
515
  "members": {
487
- "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. The use case diagram (uml.use-case, 0.21.0): a use case's extension points (uml.ExtensionPoint, by name). The state machine diagram (uml.state-machine, 0.21.0): a state's regions (uml.Region, by name) and internal transitions (uml.InternalTransition, trigger [guard] / effect).",
516
+ "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. The use case diagram (uml.use-case, 0.21.0): a use case's extension points (uml.ExtensionPoint, by name). The state machine diagram (uml.state-machine, 0.21.0): a state's regions (uml.Region, by name) and internal transitions (uml.InternalTransition, trigger [guard] / effect). The component diagram (uml.component, 0.22.0): a component's or class's ports (uml.Port), drawn on its border. The composite structure diagram (uml.composite-structure, 0.22.0): the subject's parts (uml.Property, name : Type [multiplicity]) and ports (uml.Port); a collaboration's roles (uml.Property). The profile diagram (uml.profile, 0.23.0): a stereotype's tag definitions (uml.Property, name : Type [multiplicity] = default).",
488
517
  "anyOf": [
489
518
  {
490
519
  "type": "array",
@@ -498,7 +527,7 @@
498
527
  "description": "Unique among every node, edge and member of the model."
499
528
  },
500
529
  "type": {
501
- "description": "uml.Property, uml.Operation or uml.EnumerationLiteral in a class diagram; uml.Slot in an object diagram. uml.ExtensionPoint in a use case diagram; uml.Region or uml.InternalTransition in a state machine diagram."
530
+ "description": "uml.Property, uml.Operation or uml.EnumerationLiteral in a class diagram; uml.Slot in an object diagram. uml.ExtensionPoint in a use case diagram; uml.Region or uml.InternalTransition in a state machine diagram. uml.Port on a component or class (component and composite structure diagrams); uml.Property as a part or a role in a composite structure diagram (0.22.0). uml.Property on a stereotype: a tag definition (profile diagram, 0.23.0)."
502
531
  },
503
532
  "label": {
504
533
  "description": "The member's name (a slot's: the feature it gives a value); the rest of its UML text is in props."
@@ -519,7 +548,7 @@
519
548
  "description": "uml.Property, uml.Operation: public, private, protected or package (+ - # ~)."
520
549
  },
521
550
  "valueType": {
522
- "description": "uml.Property, and each of an operation's parameters: its type, as text (Money, String[], Map<K, V>)."
551
+ "description": "uml.Property, and each of an operation's parameters: its type, as text (Money, String[], Map<K, V>). uml.Port: its type, drawn name : Type beside it (0.22.0). A part's or role's: the class or component it is, by label (a part shows that type's ports). A tag definition's (0.23.0): Boolean, Integer, Real, UnlimitedNatural, String, or an enumeration of the profile by label."
523
552
  },
524
553
  "multiplicity": {
525
554
  "description": "uml.Property: 1, *, n..m or n..* (0..1, 1..*), kept as written."
@@ -550,6 +579,13 @@
550
579
  },
551
580
  "effect": {
552
581
  "description": "uml.InternalTransition: its effect, as text, drawn after /."
582
+ },
583
+ "aggregation": {
584
+ "description": "uml.Property as a part (composite structure, 0.22.0): composite (the default) or shared, drawn dashed.",
585
+ "examples": [
586
+ "composite",
587
+ "shared"
588
+ ]
553
589
  }
554
590
  }
555
591
  },
@@ -852,7 +888,7 @@
852
888
  "description": "When the line is used."
853
889
  },
854
890
  "type": {
855
- "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. The sequence diagram (uml.sequence, 0.20.0): uml.Message, inline in its view's edges, in time order. The communication diagram (uml.communication, 0.20.0): uml.Connector and uml.Message, model lines its view lists, connectors first; only the messages' order means anything. The use case diagram (uml.use-case, 0.21.0): uml.Association (an actor and a use case), uml.Include and uml.Extend (from the including or extending use case), uml.Generalization (from the specific to the general) and uml.CommentLink. The activity diagram (uml.activity, 0.21.0): uml.ControlFlow, uml.ObjectFlow and uml.CommentLink. The state machine diagram (uml.state-machine, 0.21.0): uml.Transition and uml.CommentLink. The interaction overview diagram (uml.interaction-overview, 0.21.0): uml.ControlFlow and uml.CommentLink.",
891
+ "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. The sequence diagram (uml.sequence, 0.20.0): uml.Message, inline in its view's edges, in time order. The communication diagram (uml.communication, 0.20.0): uml.Connector and uml.Message, model lines its view lists, connectors first; only the messages' order means anything. The use case diagram (uml.use-case, 0.21.0): uml.Association (an actor and a use case), uml.Include and uml.Extend (from the including or extending use case), uml.Generalization (from the specific to the general) and uml.CommentLink. The activity diagram (uml.activity, 0.21.0): uml.ControlFlow, uml.ObjectFlow and uml.CommentLink. The state machine diagram (uml.state-machine, 0.21.0): uml.Transition and uml.CommentLink. The interaction overview diagram (uml.interaction-overview, 0.21.0): uml.ControlFlow and uml.CommentLink. The component diagram (uml.component, 0.22.0): uml.InterfaceRealization (from a component, a class or a port to the interface: a plain stem to a ball), uml.Usage (to the interface: a socket at a ball, else a dashed «use» arrow), uml.ComponentRealization (from the realizing classifier to the component), uml.Connector (props.kind assembly or delegation; from or to a port), uml.Dependency, uml.Manifestation (from an artifact) and uml.CommentLink. The deployment diagram (uml.deployment, 0.22.0): uml.Deployment (from an artifact or deployment specification to its target), uml.Manifestation, uml.CommunicationPath (between two targets), uml.Dependency and uml.CommentLink. The composite structure diagram (uml.composite-structure, 0.22.0): uml.Connector (between parts and ports; an end through a part keeps props.ends.<end>.part), uml.RoleBinding (from a part to a collaboration use; its label the role) and uml.CommentLink. The profile diagram (uml.profile, 0.23.0): uml.Extension (from a stereotype to a metaclass reference; props.isRequired), uml.ProfileApplication (from a package to a profile), uml.Generalization (between stereotypes) and uml.CommentLink. The timing diagram (uml.timing, 0.23.0): uml.Message, inline in its view's edges (props.sentAt, props.receivedAt).",
856
892
  "examples": [
857
893
  "uml.Association",
858
894
  "uml.Generalization",
@@ -868,20 +904,28 @@
868
904
  "uml.Extend",
869
905
  "uml.ControlFlow",
870
906
  "uml.ObjectFlow",
871
- "uml.Transition"
907
+ "uml.Transition",
908
+ "uml.Usage",
909
+ "uml.ComponentRealization",
910
+ "uml.Manifestation",
911
+ "uml.Deployment",
912
+ "uml.CommunicationPath",
913
+ "uml.RoleBinding",
914
+ "uml.Extension",
915
+ "uml.ProfileApplication"
872
916
  ]
873
917
  },
874
918
  "parent": {
875
919
  "description": "Schema version 2: the element that owns it (a package, a composite state, a lane). In a sequence view: the operand (uml.InteractionOperand) of one of its fragments that holds the message; none at the top level."
876
920
  },
877
921
  "props": {
878
- "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. The sequence and communication diagrams (0.20.0): a message's sort and replyTo. The use case diagram (0.21.0): an extend's extensionPoints and condition. The activity and interaction overview diagrams (0.21.0): a flow's guard (its label is its name). The state machine diagram (0.21.0): a transition's trigger, guard and effect, drawn trigger [guard] / effect.",
922
+ "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. The sequence and communication diagrams (0.20.0): a message's sort and replyTo. The use case diagram (0.21.0): an extend's extensionPoints and condition. The activity and interaction overview diagrams (0.21.0): a flow's guard (its label is its name). The state machine diagram (0.21.0): a transition's trigger, guard and effect, drawn trigger [guard] / effect. The component diagram (0.22.0): a connector's kind (assembly or delegation). The composite structure diagram (0.22.0): a connector end's part (ends.from.part, ends.to.part), UML's partWithPort. The profile diagram (0.23.0): an extension's isRequired. The timing diagram (0.23.0): a message's sort (call, async or reply), replyTo, sentAt and receivedAt.",
879
923
  "anyOf": [
880
924
  {
881
925
  "type": "object",
882
926
  "properties": {
883
927
  "ends": {
884
- "description": "uml.Association: { from, to }, each end's role, multiplicity, aggregation and navigability. uml.Link: each end's role.",
928
+ "description": "uml.Association: { from, to }, each end's role, multiplicity, aggregation and navigability. uml.Link: each end's role. uml.Connector (composite structure, 0.22.0): an end through a part, { part }: the end (from or to) is a port of the part's type, reached through that part.",
885
929
  "anyOf": [
886
930
  {
887
931
  "type": "object",
@@ -903,6 +947,9 @@
903
947
  },
904
948
  "navigable": {
905
949
  "description": "true draws an open arrowhead at this end."
950
+ },
951
+ "part": {
952
+ "description": "uml.Connector (composite structure, 0.22.0): the part (a member id of the subject) this end's port is reached through."
906
953
  }
907
954
  }
908
955
  },
@@ -926,6 +973,9 @@
926
973
  },
927
974
  "navigable": {
928
975
  "description": "true draws an open arrowhead at this end."
976
+ },
977
+ "part": {
978
+ "description": "uml.Connector (composite structure, 0.22.0): the part (a member id of the subject) this end's port is reached through."
929
979
  }
930
980
  }
931
981
  },
@@ -973,6 +1023,24 @@
973
1023
  },
974
1024
  "effect": {
975
1025
  "description": "uml.Transition: its effect, as text, drawn after /."
1026
+ },
1027
+ "kind": {
1028
+ "description": "uml.Connector in a component diagram (0.22.0): assembly (two components or their ports, neither inside the other) or delegation (a component's port and something inside it; an open arrow at its to end). Left out: an assembly.",
1029
+ "examples": [
1030
+ "assembly",
1031
+ "delegation"
1032
+ ]
1033
+ },
1034
+ "isRequired": {
1035
+ "description": "uml.Extension (0.23.0): true marks it {required}: the stereotype is applied to every element of the metaclass in its profile's scope."
1036
+ },
1037
+ "sentAt": {
1038
+ "description": "uml.Message in a timing view (0.23.0): when it is sent, a number in the view's unit.",
1039
+ "type": "number"
1040
+ },
1041
+ "receivedAt": {
1042
+ "description": "uml.Message in a timing view (0.23.0): when it is received, a number in the view's unit, no earlier than sentAt.",
1043
+ "type": "number"
976
1044
  }
977
1045
  }
978
1046
  },
@@ -1254,7 +1322,7 @@
1254
1322
  "description": "Guess a line's kind from its label's words when its edges name none (render() and layout(); the standalone page always does)."
1255
1323
  },
1256
1324
  "diagram": {
1257
- "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), uml.sequence a sequence diagram and uml.communication a communication diagram (0.20.0), uml.use-case a use case diagram, uml.activity an activity diagram, uml.state-machine a state machine diagram and uml.interaction-overview an interaction overview diagram (0.21.0); a type this release does not draw is drawn as plain cards, with a warning.",
1325
+ "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), uml.sequence a sequence diagram and uml.communication a communication diagram (0.20.0), uml.use-case a use case diagram, uml.activity an activity diagram, uml.state-machine a state machine diagram and uml.interaction-overview an interaction overview diagram (0.21.0), uml.component a component diagram, uml.deployment a deployment diagram and uml.composite-structure a composite structure diagram (0.22.0), uml.profile a profile diagram and uml.timing a timing diagram (0.23.0); a type this release does not draw is drawn as plain cards, with a warning.",
1258
1326
  "examples": [
1259
1327
  "uml.class",
1260
1328
  "uml.object",
@@ -1264,11 +1332,16 @@
1264
1332
  "uml.use-case",
1265
1333
  "uml.activity",
1266
1334
  "uml.state-machine",
1267
- "uml.interaction-overview"
1335
+ "uml.interaction-overview",
1336
+ "uml.component",
1337
+ "uml.deployment",
1338
+ "uml.composite-structure",
1339
+ "uml.profile",
1340
+ "uml.timing"
1268
1341
  ]
1269
1342
  },
1270
1343
  "subject": {
1271
- "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."
1344
+ "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. In a composite structure view (0.22.0): the class, component or collaboration whose parts and ports it draws, listed in nodeIds."
1272
1345
  },
1273
1346
  "direction": {
1274
1347
  "description": "Schema version 2: a typed view's layout direction (default right). A map stays left to right. A sequence view is always down; another direction is a warning."
@@ -1277,7 +1350,7 @@
1277
1350
  "description": "Schema version 2: a skin of the diagram type (crowsfoot for er)."
1278
1351
  },
1279
1352
  "present": {
1280
- "description": "Schema version 2: what the layout cannot derive, per element: collapsed compartments, rows shown before +n more.",
1353
+ "description": "Schema version 2: what the layout cannot derive, per element: collapsed compartments, rows shown before +n more. A component view's interface drawn as a ball (as: 'ball'), and a port's side (side); a port on a part, by the part's id: ports.<port>.side (0.22.0). A timing view's lifeline drawn as a value lifeline (as: 'values', 0.23.0).",
1281
1354
  "anyOf": [
1282
1355
  {
1283
1356
  "type": "object",
@@ -1292,6 +1365,25 @@
1292
1365
  },
1293
1366
  "rows": {
1294
1367
  "description": "At most this many rows in each compartment, then \"+k more\"."
1368
+ },
1369
+ "as": {
1370
+ "description": "uml.Interface in a component view (0.22.0): 'ball' draws it as a ball (a 16 px circle); left out, a rectangle with «interface». uml.Lifeline in a timing view (0.23.0): 'values' draws it as a value lifeline, a band crossed at each change with its value inside; left out, a state line.",
1371
+ "examples": [
1372
+ "ball",
1373
+ "values"
1374
+ ]
1375
+ },
1376
+ "side": {
1377
+ "description": "uml.Port (0.22.0): the side of its owner it is drawn on; left out, the side facing most of its lines.",
1378
+ "examples": [
1379
+ "left",
1380
+ "right",
1381
+ "top",
1382
+ "bottom"
1383
+ ]
1384
+ },
1385
+ "ports": {
1386
+ "description": "A part in a composite structure view (0.22.0): by port id, { side }, the side of the part each of its type's ports is drawn on."
1295
1387
  }
1296
1388
  }
1297
1389
  },
@@ -1347,7 +1439,87 @@
1347
1439
  }
1348
1440
  },
1349
1441
  "timeline": {
1350
- "description": "Schema version 2: a timing view's unit, changes and constraints."
1442
+ "description": "Schema version 2: a timing view's ruler (uml.timing, 0.23.0): its unit, its changes and its constraints. Times are numbers in one unit; the scale is derived, never stored.",
1443
+ "anyOf": [
1444
+ {
1445
+ "type": "object",
1446
+ "properties": {
1447
+ "unit": {
1448
+ "description": "The unit drawn after the ruler's last label (ms); optional.",
1449
+ "type": "string"
1450
+ },
1451
+ "changes": {
1452
+ "description": "Each lifeline's state changes, in any order: drawn by at. A change is an element of the model's id space, not a node.",
1453
+ "type": "array",
1454
+ "items": {
1455
+ "type": "object",
1456
+ "required": [
1457
+ "id",
1458
+ "lifeline",
1459
+ "at",
1460
+ "state"
1461
+ ],
1462
+ "properties": {
1463
+ "id": {
1464
+ "type": "string",
1465
+ "description": "Unique among every element of the model."
1466
+ },
1467
+ "lifeline": {
1468
+ "type": "string",
1469
+ "description": "The uml.Lifeline it is on; deleting the lifeline deletes its changes."
1470
+ },
1471
+ "at": {
1472
+ "type": "number",
1473
+ "description": "When it happens, in the view's unit."
1474
+ },
1475
+ "state": {
1476
+ "type": "string",
1477
+ "description": "The state it enters: one of its lifeline's states (a value lifeline: any text)."
1478
+ }
1479
+ }
1480
+ }
1481
+ },
1482
+ "constraints": {
1483
+ "description": "Time and duration constraints on the changes, drawn in a strip under the lane of their first change.",
1484
+ "type": "array",
1485
+ "items": {
1486
+ "type": "object",
1487
+ "required": [
1488
+ "id",
1489
+ "type",
1490
+ "from"
1491
+ ],
1492
+ "properties": {
1493
+ "id": {
1494
+ "type": "string",
1495
+ "description": "Unique among every element of the model."
1496
+ },
1497
+ "type": {
1498
+ "description": "uml.DurationConstraint (from a change to a later one) or uml.TimeConstraint (on one change).",
1499
+ "examples": [
1500
+ "uml.DurationConstraint",
1501
+ "uml.TimeConstraint"
1502
+ ]
1503
+ },
1504
+ "from": {
1505
+ "type": "string",
1506
+ "description": "A change of the view; deleting it deletes the constraint."
1507
+ },
1508
+ "to": {
1509
+ "type": "string",
1510
+ "description": "uml.DurationConstraint: the change it runs to."
1511
+ },
1512
+ "label": {
1513
+ "type": "string",
1514
+ "description": "The constraint's text ({<= 800 ms})."
1515
+ }
1516
+ }
1517
+ }
1518
+ }
1519
+ }
1520
+ },
1521
+ true
1522
+ ]
1351
1523
  }
1352
1524
  }
1353
1525
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "umlimator",
3
- "version": "0.21.0",
3
+ "version": "0.23.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/",