create a default LaneGreedy
This Lane operator doesn't completely remove edge crossing, but is much faster than laneOpt. This lane operator has three different settings that allow for alteration: LaneGreedy#bidirectional, LaneGreedy#compressed, and LaneGreedy#topDown.
const layout = grid().lane(laneGreedy().compressed(false)); Copy
const layout = grid().lane(laneGreedy().compressed(false));
create a default LaneGreedy
This Lane operator doesn't completely remove edge crossing, but is much faster than laneOpt. This lane operator has three different settings that allow for alteration: LaneGreedy#bidirectional, LaneGreedy#compressed, and LaneGreedy#topDown.