create a default DecrossDfs
This is a fast heuristic decrossings operator that runs a depth first search, incrementally adding nodes to their appropriate layer. It creates a reasonable ordering to potentially be further optimized by other operators.
const layout = sugiyama().decross(decrossDfs()); Copy
const layout = sugiyama().decross(decrossDfs());
create a default DecrossDfs
This is a fast heuristic decrossings operator that runs a depth first search, incrementally adding nodes to their appropriate layer. It creates a reasonable ordering to potentially be further optimized by other operators.