Path
A shape defined by an ordered list of points connecting two other shapes. A path renders the line of a binary connector view, and each of the paths running from the diamond of an n-ary relation view to a member class view.
| Property | Type | Description |
|---|---|---|
type | "Path" | Discriminator. |
points | point[] | At least two points, ordered from the edge of the source shape to the edge of the target shape. |
As a shape, Path also carries the identity properties id, created, and
modified common to all OntoUML elements; it does not carry descriptive properties
such as name or description. Every listed property is
required.
The example below is a straight, horizontal path between two rectangular shapes.
{
"type": "Path",
"id": "path_1",
"points": [
{ "x": 100, "y": 50 },
{ "x": 260, "y": 50 }
],
"created": "2024-09-04",
"modified": null
}