set the checking for large dag options
Setting to anything but "fast"
will allow running on larger dags, but
the layout may run forever, or crash the vm.
(default: "fast"
)
return the checking of large graphs
set whether to also minimize distance between nodes with common ancestors
This adds more variables and constraints so will take longer, but will likely produce a better layout. It is the same as DecrossOpt#dist.
(default: false
)
get whether the current layout minimizes distance
Generated using TypeDoc
a Twolayer for optimal decrossing of a single target layer
The opt order operator orders the relevant layer to minimize the number of crossings. This is expensive, but not nearly as expensive as optimizing all crossings initially.
Create with twolayerOpt.