Skip to main content

Function: autoLayout()

autoLayout(nodeIds, edges): Map<string, Position>

Compute a position for every node id, in the order the nodes are given.

Parameters​

nodeIds​

readonly string[]

edges​

readonly object[]

Returns​

Map<string, Position>