Enum Relationship
Specifies the types of UML relationship connectors that can be rendered between classifiers.
Namespace: Syncfusion.Blazor.Diagram
Assembly: Syncfusion.Blazor.Diagram.dll
Syntax
public enum Relationship
Remarks
Each value determines the visual representation (line style, arrowhead, or diamond) and the semantic meaning of the relationship in the UML diagram.
Fields
| Name | Description |
|---|---|
| Aggregation | Represents an aggregation relationship between classifiers. Aggregation indicates a "whole part" relationship where the part can exist independently of the whole. It is visually represented using a hollow diamond at the aggregate end. |
| Association | Association defines a structural connection between two classifiers, optionally including directionality and multiplicity. It is rendered as a solid line. |
| Composition | Composition is a strong form of aggregation where the lifetime of the part is tightlybound to the whole. It is visually represented using a filled diamond at the composite end. |
| Dependency | A dependency indicates that one classifier relies on another in some way, such as using it as a parameter or invoking its methods. It is drawn as a dashed line with an open arrow. |
| Inheritance | Represents an inheritance (generalization) relationship. This indicates that a classifier derives from another, inheriting its structure and behavior. It is rendered as a solid line with a hollow triangle arrow pointing to the base classifier. |
| Realization | This relationship indicates that a classifier (typically a class) implements the behavior defined by another classifier (typically an interface). It is rendered as a dashed line with a hollow triangular arrow. |