Class DiagramElement
The basic UI building blocks in a diagram node or connector are diagram elements. To create a node or connector, multiple DiagramElements can be combined.
Inheritance
System.Object
DiagramElement
Inherited Members
Namespace: Syncfusion.Blazor.Diagram
Assembly: Syncfusion.Blazor.dll
Syntax
public class DiagramElement : CommonElement
Remarks
A diagram element is responsible for sizing and positioning all nodes and connectors. For a node, it has more path element and text elements to render. (path element and text element are inherited from diagram element).
Constructors
DiagramElement()
Initializes a new instance of the DiagramElement.
Declaration
public DiagramElement()
DiagramElement(DiagramElement)
Creates a new instance of the DiagramElement from the given DiagramElement.
Declaration
public DiagramElement(DiagramElement src)
Parameters
Type | Name | Description |
---|---|---|
DiagramElement | src | basic unit of diagram. |
Methods
Clone()
Creates a new element that is a copy of the current element.
Declaration
public virtual object Clone()
Returns
Type | Description |
---|---|
System.Object | DiagramElement |