Represents a UML association relationship between two UML elements. Can display multiplicity and role names.

Members

MemberKindDescription
string SourceMultiplicityPropertyGets or sets the multiplicity at the source end.
string TargetMultiplicityPropertyGets or sets the multiplicity at the target end.
string SourceRolePropertyGets or sets the role name at the source end.
string TargetRolePropertyGets or sets the role name at the target end.
AssociationType AssociationTypePropertyGets or sets the type of association.
bool ShowDataFlowPropertyGets or sets whether to show animated data flow for this association. Useful for associations that represent data flow or communication relationships.
string DataTypePropertyGets or sets the data type for the association (used for data flow visualization).
UMLAssociation() : base(()MethodInitializes a new instance of the UMLAssociation class.
new void Draw(SKCanvas canvas)MethodDraws the association line with UML-specific decorations. The canvas to draw on.

Related