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
10 changes: 9 additions & 1 deletion engine-contract.json
Original file line number Diff line number Diff line change
Expand Up @@ -139,13 +139,21 @@
"name": "DiagramLayout::Route",
"kind": "metadata",
"attributes": [
"points"
"points",
"general"
],
"migratorEmitted": true,
"consumers": [
"internal/semantic/semantics/layout.go"
]
},
{
"name": "DiagramLayout::Route::general",
"kind": "element",
"consumers": [
"internal/semantic/semantics/layout.go"
]
},
{
"name": "DiagramLayout::Route::points",
"kind": "element",
Expand Down
7 changes: 6 additions & 1 deletion libraries/DiagramLayout.sysml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,13 @@ library package DiagramLayout {

metadata def Route {
doc /* The waypoints a connection, transition, succession or flow is
* drawn through, in order, flattened as x0, y0, x1, y1, ... */
* drawn through, in order, flattened as x0, y0, x1, y1, ...
* A specialization has no element of its own to annotate: its
* Route is stated about the specific element and names the
* general it is drawn to, `ref :>> general : Sup;`, one Route
* per general. */
attribute points : ScalarValues::Real[0..*] ordered nonunique;
ref general : Base::Anything[0..1];
}

metadata def Canvas {
Expand Down
Loading