Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion engine-contract.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,14 @@
"y",
"width",
"height",
"collapsed"
"collapsed",
"showAttributes",
"showParts",
"showReferences",
"showPorts",
"showConstraints",
"showItems",
"showActions"
],
"migratorEmitted": true,
"consumers": [
Expand Down
15 changes: 14 additions & 1 deletion libraries/DiagramLayout.sysml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,25 @@ library package DiagramLayout {

metadata def Layout {
doc /* Where the annotated element is drawn: the top-left corner of its
* box, an optional fixed size, and whether its body is folded. */
* box, an optional fixed size, whether its body is folded, and
* which of its compartments are drawn. Each show… switch names
* one compartment kind of the box: attributes, parts (part
* usages), references (ref usages), ports, constraints, items
* (item and flow features) and actions. Unset means drawn;
* false means the modeler suppressed that compartment on this
* symbol, so a renderer omits it rather than clipping it. */
attribute x : ScalarValues::Real;
attribute y : ScalarValues::Real;
attribute width : ScalarValues::Real[0..1];
attribute height : ScalarValues::Real[0..1];
attribute collapsed : ScalarValues::Boolean[0..1];
attribute showAttributes : ScalarValues::Boolean[0..1];
attribute showParts : ScalarValues::Boolean[0..1];
attribute showReferences : ScalarValues::Boolean[0..1];
attribute showPorts : ScalarValues::Boolean[0..1];
attribute showConstraints : ScalarValues::Boolean[0..1];
attribute showItems : ScalarValues::Boolean[0..1];
attribute showActions : ScalarValues::Boolean[0..1];
}

metadata def Route {
Expand Down
Loading