Class CircularEdge

This holds CircularLayout-specific information about Links.

Hierarchy

Index

Constructor methods

Properties

Methods

Constructor methods

constructor(): CircularEdge

Returns

CircularEdge

Properties

public fromVertex: LayoutVertex

Gets or sets the LayoutVertex that this edge comes from.

public link: Link

Gets or sets the Link associated with this edge, if any.

public network: LayoutNetwork

Gets or sets the LayoutNetwork that owns this edge.

public toVertex: LayoutVertex

Gets or sets the LayoutVertex that this edge goes to.

Methods

public commit(): any

Commits the route of this edge to the corresponding Link, if any.

Returns

any

public getOtherVertex(v: LayoutVertex): any

Returns the edge's vertex at the other of this edge from the given vertex.

Parameters

Returns

any