UtilityAssociation constructor
- UtilityAssociationType associationType, {
- required UtilityElement fromElement,
- required UtilityElement toElement,
Creates an association with the specified type between the specified utility elements.
Use this constructor if the association type does not need to specify a different value for:
- UtilityAssociation.isContainmentVisible. The default value is false.
- UtilityAssociation.fractionAlongEdge. The default value is 0.
Parameters:
associationType— The type of association between the UtilityAssociation.fromElement and UtilityAssociation.toElement.fromElement— The first participant in the association.toElement— The second participant in the association.