-
Notifications
You must be signed in to change notification settings - Fork 10
1.4. Configuring relationships
abasic edited this page Mar 5, 2020
·
1 revision
The following page explains how to configure relationships between structure types. These are defined within the scope of a structure type within .activities-rc.json
.
"relationships": [{
"type": "prerequisites",
"label": "prerequisites",
"placeholder": "Select prerequisites",
"multiple": true,
"searchable": true,
"allowEmpty": true,
"allowCircularLinks": true,
"allowInsideLineage": true,
}]
Property | Description | Type |
---|---|---|
type | Defines the type of the relationship. | String |
label | Label for the current relationship. | String |
placeholder | Defines the placeholder label for the relationship. | String |
multiple | Defines if a relationship can have multiple associations. True by default. | Boolean |
searchable | Defines if you can search for the list of activities. True by default. | Boolean |
allowEmpty | Defines if the list of relationships can be empty. True by default. | Boolean |
allowCircularLinks | Defines if you can set circular relationships. A can have a relationship with B and B can have a relationship with A. False by default. | Boolean |
allowInsideLineage | Defines if you can set relationships with parent/child activities. False by default. | Boolean |