Function twolayerOpt

  • create a default TwolayerOpt

    This is a Twolayer that optimally removes crossings between the two layers. Because this is local, it might not fully remove link crossings that decrossOpt will, but it can run on larger dags and will often be faster.

    Parameters

    • ...args: never[]

    Returns TwolayerOpt

    const layout = sugiyama().decross(decrossTwoLayer().order(twolayerOpt()));