CreateStraightLines(IEnumerable<Point>, IEnumerable<IEnumerable<object>>)

Create straight line edges by connecting the provided points via specified connections.

Declaration Syntax

public virtual IList<object> CreateStraightLines(IEnumerable<Point> pointCollection, IEnumerable<IEnumerable<object>> connectionCollection)

Parameters

pointCollection(IEnumerable<Point>)

A collection of Point.

connectionCollection(IEnumerable<IEnumerable<object>>)

A collection of start and end values, as indices into `pointCollection`, for each edge to be created.