create a default LayeringLongestPath
This Layering operator minimizes the height of the final layout. This often results in very wide and unpleasing graphs, but is very fast. You can set if it goes LayeringLongestPath#topDown.
Rest
const layout = sugiyama().layering(layeringLongestPath().topDown(false)); Copy
const layout = sugiyama().layering(layeringLongestPath().topDown(false));
Generated using TypeDoc
create a default LayeringLongestPath
This Layering operator minimizes the height of the final layout. This often results in very wide and unpleasing graphs, but is very fast. You can set if it goes LayeringLongestPath#topDown.