Function laneOpt

  • create a default LaneOpt

    This Lane operator optimally minimizes edge crossings, but can take a long time and may crash on large graphs. The LaneOpt#check option is set to error if the graph is too big. LaneOpt#compressed and LaneOpt#dist slightly tweak the resulting layout.

    Parameters

    • ...args: never[]

    Returns LaneOpt

    const builder = grid().lane(laneOpt().compressed(true));