Skip to content

Function: arcLayout() ​

ts
function arcLayout(graph, options?): ArcLayoutResult;

An arc diagram of graph: nodes on one line through the origin, links as half circles. See the module comment for the steps and for what happens to self-links and parallel links.

Parameters ​

ParameterType
graphLayoutGraph
optionsArcLayoutOptions

Returns ​

ArcLayoutResult

Released under the MIT License.