All docs
V20.2
20.2
20.1
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

DiagramEdge.Points Property

Specifies the edge's key points.

Namespace: DevExpress.Web.ASPxDiagram

Assembly: DevExpress.Web.ASPxDiagram.v20.2.dll

Declaration

public string Points { get; set; }
Public Property Points As String

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