Sparx Enterprise Architect / SysML:
Can you make composite value types? Like composite blocks?
I wanted to design in a visual way (tree form) data types that are composed of values, where the latter are composed of sub-values, and so on.
This is so that I can do the typing visually in a tree form.
I am not talking about inheritance here.
Example - attached as a PNG image:
Yes you can, such Value Types are called 'structured type' and appear as a ValueType with multiple entries within the value compartment. An example is a 'Position' ValueType which we intend to have an x and y component, our unit of measure is 'm' for meters.
Note that you are not concerned about showing units of measure in step 4 you are safe if you select Type 'Real'. However, 'x:Real' will then appear in the properties compartment of 'Position' ValueType but otherwise it's legitimate.