2.3.7. The Composition
elementΒΆ
The Composition
element makes the difference between a model unit and a model composite.
..A Composition
element information item is only a child of a ModelComposition
element.
A
Composition
element MUST contain one or moreModel
element
The
Model
element MUST have aname
, anid
and afilename
attributesThe
Model
element MAY have adixplayx
and adisplayy
attributes representing the position of the model in the space.A
Composition
element MUST contain oneLinks
element
The
Links
element MAY be empty in the case wherealgorithm
element is specified.If not, the
Links
element SHOULD have one or moreInputLinks
,InternalLinks
andOutputLinks
elements.
An InputLink is a link between an input of the model composite and an input of a sub-model.
An OutputLink is a link between an output of the model composite and an output of a sub-model.
An InternalLink is a link between an output of a sub-model and an input of a sub-model.
An
InputLink
element MUST contain atarget
and asource
attributes.
The value of a
target
attribute MUST be composed of the name of a sub-model and the name of an input of this sub-model separated by dot.The value of a
source
attribute MUST be the name of an input of the model composite.An
OutputLink
element MUST also contain atarget
and asource
attributes.
The value of a
source
attribute MUST be composed of the name of a sub-model and the name of an output of this sub-model separated by dot.The value of a
target
attribute MUST be the name of an output of the model composite.An
InternalLink
element MUST also contain atarget
and asource
attributes.
The value of a
source
attribute MUST be composed of the name of a sub-model and the name of an output of this sub-model separated by dot.The value of a
target
attribute MUST be composed of the name of a sub-model and the name of an input of this sub-model separated by dot.