Any way to get XY of Edge Controls

Oct 5, 2015 at 8:54 AM
Hi there,

Trying to create an application which will export the graph positions.

I'm wanting to somehow read the XY positions of each Edge similar to how you are able to read the X and Y of a Vertex:

Dim vc As VertexControl = graphLayout.GetVertexControl(entity)
dim xval as integer = (vc.GetValue(GraphCanvas.XProperty))

Is there any equivalent for edges? I mean there will be two X and two Y for the start and end of the line, but I can't seem to retrieve these details.

There are details being stored in the PreviousArrangeRect of the Edge control - but that is not accessible.

Thanks in advance.