create a default TwolayerAgg
This two-layer operator is a heuristic that is very fast, but doesn't do a great job at minimizing edge crossings. It works well when combined with twolayerGreedy.
const layout = sugiyama().decross(decrossTwoLayer().order(twolayerAgg())); Copy
const layout = sugiyama().decross(decrossTwoLayer().order(twolayerAgg()));
create a default TwolayerAgg
This two-layer operator is a heuristic that is very fast, but doesn't do a great job at minimizing edge crossings. It works well when combined with twolayerGreedy.