layout method

void layout(
  1. Sankey sankey
)

Computes the layout for the nodes and links using the provided sankey generator.

Implementation

void layout(Sankey sankey) {
  sankey.layout(nodes, links);
}