How To Create a Directional Link

22 May 2018 / 1 minute to read

Links can be provided with end point decorators to convey the direction. The following code snippet shows how to create a directional link by adding a ‘Filled Arrow’ end point visual to the head port edge of the link.

// Create a directional link.

Link link = new Link(pts);

link.HeadDecorator.DecoratorShape = DecoratorShape.Filled45Arrow;
' Create a directional link.

Dim link As New Link(pts)

link.HeadDecorator.DecoratorShape = DecoratorShape.Filled45Arrow