Skip to main content

DiagramEdge.Points Property

Specifies the edge’s key points.

Namespace: DevExpress.Web.ASPxDiagram

Assembly: DevExpress.Web.ASPxDiagram.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

public string Points { get; set; }

Property Value

Type Description
String

A string that contains coordinates of points. Coordinates are measured in Units.

Remarks

Points must be specified in the following format: "x1,y1 x2,y2 x3,y3 ...".

protected void Diagram_EdgeDataBound(object sender, DevExpress.Web.ASPxDiagram.DiagramEdgeEventArgs e) {
     e.Edge.Points = "1.5,1.125 1.75,0.875 2.5,0.875";
     ...

Key points specified by the Points property are ignored when the SettingsAutoLayout.Type property is set to Layered or Tree.

If an edge is connected to nodes, the control calculates coordinates of connection points and the first and last specified points are ignored.

See Also