Functions
computeLinkLengths
- computeLinkLengths<Link>(links: Link[], w: number, f: function, la: LinkLengthAccessor<Link>): void
-
Type parameters
Parameters
-
links: Link[]
-
w: number
-
f: function
-
-
Parameters
Returns number
-
Returns void
generateDirectedEdgeConstraints
-
Type parameters
Parameters
-
n: number
-
links: Link[]
-
axis: string
-
getNeighbours
- getNeighbours<Link>(links: Link[], la: LinkAccessor<Link>): any
-
Type parameters
Parameters
Returns any
intersectionCount
- intersectionCount(a: number[], b: number[]): number
-
Parameters
Returns number
jaccardLinkLengths
-
Type parameters
Parameters
-
links: Link[]
-
-
Default value w: number = 1
Returns void
stronglyConnectedComponents
- stronglyConnectedComponents<Link>(numVertices: number, edges: Link[], la: LinkAccessor<Link>): number[][]
-
Type parameters
Parameters
-
numVertices: number
-
edges: Link[]
-
Returns number[][]
symmetricDiffLinkLengths
- symmetricDiffLinkLengths<Link>(links: Link[], la: LinkLengthAccessor<Link>, w?: number): void
-
Type parameters
Parameters
-
links: Link[]
-
-
Default value w: number = 1
Returns void
unionCount
- unionCount(a: any, b: any): number
-
Parameters
Returns number
generate separation constraints for all edges unless both their source and sink are in the same strongly connected component
generateDirectedEdgeConstraints