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.
Rest
const layout = sugiyama().decross(decrossTwoLayer().order(twolayerAgg())); Copy
const layout = sugiyama().decross(decrossTwoLayer().order(twolayerAgg()));
Generated using TypeDoc
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.